.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.disabled {
    cursor: not-allowed !important;
    background-color: #C6C6C6 !important;
    box-shadow: none !important;
}

.action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.action .btn {
    width: 150px;
    height: 40px;
    font-size: 18px;
    letter-spacing: 1.6px;
}

.action .btn+.btn {
    margin-left: 8px;
}

.small {
    color: red;
}

.item_wrap .item_header {
    width: 100%;
    height: 40px;
    background: #285ee4;
    border-radius: 15px 15px 0 0;
}

.item_wrap .item_body {
    width: 100%;
    background: #fff;
    padding: 24px 8px;
    margin-bottom: 24px;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
    position: relative;
}

.item_main .catch_title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
    color: #3d3d3d;
}

.annotation-title {
    margin-bottom: 16px;
    display: flex;
}

.input_control {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 8px;
}

/* 共用input */

.input_group input[readonly] {
    background: #E7E6E6;
}

.input_group input[disabled] {
    cursor: not-allowed;
}

.input_group textarea[readonly],
.input_group textarea[disabled] {
    background: #E7E6E6;
    cursor: not-allowed;
}

.select-selected-readonly {
    background: #E7E6E6;
    cursor: not-allowed;
    pointer-events: none;
}

.input_group {
    width: 100%;
    position: relative;
    margin-bottom: 24px;
    text-align-last: left;
}

.input_group:last-child {
    margin-bottom: 0;
}

.input_group label {
    display: block;
    margin-bottom: 8px;
}

.input_group input {
    width: 100%;
    height: 36px;
    padding: 4px 12px;
    box-sizing: border-box;
    border: 1px solid #c6c6c6;
    border-radius: 8px;
    background: #fff;
    font-size: 18px;
    text-align: left;
    color: #3d3d3d;
    outline: none;
}

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

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

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

textarea[id="description"] {
    width: 100%;
    min-height: 36px;
    padding: 4px 12px;
    box-sizing: border-box;
    border: 1px solid #c6c6c6;
    border-radius: 8px;
    background: #fff;
    font-size: 18px;
    text-align: left;
    color: #3d3d3d;
    outline: none;
    /* overflow-y: auto; */
    resize: vertical;
    box-sizing: border-box;
} 

textarea[id="title"] {
    width: 100%;
    min-height: 36px;
    padding: 4px 12px;
    box-sizing: border-box;
    border: 1px solid #c6c6c6;
    border-radius: 8px;
    background: #fff;
    font-size: 18px;
    text-align: left;
    color: #3d3d3d;
    outline: none;
    /* overflow-y: auto; */
    resize: vertical;
    box-sizing: border-box;
} 

.select-items div,
.select-selected {
    height: 36px;
    border: 1px solid #c6c6c6;
}

.input_group.error .select-selected {
    border: 2px solid red;
}

/*圖片上傳按鈕*/
.hitem a {
    width: 30px;
    height: 30px;
}

.hitem a img {
    width: 25px;
    height: 25px;
    display: block;  /* 確保圖標正確顯示 */
}

input[type=file] {
    display: none;
}

/*圖片上傳按鈕*/
.upload_outter {
    width: 100%;
    display: flex;
}

.upload_outter .upload {
    margin-right: 10px;
    padding-top: 12px;
    display: block;
    transform: scale(1);
    transition: .3s
}

.upload_outter .upload>a {
    height: 72px;
    width: 72px;
    display: block;
    background-image: url(/static/v2/images/upx_b.png);
    /* background-size: 77px auto; */
    background-position: center;
    background-repeat: no-repeat;
}

.upload_outter .upload>a img {
    display: none;
}

.upload_outter .upload:active {
    transform: scale(.98);
}

.upload_outter .upload img {
    height: 66px;
}

.upload_outter .mcs-horizontal-pics {
    max-width: 215px;
    margin-left: 0;
}

.upload_outter .mcs-horizontal-pics .hitem>img {
    width: 66px;
    height: 66px;
    object-fit: cover;
}

.upload_outter .mCSB_horizontal.mCSB_inside>.mCSB_container {
    padding-bottom: 16px;
}


.amount_unit {
    position: relative;
}

.amount_unit::after {
    content: '元';
    /* content: '\u5143'; */
    padding-left: 8px;
}

.loading_type .lottie-dataimport {
    margin-top: -16px;
}

.loading_type span {
    margin-top: -16px;
}

@media screen and (max-width:450px) {
    .action {
        flex-direction: column-reverse;
    }

    .action .btn {
        width: 100%;
    }

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