.title{
    margin-bottom: 18px;
}
.label{
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}
input,
select{
    margin-bottom: 13px;
}
input[name="Location_Name"]{
    margin-bottom: 5px !important;
}
input[name="performance_date"]{
    width: 100% !important;
}
.s_font{
    font-size: 12px;
    margin-bottom: 6px;
}
.reset{
    margin-bottom: 0 !important;
}
textarea{
    height: 268px;
}
input[name="total_Price"],
input[name="Prepayment"],
input[name="Security_Deposit"]{
    width: 87.5%;
}
.cny > div{
    justify-content: space-between;
    align-items: baseline;
}
.trade_btn,
.make_trade,
.cancel_btn{
    height: 40px;
}
.check_contract .check_contract_btn{
    margin-bottom: 18px;
}
.red_btn{
    background: #E05A5A;
}
.deadline{
    width: 192px;
}
/* 날짜 선택 */
.datepicker{
    display: flex;
    gap: 5px;
    align-items: baseline;
}
.datepicker img{
    width: 25px;
    position: absolute;
    top: 12px;
    right: 12px;
}
.datepicker .picker{
    position: relative;
}
.none{
    display: initial !important;
}
/* 이미지 업로드 박스 */
.thumbnail_upload{
    width: 138px;
    height: 138px;
    border: 1px solid #F1F6F8;
    border-radius: 5px;
    position: relative;
    cursor: pointer;
    margin: 10px 0 13px;
    object-fit: cover;
}
.plus_icon{
    width: 61px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.hover_overlay {
    background: #00000079;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

/* 파일 인풋 숨김 */
#thumbnail_input {
    display: none;
}

/* 이미지 미리보기 */
#thumbnail_preview {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}
.add_estimate button,
.artists_btn,
.check_contract_btn{
    height: 40px !important;
}
.modify_artist input::placeholder,
.modify_artist select,
.modify_artist textarea::placeholder{
    color: initial;
}

/* 체크박스 커스텀 */
.checkbox {
    display: none;
}
.check_label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 2px solid #0a318c;
    border-radius: 2px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}
.check_label .icon {
    color: #0a318c;
    font-size: 17px;
    font-weight: bold;
}
.check_label input:checked ~ .icon {
    color: #fff;
}
.check_label:has(input:checked) {
    background-color: #0a318c;
}

/* 팝업 */
.trade_bgdrop{
    z-index: 2;
    background: #a1a1a1ab;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: none;
}
.trade_popup{
    max-width: 455px;
    border-radius: 5px;
    display: none;
    position: relative;
    z-index: 3;
    width: 90%;
    background: #fff;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.trade_popup .x_btn{
    width: 30px;
    height: 25px;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}
.trade_popup .title{
    font-size: 18px;
}
.trade_popup > b{
    margin-bottom: 5px;
    text-align: center;
}
.trade_popup > p{
    margin-bottom: 24px;
    text-align: center;
}
.trade_wrap{
    gap: 15px;
}