/* 260413 AI 시안으로 */

.filter_wrap .location_btn {background: none;}
#reservation_location {width: 100%; display: block;}
.main-cover .quick-sear .mid-Qsr button[type="button"], .reser-cover .quick-sear .mid-Qsr button[type="button"] {background-image: none; width: 100%; padding: 4px 0; font-size: 14px;}

.result_date, .select_date {display: none;}
.result_date.on, .select_date.on {display: block;}
.filter_wrap .location_btn, .filter_wrap .select_date  {color: #bdc3c7; font-weight: 600;}

.bluebox {background: #f1f5f9; border-radius: 8px; padding: 15px; font-size: 15px; box-sizing: border-box; margin-bottom: 20px;}
.bluebox .top {color: #54c3f1; font-weight: bold; margin-bottom: 10px;}
.bluebox .bot {color: #7f8c8d;}

.new_pop .white_bg .pop_text .opt {width: 100%; display: block; font-weight: bold; margin-bottom: 10px; font-size: 15px;}
.new_pop .white_bg .pop_text .select_wrap {width: 100%; display: block;}
.new_pop .white_bg .pop_text .select_wrap .gray_box:first-child {width: calc((100% - 4px) * 0.4);}
.new_pop .white_bg .pop_text .select_wrap .gray_box:nth-child(2) {width: calc((100% - 4px) * 0.6);}

.loc-divider { border-top: 1px dashed #bdc3c7; margin: 30px 0; position: relative; margin-bottom: 20px;}
.loc-divider span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: white; padding: 0 10px; font-size: 15px; color: #7f8c8d; font-weight: bold;}

#reservation_address_return {margin-bottom: 10px;}
#reservation_address_return .add_top {margin-bottom: 10px; font-size: 0; white-space: nowrap;}
#reservation_address_return .add_btn {background: #54C3F1; color: #fff; font-size: 14px; border: none; border-radius: 4px; padding: 0 10px; font-weight: bold; height: 40px; width: 108px; white-space: nowrap;}
#reservation_address_return .input {width: 100%;}
#reservation_address_return input[type="text"] {border: 1px solid #ddd; height: 40px; border-radius: 4px; padding-left: 16px; font-size: 14px;} 
#reservation_address_return .inputread {width: calc(100% - 118px); margin-right: 10px;}

#reservation_address_return .sub_wrap {font-size: 14px; margin-bottom: 20px; color: #555;}
#reservation_address_return .sub_wrap p {margin-bottom: 4px; font-weight: 500; line-height: 1.4;}
#reservation_address_return .sub_wrap p:last-child {margin-bottom: 0;}
#reservation_address_return .sub_wrap p.red {color: #D95151;}

#reservation_address_return .price {margin-top: 10px; font-weight: bold; display: block; padding: 10px 16px; box-sizing: border-box; color: #555; background: #f5f5f5; font-size: 16px;}

.main-cover .quick-sear .mid-Qsr button[type="button"].indi,
.reser-cover .quick-sear .mid-Qsr button[type="button"].indi {padding: 4px!important; background-image: none;}

@media (max-width: 500px) {
    #reservation_address_return input[type="text"] {padding-left: 10px}
    #reservation_address_return .price {padding: 10px;}
    #reservation_address_return .add_btn {font-size: 14px;}
    .new_pop .white_bg .pop_text .select_wrap .gray_box .selectbox {padding-left: 6px; font-size: 12px; background-size: 16px}
}

.new_pop .white_bg {max-height: 90vh;}
.new_pop .white_bg .scroll_area {overflow-y: scroll; -ms-overflow-style: none; scrollbar-width: none; max-height: 64vh;}
.new_pop .white_bg .scroll_area::-webkit-scrollbar {display: none;}
.new_pop .btn_area {padding-top: 20px;}
.new_pop .white_bg .pop_text {margin-bottom: 0;}
#reservation_address .sub_wrap, #reservation_address_return .sub_wrap {margin-top: 10px;}


/* 모달 공통 */
.modal-overlay { display: none; position: fixed; z-index: 999; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); align-items: center; justify-content: center; padding: 15px;}
.modal-content { background: white; border-radius: 12px; padding: 25px; width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto;}
.modal-title { font-size: 16px; font-weight: bold; color: #2c3e50; border-bottom: 2px solid #ecf0f1; padding-bottom: 10px; margin-bottom: 20px; display: flex; justify-content: space-between; }
.close-btn { cursor: pointer; color: #95a5a6; font-size: 20px; background: none; border: none; }
.loc-input-wrap { display: flex; gap: 8px; margin-bottom: 10px; }
.loc-input { flex: 1; padding: 12px; border: 1px solid #bdc3c7; border-radius: 6px; font-size: 13px; outline: none; }
.btn-search-addr { background: #55b2e4; color: white; border: none; padding: 0 15px; border-radius: 6px; font-weight: bold; cursor: pointer; font-size: 12px; white-space: nowrap; }
.btn-confirm-addr { background: #55b2e4; color: white; border: none; width: 100%; padding: 14px; border-radius: 6px; font-size: 15px; font-weight: bold; cursor: pointer; margin-top: 10px; }
.date-time-row { display: flex; align-items: center; gap: 8px; margin-bottom: 15px; }
.date-time-row input[type="date"], .date-time-row select { flex: 1; padding: 10px; border: 1px solid #bdc3c7; border-radius: 6px; font-size: 13px; color: #2c3e50; font-weight: bold; outline: none; }
.op-hours-notice { font-size: 11px; color: #e74c3c; background: #fdf2e9; padding: 10px; border-radius: 6px; margin-bottom: 20px; line-height: 1.4; }
.btn-confirm-time { background: #54c3f1; color: white; border: none; width: 100%; padding: 12px; border-radius: 6px; font-size: 14px; font-weight: bold; cursor: pointer; margin-top:10px;}
.loc-divider { border-top: 1px dashed #bdc3c7; margin: 20px 0; position: relative; }
.loc-divider span { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: white; padding: 0 10px; font-size: 11px; color: #7f8c8d; font-weight: bold; }

.org_title {color: #e74c3c; font-size: 14px; margin-bottom: 10px; font-weight: 600;}
.org_text {color: #e74c3c; font-size: 12px;}

.ins-card { border: 1px solid #bdc3c7; border-radius: 8px; padding: 15px; margin-bottom: 10px; cursor: pointer; display: flex; flex-direction: column; gap: 5px; }
.ins-card.active { border-color: #54c3f1; background: #ebf5fb; }
.ins-header { display: flex; justify-content: space-between; font-weight: bold; font-size: 15px; color: #2c3e50; align-items: center; }
.ins-desc { display: flex; justify-content: space-between; font-size: 14px; color: #7f8c8d; margin-top: 8px;}
.ins-card input[type="radio"] { margin-right: 8px; accent-color: #54c3f1;}

.ins-card input[type="radio"] {width: 16px; height: 16px; appearance: auto; background: none;}
.ins-card input[type="radio"]:checked {background: none;}

.login-nudge-banner { background: #ebf5fb; border: 1px solid #54c3f1; color: #54c3f1; padding: 15px; border-radius: 8px; font-size: 14px; font-weight: bold; display: flex; flex-direction: column; gap: 5px; cursor: pointer; margin-bottom: 15px;}
@media(min-width: 768px) { .login-nudge-banner { flex-direction: row; justify-content: space-between; align-items: center; } }


/* 카카오톡 하단 배너 버튼 */
.kakao-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background-color: #FEE500;
    color: #3A1D1D;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    cursor: pointer;
    z-index: 6;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -0.5px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.kakao-banner:hover {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.kakao-banner-icon { width: 24px; height: 24px; margin-right: 10px; }

@media(max-width: 768px) {.kakao-banner {bottom: 70px}}


@media(max-width: 768px) {

}



.nav-links { display: flex; gap: 15px; font-weight: bold; font-size: 14px; align-items: center; }
.nav-links span { cursor: pointer; color: #34495e; }
.nav-links span.active { color: #54c3f1; }

/* .container { max-width: 600px; margin: 0 auto; padding: 20px;} */

/* 공통 박스 패널 */
.box-panel { background: white; border-radius: 12px; padding: 20px; border: 1px solid #ecf0f1; box-shadow: 0 4px 15px rgba(0,0,0,0.03); margin-bottom: 20px; }
.section-title { font-size: 18px; font-weight: 900; color: #2c3e50; margin-bottom: 15px;
    /* display: flex; justify-content: space-between; align-items: center; */
}

/* 상태 트래커 */
.status-tracker { display: flex; justify-content: space-between; margin-bottom: 25px; position: relative; padding: 0 10px; }
.status-tracker::before { content: ''; position: absolute; top: 15px; left: 15%; right: 15%; height: 2px; background: #ecf0f1; z-index: 1; }
.status-step { flex: 1; text-align: center; position: relative; z-index: 2; font-size: 11px; font-weight: bold; color: #bdc3c7; transition: 0.3s; }
.status-dot { width: 30px; height: 30px; background: #ecf0f1; border-radius: 50%; margin: 0 auto 8px auto; display: flex; justify-content: center; align-items: center; font-size: 14px; color: white; border: 3px solid white; box-shadow: 0 0 0 2px #ecf0f1; transition: 0.3s; }

.status-step.done .status-dot { background: #54c3f1; box-shadow: 0 0 0 2px #54c3f1; }
.status-step.done { color: #54c3f1; }
.status-step.active .status-dot { background: #54c3f1; box-shadow: 0 0 0 2px #54c3f1; animation: pulse 2s infinite; }
.status-step.active { color: #54c3f1; }

.status-step.in-use-active .status-dot { background: #54c3f1; box-shadow: 0 0 0 2px #54c3f1; animation: pulse 2s infinite; }
.status-step.in-use-active { color: #27ae60; }

@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }

/* 상태별 안내 메시지 박스 */
.notice-text { font-size: 13px; color: #2c3e50; background: #f8fafc; border: 1px solid #e2e8f0; padding: 15px; border-radius: 8px; line-height: 1.6; margin-bottom: 10px; }
.usage-notice { background: #ffffff; border: 1px solid #e2e8f0; padding: 15px; border-radius: 8px; margin-bottom: 10px; box-shadow: 0 2px 5px rgba(0,0,0,0.02); display: none; }
.usage-notice h4 { color: #54c3f1; font-size: 16px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.usage-notice h4 .check-icon { background: #54c3f1; color: white; padding: 2px 4px; border-radius: 4px; font-size: 12px; }
.usage-notice p { font-size: 13px; color: #34495e; line-height: 1.5; }

/* 예약번호 강조 뱃지 */
.reservation-badge { font-size: 12px; color: #54c3f1; font-weight: bold; background: #ebf5fb; padding: 5px 10px; border-radius: 6px; border: 1px solid #bce0fd; }

/* 차량 정보 카드 */
.car-info-card { display: flex; gap: 15px; align-items: center; margin-bottom: 20px; }
.car-img { width: 100px; height: 70px; object-fit: contain; border-radius: 6px; background: #f8fafc; border: 1px solid #ecf0f1; }
.car-text .name { font-size: 18px; font-weight: 900; }
.car-text .desc { font-size: 12px; color: #7f8c8d; margin-top: 3px; margin-bottom: 5px; }
.car-text .badges { display: flex; gap: 5px; }
.car-text .fuel-type { background: #e74c3c; color: white; padding: 2px 6px; border-radius: 4px; font-size: 12px; font-weight: bold; }
.car-text .plate { background: #34495e; color: white; padding: 2px 6px; border-radius: 4px; font-size: 12px; }

/* 대여 상세 정보 */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; border-top: 1px dashed #f1f5f9; padding-top: 15px; }
.info-item label { display: block; font-size: 11px; color: #95a5a6; margin-bottom: 2px; }
.info-item span { font-size: 14px; font-weight: bold; color: #2c3e50; }

/* 기사 업로드 사진 갤러리 */
.photo-gallery { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 20px; }
.photo-gallery img { width: 120px; height: 90px; object-fit: cover; border-radius: 8px; border: 1px solid #bdc3c7; cursor: pointer; }

/* 버튼류 */
.btn-primary { background: #54c3f1; color: white; border: none; width: 100%; padding: 16px; border-radius: 8px; font-size: 16px; font-weight: bold; cursor: pointer; transition: 0.2s; }
.btn-primary:active { background: #54c3f1; }

/* 컨트롤 버튼 그룹 (이용중 상태) */
.control-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; display: none; }
.btn { border: none; border-radius: 8px; padding: 16px; font-size: 15px; font-weight: bold; cursor: pointer; transition: 0.2s; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.btn-extend { background: #54c3f1; color: white; }
.btn-return { background: #e74c3c; color: white; }
.btn-contract { background: white; color: #7f8c8d; border: 1px solid #bdc3c7; grid-column: span 2; margin-top: 5px; padding: 12px; font-size: 13px; }
.btn-icon { font-size: 20px; }

/* 서명 패드 */
.signature-pad-wrap { border: 2px dashed #bdc3c7; border-radius: 8px; background: #f8fafc; margin-bottom: 15px; position: relative; }
canvas#signaturePad { width: 100%; height: 200px; touch-action: none; }
.sign-clear { position: absolute; top: 10px; right: 10px; background: #95a5a6; color: white; border: none; padding: 5px 10px; border-radius: 4px; font-size: 11px; cursor: pointer; }

/* 카카오톡 최하단 배너 */
.kakao-bottom-banner { position: fixed; bottom: 0; left: 0; width: 100%; background-color: #FEE500; color: #3A1D1D; display: flex; justify-content: center; align-items: center; padding: 15px; z-index: 1000; font-size: 15px; font-weight: 900; cursor: pointer; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); }
.kakao-top-icon { width: 22px; height: 22px; margin-right: 8px; }

/* 모달 공통 */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 2000; align-items: flex-end; justify-content: center; }
.modal-overlay.center { align-items: center; padding: 20px; }
.modal-sheet { background: white; width: 100%; max-width: 600px; border-top-left-radius: 20px; border-top-right-radius: 20px; padding: 30px 20px; max-height: 90vh; overflow-y: auto; position: relative; }
.modal-sheet.rounded { border-radius: 12px; }
.modal-title { font-size: 18px; font-weight: 900; margin-bottom: 20px; text-align: center; color: #2c3e50; }
.close-modal-btn { width: 100%; background: #ecf0f1; color: #7f8c8d; border: none; padding: 15px; border-radius: 8px; margin-top: 15px; font-weight: bold; font-size: 15px; cursor: pointer; }
.close-icon-top { position: absolute; top: 20px; right: 20px; font-size: 24px; color: #95a5a6; background: none; border: none; cursor: pointer; }

/* 연장/반납 모달 내부 UI */
.photo-upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 25px; }
.photo-upload-box { border: 1px dashed #bdc3c7; background: #f8fafc; padding: 12px 10px; text-align: center; border-radius: 8px; font-size: 13px; color: #34495e; font-weight: bold; cursor: pointer; }
.photo-upload-box span.sub { display:block; font-size: 11px; color: #95a5a6; font-weight: normal; margin-top:3px; }
.photo-upload-box.full { grid-column: span 2; background: #ebf5fb; border-color: #54c3f1; color: #54c3f1; }

.extension-rules { background: #fdf2e9; border: 1px solid #fad7a1; padding: 15px; border-radius: 8px; margin-bottom: 20px; }
.extension-rules h5 { color: #d35400; font-size: 14px; margin-bottom: 8px; display: flex; align-items: center; gap: 5px; }
.extension-rules ul { padding-left: 18px; margin: 0; font-size: 13px; color: #34495e; line-height: 1.5; }
.extension-rules b { color: #c0392b; }

.extend-scroll-list { max-height: 250px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; padding-right: 5px; }
.extend-scroll-list::-webkit-scrollbar { width: 4px; }
.extend-scroll-list::-webkit-scrollbar-thumb { background-color: #bdc3c7; border-radius: 4px; }
.extend-option { padding: 16px 20px; border: 1px solid #e2e8f0; border-radius: 8px; background: white; font-size: 15px; font-weight: bold; color: #2c3e50; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.extend-option .price { color: #54c3f1; font-size: 14px; }
.extend-option .cost-hint { font-size: 13px; color: #7f8c8d; margin-left: 8px; font-weight: normal; }

.location-input-wrap { border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; margin-bottom: 20px; }
.location-address { background: #f8fafc; padding: 15px; text-align: center; font-size: 13px; color: #34495e; border-bottom: 1px solid #e2e8f0; }
.location-input { width: 100%; border: none; padding: 15px; font-size: 14px; color: #2c3e50; outline: none; }
.location-input::placeholder { color: #bdc3c7; }


