@charset "utf-8";

.reservation.inner.reservation-modern {
    --r-border: #e2e3e5;
    --r-text: #30343b;
    --r-muted: #666b72;
    --r-surface: #f5f5f4;
    --r-primary: #1c2c50;
    width: calc(100% - 80px);
    max-width: 1440px;
    margin: 0 auto 140px;
    color: var(--r-text);
    font-family: "Pretendard", "Noto Sans KR", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    box-sizing: border-box;
}
.reservation-modern *,
.reservation-modern *::before,
.reservation-modern *::after {box-sizing: border-box;}
.reservation-modern input,
.reservation-modern select,
.reservation-modern button {font-family: inherit;}
.reservation-modern input:focus,
.reservation-modern select:focus {border-color: var(--r-primary); outline: none; box-shadow: 0 0 0 3px rgba(28,44,80,.08);}
.reservation-modern input[type="button"] {-webkit-appearance: none; appearance: none; cursor: pointer;}
.reservation-modern .hide {display: none;}

/* 신청 / 조회 탭 */
.reservation-modern .tab_content {width: 100%; padding: 0; background: #fff;}
.reservation-modern .btns {display: flex; width: 100%; margin: 0 0 60px; padding: 0; list-style: none;}
.reservation-modern .btns li {display: flex; flex: 1 1 50%; align-items: center; justify-content: center; min-width: 0; min-height: 56px; padding: 14px 20px; background: #f5f5f4; color: #575b62; text-align: center; cursor: pointer; transition: background-color .2s, color .2s;}
.reservation-modern .btns li .txt {font-size: 16px; font-weight: 500; line-height: 1.5; letter-spacing: -.02em;}
.reservation-modern .btns li.active {background: #2b3341; color: #fff;}
.reservation-modern .btns li.active .txt {font-weight: 600;}
.reservation-modern .btns li:hover {background: #bd6858; color: #fff;}
.reservation-modern .btn_container,
.reservation-modern .btn_content {width: 100%; margin: 0; padding: 0;}
.reservation-modern .rsv_empty {padding: 60px 24px; border: 1px solid var(--r-border); border-radius: 4px; background: #f7f7f6; color: var(--r-muted); text-align: center;}

/* 예약 안내 */
.reservation-modern .rsv_intro {margin: 0 0 70px; padding: 0;}
.reservation-modern .rsv_intro_head {margin-bottom: 28px;}
.reservation-modern .rsv_intro_eyebrow {margin: 0 0 10px; color: #8b8f95; font-size: 12px; font-weight: 500; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase;}
.reservation-modern .rsv_intro_title {margin: 0 0 12px; color: #222831; font-size: 28px; font-weight: 600; line-height: 1.4; letter-spacing: -.04em;}
.reservation-modern .rsv_intro_desc {margin: 0; color: var(--r-muted); font-size: 15px; line-height: 1.75; word-break: keep-all;}
.reservation-modern .rsv_intro_meta {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; border-top: 2px solid var(--r-primary); list-style: none;}
.reservation-modern .rsv_intro_meta li {min-width: 0; padding: 24px 28px; border-bottom: 1px solid var(--r-border); background: #f7f7f6;}
.reservation-modern .rsv_intro_meta li:nth-child(odd) {border-right: 1px solid var(--r-border);}
.reservation-modern .rsv_intro_meta .label {display: block; margin-bottom: 8px; color: #777c83; font-size: 14px; line-height: 1.5;}
.reservation-modern .rsv_intro_meta strong {display: block; color: #343941; font-size: 18px; font-weight: 600; line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere;}
.reservation-modern .rsv_intro_meta em {display: block; margin-top: 5px; color: var(--r-muted); font-size: 14px; font-style: normal; line-height: 1.6;}
.reservation-modern .rsv_notice_box {margin-top: 28px; padding: 26px 28px; border: 1px solid var(--r-border); border-radius: 4px; background: #fff;}
.reservation-modern .rsv_notice_box h4 {margin: 0 0 12px; color: #343941; font-size: 16px; font-weight: 600;}
.reservation-modern .rsv_notice_list {margin: 0; padding-left: 18px; list-style: disc;}
.reservation-modern .rsv_notice_list > li {margin: 5px 0; color: var(--r-muted); font-size: 14px; line-height: 1.75; word-break: keep-all;}
.reservation-modern .rsv_intro_simple {margin-bottom: 32px;}
.reservation-modern .rsv_intro_simple .rsv_intro_title {font-size: 24px;}

/* 날짜 / 시간 선택 */
.reservation-modern .rsv_grid {display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: stretch; gap: 32px; margin-bottom: 70px;}
.reservation-modern .rsv_card {display: flex; flex-direction: column; min-width: 0;}
.reservation-modern .rsv_card_hd {padding: 0 0 22px;}
.reservation-modern .rsv_step {display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: #8b8f95; font-size: 12px; font-weight: 500; letter-spacing: .06em;}
.reservation-modern .rsv_step strong {color: #222831; font-size: 24px; font-weight: 600; line-height: 1.4; letter-spacing: -.04em;}
.reservation-modern .rsv_card_bd {display: flex; flex: 1; min-width: 0; border: 1px solid var(--r-border); border-top: 2px solid var(--r-primary); border-radius: 0 0 4px 4px; background: #fff;}
.reservation-modern .select_date,
.reservation-modern .select_time {width: 100%; min-width: 0;}
.reservation-modern .calendar {height: 100%; min-height: 390px; padding: 26px 20px;}
.reservation-modern .calendar_double {display: flex; align-items: flex-start; gap: 20px;}
.reservation-modern .calendar_month {flex: 1 1 0; min-width: 0;}
.reservation-modern .calendar table {width: 100%; border-collapse: collapse; table-layout: fixed;}
.reservation-modern .calendar caption {margin-bottom: 20px; color: #343941; font-size: 18px; font-weight: 600; text-align: center; letter-spacing: 0;}
.reservation-modern .calendar th,
.reservation-modern .calendar td {padding: 3px; color: #a6a9ae; font-size: 15px; font-weight: 400; text-align: center; letter-spacing: 0;}
.reservation-modern .calendar th {height: 38px; border-bottom: 1px solid var(--r-border); color: #666b72;}
.reservation-modern .calendar th:first-child {color: #bd6858;}
.reservation-modern .calendar td {height: 46px; line-height: 40px;}
.reservation-modern .calendar td span {display: block; width: 100%; border: 1px solid transparent; border-radius: 3px; line-height: 38px;}
.reservation-modern .calendar .choose {border-color: #e2e3e5; background: #f5f5f4; color: #353a42; cursor: pointer; transition: border-color .2s, background-color .2s;}
.reservation-modern .calendar .choose:hover {border-color: var(--r-primary);}
.reservation-modern .calendar .choose.selected {border-color: var(--r-primary); background: var(--r-primary); color: #fff;}
.reservation-modern .calendar .choose.off {border-color: #efefef; background: #fafafa; color: #b9bcc1; cursor: default;}
.reservation-modern .time_frame {height: 100%; min-height: 390px; padding: 26px 24px;}
.reservation-modern .time_meta {display: none; margin: 0 0 18px; color: var(--r-muted); font-size: 14px; line-height: 1.5;}
.reservation-modern .time_empty {display: flex; align-items: center; justify-content: center; min-height: 336px; color: #8b8f95; font-size: 15px; text-align: center;}
.reservation-modern .time_list {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none;}
.reservation-modern .time_list li {display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 8px; min-width: 0; min-height: 54px; padding: 12px 8px; border: 1px solid #d9dadd; border-radius: 3px; background: #fff; cursor: pointer; transition: border-color .2s, background-color .2s;}
.reservation-modern .time_list .time {color: #343941; font-size: 16px; font-weight: 500; line-height: 1.4; letter-spacing: 0;}
.reservation-modern .time_list .cap {display: none; padding: 3px 6px; border-radius: 3px; background: #f3f4f5; color: #777c83; font-size: 12px; line-height: 1.4; letter-spacing: 0;}
.reservation-modern .time_list .state {color: #a6a9ae; font-size: 12px; line-height: 1.4;}
.reservation-modern .time_list li:hover:not(.full) {border-color: var(--r-primary);}
.reservation-modern .time_list li.selected {border-color: var(--r-primary); background: var(--r-primary);}
.reservation-modern .time_list li.selected .time {color: #fff;}
.reservation-modern .time_list li.selected .cap {background: rgba(255,255,255,.15); color: #fff;}
.reservation-modern .time_list li.full {border-color: #ebebec; background: #fafafa; cursor: default;}
.reservation-modern .time_list li.full .time,
.reservation-modern .time_list li.full .cap {color: #b9bcc1;}

/* 개인정보 수집 및 이용 */
.reservation-modern .privacy,
.reservation-modern .privacy3,
.reservation-modern .customer {margin: 0 0 70px; padding: 0; text-align: left;}
.reservation-modern .privacy h2,
.reservation-modern .privacy3 h2,
.reservation-modern .customer h3 {margin: 0 0 22px; color: #222831; font-size: 24px; font-weight: 600; line-height: 1.4; letter-spacing: -.04em;}
.reservation-modern .privacy h2 span,
.reservation-modern .privacy3 h2 span,
.reservation-modern .customer h3 span {display: none;}
.reservation-modern .privacy h2 b,
.reservation-modern .privacy3 h2 b,
.reservation-modern .customer h3 b {font-weight: 600;}
.reservation-modern .document {height: 320px; overflow-y: auto; padding: 32px 36px; border: 1px solid var(--r-border); border-radius: 4px; background: #f7f7f6; color: var(--r-muted); font-size: 15px; line-height: 1.75; scrollbar-color: #b9bcc1 transparent; scrollbar-width: thin;}
.reservation-modern .document::-webkit-scrollbar {width: 6px;}
.reservation-modern .document::-webkit-scrollbar-thumb {border-radius: 10px; background: #b9bcc1;}
.reservation-modern .document_list {margin-bottom: 26px;}
.reservation-modern .document_list:last-child {margin-bottom: 0;}
.reservation-modern .document_list h4 {margin: 0 0 8px; color: #252a31; font-size: 16px; font-weight: 600; line-height: 1.75;}
.reservation-modern .document_list h5 {margin: 0 0 8px; color: #555b62; font-size: 15px; font-weight: 400; line-height: 1.75;}
.reservation-modern .document_list ul {margin: 0; padding: 0; list-style: none;}
.reservation-modern .document_list li {margin: 3px 0; color: #6d7177; font-size: 15px; line-height: 1.75; word-break: keep-all;}

/* 관심고객등록과 동일한 동의 영역 */
.reservation-modern .agree_btn {display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 80px; margin: 15px 0 0; padding: 24px 40px; background: var(--r-surface); color: #353a42; font-size: 16px; line-height: 1.7;}
.reservation-modern .agree_text {flex: 1; font-size: inherit;}
.reservation-modern .agree_options {display: flex; align-items: center; flex-shrink: 0; gap: 18px;}
.reservation-modern .agree_options label {display: inline-flex; align-items: center; gap: 6px; margin: 0; color: #353a42; font-size: 15px; font-weight: 600; cursor: pointer;}
.reservation-modern .agree_options input[type="radio"] {-webkit-appearance: radio; appearance: auto; position: static; flex: 0 0 14px; width: 14px; height: 14px; margin: 0; padding: 0; accent-color: #333; cursor: pointer;}

/* 개인정보 위탁 / 예약자 정보 표 */
.reservation-modern .table {width: 100%; margin: 0; border: 0; border-top: 2px solid var(--r-primary); border-collapse: collapse; border-spacing: 0;}
.reservation-modern .table tr {border-bottom: 1px solid #e0e1e3;}
.reservation-modern .table th {width: 190px; padding: 20px 24px; background: var(--r-surface); color: #353a42; font-size: 16px; font-weight: 500; line-height: 1.5; text-align: left;}
.reservation-modern .table th label {font-size: inherit; font-weight: inherit; cursor: pointer;}
.reservation-modern .table td {height: 74px; padding: 14px 20px; background: #fff; color: #555a61; font-size: 16px; line-height: 1.6; text-align: left;}
.reservation-modern .table input[type="text"],
.reservation-modern .table input[type="tel"] {width: 100%; max-width: 420px; height: 46px; margin: 0; padding: 0 16px; border: 1px solid #d9dadd; border-radius: 3px; background: #fff; color: #333840; font-size: 16px; letter-spacing: 0; transition: border-color .2s, box-shadow .2s;}
.reservation-modern .table .phone_fields {white-space: normal;}
.reservation-modern .table4 {table-layout: fixed;}
.reservation-modern .table4 th,
.reservation-modern .table4 td {width: 50%; height: auto; padding: 18px 20px; border-right: 1px solid #e0e1e3; text-align: center;}
.reservation-modern .table4 th {background: #f3f4f5;}
.reservation-modern .table4 td {color: #565b62; font-size: 15px;}
.reservation-modern .table4 th:last-child,
.reservation-modern .table4 td:last-child {border-right: 0;}
.reservation-modern .table4 td span {display: block; word-break: keep-all; overflow-wrap: anywhere;}
.reservation-modern .customer {margin-bottom: 0;}

/* 하단 버튼 / 조회 결과 */
.reservation-modern .btn {display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; width: 100%; margin: 55px 0 0; text-align: center;}
.reservation-modern .btn input {min-width: 180px; max-width: 100%; height: 56px; margin: 0; padding: 0 30px; border: 1px solid #2b3341; border-radius: 3px; background: #2b3341; color: #fff; font-size: 16px; font-weight: 600; letter-spacing: -.02em; transition: background-color .2s, border-color .2s;}
.reservation-modern .btn input:hover,
.reservation-modern .btn input:focus {border-color: #bd6858; background: #bd6858;}
.reservation-modern .btn #popModal2_close,
.reservation-modern .btn #re_get_result {border-color: #d8d9dc; background: #fff; color: #555a61;}
.reservation-modern .btn #popModal2_close:hover,
.reservation-modern .btn #re_get_result:hover {border-color: #868b92; background: #f5f5f5; color: #282d34;}
.reservation-modern .result_content {padding: 60px 24px; border-top: 2px solid var(--r-primary); border-bottom: 1px solid var(--r-border); background: #f7f7f6; text-align: center;}
.reservation-modern .result {color: #343941; font-size: 20px; line-height: 1.8; word-break: keep-all;}
.reservation-modern .result b {font-size: inherit; font-weight: 600;}

/* 완료 / 취소 팝업 */
.reservation-modern .modal {display: none; position: fixed; inset: 0; z-index: 10000; width: 100%; height: 100%; overflow-y: auto; padding: 24px 16px; background: rgba(0,0,0,.5);}
.reservation-modern .modal-content {position: relative; width: 440px; max-width: 100%; margin: 10vh auto 0; border-radius: 4px; background: #fff; text-align: center;}
.reservation-modern .modal-content .content_inner {padding: 56px 30px 40px;}
.reservation-modern .modal .close {position: absolute; top: 12px; right: 16px; color: #777c83; font-size: 30px; line-height: 1; cursor: pointer;}
.reservation-modern .modal .close:hover {color: #222831;}
.reservation-modern .modal .nth_01,
.reservation-modern .modal .ask {margin: 0 0 24px; color: #222831; font-size: 22px; font-weight: 600; line-height: 1.5;}
.reservation-modern .modal .result {font-size: 16px;}
.reservation-modern .modal .btn {margin-top: 28px;}
.reservation-modern .modal .btn input {flex: 1; min-width: 0; padding: 0 12px; font-size: 15px;}

@media screen and (max-width: 1200px) {
    .reservation-modern .rsv_grid {grid-template-columns: 1fr; gap: 36px;}
    .reservation-modern .time_frame,
    .reservation-modern .time_empty {min-height: 180px;}
    .reservation-modern .time_list {grid-template-columns: repeat(3, minmax(0, 1fr));}
}
@media screen and (max-width: 1000px) {
    .reservation.inner.reservation-modern {width: calc(100% - 48px); margin-bottom: 110px;}
    .reservation-modern .rsv_intro,
    .reservation-modern .rsv_grid,
    .reservation-modern .privacy,
    .reservation-modern .privacy3 {margin-bottom: 60px;}
    .reservation-modern .rsv_intro_simple {margin-bottom: 28px;}
    .reservation-modern .privacy h2,
    .reservation-modern .privacy3 h2,
    .reservation-modern .customer h3,
    .reservation-modern .rsv_step strong {font-size: 22px;}
    .reservation-modern .document {height: 300px; padding: 28px;}
    .reservation-modern .agree_btn {padding: 22px 24px; font-size: 15px;}
    .reservation-modern .agree_options label {font-size: 14px;}
    .reservation-modern .table th {width: 150px; padding: 18px;}
    .reservation-modern .table td {padding: 14px 16px;}
    .reservation-modern .table4 th {width: 50%;}
}
@media screen and (max-width: 768px) {
    .reservation.inner.reservation-modern {width: calc(100% - 40px); margin-bottom: 90px;}
    .reservation-modern .btns {margin-bottom: 40px;}
    .reservation-modern .btns li {min-height: 52px; padding: 12px;}
    .reservation-modern .btns li .txt {font-size: 15px;}
    .reservation-modern .rsv_intro,
    .reservation-modern .rsv_grid,
    .reservation-modern .privacy,
    .reservation-modern .privacy3 {margin-bottom: 50px;}
    .reservation-modern .rsv_intro_title {font-size: 24px;}
    .reservation-modern .rsv_intro_simple {margin-bottom: 24px;}
    .reservation-modern .rsv_intro_simple .rsv_intro_title,
    .reservation-modern .privacy h2,
    .reservation-modern .privacy3 h2,
    .reservation-modern .customer h3,
    .reservation-modern .rsv_step strong {font-size: 20px;}
    .reservation-modern .privacy h2,
    .reservation-modern .privacy3 h2,
    .reservation-modern .customer h3 {margin-bottom: 16px;}
    .reservation-modern .rsv_intro_meta li {padding: 20px;}
    .reservation-modern .rsv_intro_meta strong {font-size: 16px;}
    .reservation-modern .rsv_notice_box {padding: 22px 20px;}
    .reservation-modern .rsv_card_hd {padding-bottom: 16px;}
    .reservation-modern .calendar {min-height: 0; padding: 22px 16px;}
    .reservation-modern .calendar_double {flex-direction: column; gap: 28px;}
    .reservation-modern .calendar_month {width: 100%;}
    .reservation-modern .calendar td {height: 44px;}
    .reservation-modern .time_frame {padding: 22px 16px;}
    .reservation-modern .time_list {grid-template-columns: repeat(2, minmax(0, 1fr));}
    .reservation-modern .document {height: 280px; padding: 24px 20px;}
    .reservation-modern .agree_btn {flex-direction: column; align-items: stretch; gap: 14px; min-height: 0; padding: 20px;}
    .reservation-modern .agree_options {justify-content: flex-end; flex-wrap: wrap; gap: 10px 18px;}
    .reservation-modern .customer .table,
    .reservation-modern #close_table .table,
    .reservation-modern .customer tbody,
    .reservation-modern #close_table tbody,
    .reservation-modern .customer tr,
    .reservation-modern #close_table tr,
    .reservation-modern .customer th,
    .reservation-modern #close_table th,
    .reservation-modern .customer td,
    .reservation-modern #close_table td {display: block; width: 100%;}
    .reservation-modern .customer th,
    .reservation-modern #close_table th {padding: 15px 16px; border: 0;}
    .reservation-modern .customer td,
    .reservation-modern #close_table td {height: auto; min-height: 72px; padding: 13px 16px 16px;}
    .reservation-modern .table input[type="text"],
.reservation-modern .table input[type="tel"] {max-width: none;}
    .reservation-modern .table4 th {padding: 15px 10px; font-size: 15px;}
    .reservation-modern .table4 td {padding: 15px 10px; font-size: 14px;}
    .reservation-modern .btn {margin-top: 40px;}
    .reservation-modern .btn input {height: 52px; min-width: 0; padding: 0 24px;}
    .reservation-modern .result_content {padding: 40px 20px;}
}
@media screen and (max-width: 520px) {
    .reservation.inner.reservation-modern {width: calc(100% - 32px); margin-bottom: 70px;}
    .reservation-modern .btns li {padding: 12px 8px;}
    .reservation-modern .btns li .txt {font-size: 14px;}
    .reservation-modern .rsv_intro_title {font-size: 22px;}
    .reservation-modern .rsv_intro_meta {grid-template-columns: 1fr;}
    .reservation-modern .rsv_intro_meta li {padding: 18px 16px;}
    .reservation-modern .rsv_intro_meta li:nth-child(odd) {border-right: 0;}
    .reservation-modern .rsv_notice_box {padding: 20px 16px;}
    .reservation-modern .rsv_intro_simple .rsv_intro_title,
    .reservation-modern .privacy h2,
    .reservation-modern .privacy3 h2,
    .reservation-modern .customer h3,
    .reservation-modern .rsv_step strong {font-size: 18px;}
    .reservation-modern .document {height: 250px; padding: 20px 16px;}
    .reservation-modern .document_list h4 {font-size: 15px;}
    .reservation-modern .document_list h5,
    .reservation-modern .document_list li {font-size: 14px;}
    .reservation-modern .agree_btn {margin-top: 12px; padding: 18px 16px; font-size: 14px;}
    .reservation-modern .agree_options {gap: 10px 14px;}
    .reservation-modern .table4 th,
    .reservation-modern .table4 td {padding: 14px 8px; font-size: 13px; overflow-wrap: anywhere;}
    .reservation-modern .btn {gap: 8px;}
    .reservation-modern .btn input {width: 100%; height: 50px; font-size: 15px;}
    .reservation-modern .result {font-size: 18px;}
    .reservation-modern .modal-content .content_inner {padding: 50px 20px 28px;}
    .reservation-modern .modal .nth_01,
    .reservation-modern .modal .ask {font-size: 20px;}
}

/* 휴대전화 단일 입력 및 당첨자 확인 */
.reservation-modern .phone_input_group {display: flex; align-items: center; gap: 8px; width: 100%; max-width: 550px;}
.reservation-modern .phone_input_group input[type="tel"] {flex: 1 1 0; min-width: 0;}
.reservation-modern .phone_input_group button {flex: 0 0 auto; height: 46px; padding: 0 22px; border: 1px solid #2b3341; border-radius: 3px; background: #2b3341; color: #fff; font-size: 15px; font-weight: 500; line-height: 1.5; letter-spacing: -.02em; white-space: nowrap; cursor: pointer; transition: background-color .2s, border-color .2s;}
.reservation-modern .phone_input_group button:hover {border-color: #bd6858; background: #bd6858;}
.reservation-modern .phone_input_group button:focus-visible {outline: 2px solid #1c2c50; outline-offset: 3px;}
.reservation-modern .phone_input_group button:disabled {opacity: .6; cursor: wait;}
.reservation-modern .member_check_result {margin: 12px 0 0; color: #666b72; font-size: 14px; line-height: 1.7; white-space: normal; overflow-wrap: anywhere;}
.reservation-modern .member_check_result:empty {display: none;}
.reservation-modern .member_check_result.is-success {color: #1c2c50;}
.reservation-modern .member_check_result.is-error {color: #bd4e43;}
.reservation-modern .member_units {display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none;}
.reservation-modern .member_units li {padding: 5px 12px; border: 1px solid #e2e3e5; border-radius: 3px; background: #f5f5f4; color: #30343b; font-size: 15px; font-weight: 600; letter-spacing: 0;}
@media screen and (max-width: 520px) {
    .reservation-modern .phone_input_group {gap: 6px;}
    .reservation-modern .phone_input_group button {padding: 0 12px; font-size: 14px;}
    .reservation-modern .phone_input_group input[type="tel"] {padding: 0 10px; font-size: 14px;}
}

