.item_header {
    width: 100%;
    height: 36px;
    padding: 0 24px;
    background: #658ae6;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
}

.item_header>span {
    color: #fff;
    font-size: 20px;
}

/* form_modal */
.form_modal.modal {
    padding: 0 0;
    min-width: 311px;
    max-width: 343px;
}

.form_modal .item_header {
    background: #285ee4;
    border-radius: 8px 8px 0 0;
}

.form_modal .item_header>span {
    color: #fff;
    font-size: 20px;
}

.form_modal .input_group .annotation-title{
    margin-bottom: 8px;
}

.form_modal .input_group label {
    margin-bottom: 0px;
}

.form_modal .input_group.fn_note>label {
    display: block;
}

.form_modal .input_group textarea {
    width: 100%;
    padding: 4px 12px;
    border: 1px solid #c6c6c6;
    border-radius: 8px;
    color: #3d3d3d;
    outline: none;
    font-size: 18px;
    min-height: 36px;
    resize: vertical;
}

.form_modal .input_group.error input {
    border: 2px solid red;
}

.form_modal .input_group .error_message {
    color: red;
    font-size: 14px;
    position: absolute;
    bottom: -17px;
    right: 8px;
    display: none;
}

.form_modal .input_group.error .error_message {
    display: block;
}

/* form_modal.type2 */
.form_modal.type2 .small {
    color: red;
}

.modal.type2 .message {
    color: #3d3d3d;
  }

.form_modal.type2 .item_header{
    padding: 0 16px;
}

.form_modal.type2 .item_body {
    padding: 24px 16px;
}

.modal.type2 .action {
    width: 100%;
    flex-direction: column-reverse;
}

.modal.type2 .action .btn {
    width: 100%;
}

.modal.type2 .action .btn+.btn {
    margin-left: 0px;
    margin-bottom: 16px;
}

.form_modal .message>p.text {
    font-size: 18px;
    color: #000000;
    line-height: 1.33;
    font-weight: 300;
}

.form_modal .message>a {
    display: flex;
    justify-content: end;
    text-decoration: underline;
    font-size: 14px;
}

.modal.type2 label input[type="file"] {
    display: none;
}


.input_group label.ordersfile_btn {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 新增檔案名稱 */
.ordersfile_name {
    display: inline-block;
    color: #000;
    font-size: 16px;
    position: relative;
}

.ordersfile_name>span {
    display: inline-block;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.remove-file-btn {
    position: absolute;
    top: 4px;
    right: -24px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    border: none;
    background: url('/static/v2/images/cross_x.svg') no-repeat center center;
    background-size: contain;
}