/* calendar.marginauto.kr — 디자인은 calendar.zip(PHP 버전) 그대로. Pretendard + 체크인/아웃 라벨만 Cormorant */
/* 기기 다크모드에서도 항상 밝은 화면으로 (iOS 사파리 등에서 버튼·입력칸 글자가 흰색으로 바뀌어 안 보이던 문제) */
:root { color-scheme: light; }
:root { --bk-pink: #DD107F; --bk-green: #7BC333; --bk-blue: #3B6C8D; --bk-pending: #A4C6DF; --bk-line: #CBCBCB; --bk-line2: #A8A8A8; --bk-gray: #6B6B6B; --bk-text: #1A202C; }
body { font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #fff; color: var(--bk-text); }

/* ── 공통 레이아웃 ── */
.bk-top { position: sticky; top: 0; z-index: 1020; }
.bk-header { background: #000; color: #fff; height: 40px; padding: 0 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.bk-header .bk-name { font-weight: 500; font-size: 20px; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-admin-btn { flex: none; display: inline-flex; align-items: center; gap: 4px; background: #EDF2F7; color: #1A202C; border-radius: 6px; padding: 4px 12px; font-size: 14px; font-weight: 500; text-decoration: none; line-height: 1.5; }
.bk-admin-btn:hover { background: #E2E8F0; color: #1A202C; }
.bk-tabs { display: flex; justify-content: center; align-items: center; gap: 4px; height: 72px; padding: 16px; background: #fff; border-bottom: 1px solid var(--bk-line); }
.bk-tab { display: block; padding: 8px 48px; border-radius: 57px; border: 1px solid transparent; color: var(--bk-gray); font-weight: 700; font-size: 16px; line-height: 1.5; text-decoration: none; white-space: nowrap; }
.bk-tab:hover { color: var(--bk-pink); }
.bk-tab.active { color: var(--bk-pink); border-color: var(--bk-pink); }
.bk-container { max-width: 1600px; margin: 0 auto; padding: 48px 16px 0; }
.bk-container.narrow { max-width: 760px; }
.bk-footer { text-align: center; padding: 64px 16px; color: var(--bk-gray); font-size: 14px; font-weight: 300; }
.bk-loading { text-align: center; color: var(--bk-gray); padding: 48px 0; }
.bk-error { padding: 16px; border-radius: 8px; background: #FFF1F7; color: var(--bk-pink); font-size: 14px; text-align: center; }
@media (max-width: 767px) {
    .bk-header .bk-name { font-size: 17px; }
    .bk-admin-btn { font-size: 13px; padding: 3px 10px; }
    .bk-tabs { height: 64px; padding: 12px 10px; }
    .bk-tab { flex: 1 1 0; max-width: 150px; padding: 8px 0; text-align: center; font-size: 14px; }
    .bk-container { padding-top: 24px; }
    .bk-footer { padding: 40px 16px; font-size: 13px; }
}

/* ══════════ 예약현황 ══════════ */
.bs-month-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 32px; }
.bs-month-title { font-size: 32px; font-weight: 700; line-height: 1; white-space: nowrap; min-width: 150px; text-align: center; }
.bs-arrow-btn { width: 48px; height: 48px; border: none; border-radius: 8px; background: transparent; color: #000; font-size: 22px; display: inline-flex; align-items: center; justify-content: center; }
.bs-arrow-btn:hover { background: #F8F8F8; }
.bs-arrow-btn:disabled { opacity: 0; cursor: default; }
.bs-legend-row { position: relative; display: flex; align-items: center; justify-content: center; margin-bottom: 35px; }
.bs-legend { display: flex; align-items: center; gap: 16px; font-size: 16px; font-weight: 500; }
.bs-legend > span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.bs-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.bs-price-btn { position: absolute; right: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 108px; height: 40px; border: 1px solid var(--bk-line2); background: #fff; color: #000; font-size: 14px; font-weight: 500; }
.bs-price-btn.active { background: #000; color: #fff; border-color: #000; }
.bs-zoom-hint { display: none; }
.bs-board { border: 1px solid var(--bk-line); border-radius: 16px; overflow: hidden; margin-bottom: 64px; }
.bs-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.bs-dayname { height: 48px; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 500; color: #000; border-left: 1px solid var(--bk-line); }
.bs-dayname:first-child { border-left: none; }
.bs-dayname.sun { color: var(--bk-pink); }
.bs-dayname.sat { color: var(--bk-blue); }
.bs-cell { min-width: 0; overflow: hidden; display: flex; flex-direction: column; row-gap: 16px; padding: 24px 16px; min-height: 160px; border-top: 1px solid var(--bk-line); border-right: 1px solid var(--bk-line); }
.bs-cell:nth-child(7n) { border-right: none; }
.bs-date-row { display: flex; justify-content: space-between; align-items: center; gap: 4px; }
.bs-date-num { font-size: 16px; font-weight: 500; color: #333; }
.bs-date-num.sun, .bs-date-num.holiday { color: var(--bk-pink); font-weight: 700; }
.bs-date-num.sat { color: var(--bk-blue); }
.bs-day-tag { font-size: 12px; font-weight: 500; color: var(--bk-line2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bs-day-tag.holiday { color: var(--bk-pink); }
.bs-rooms { display: flex; flex-direction: column; row-gap: 4px; }
.bs-room-line { display: flex; align-items: center; gap: 4px; }
.bs-room-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; }
.bs-room-body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
.bs-room-name { font-size: 14px; font-weight: 300; line-height: 1.5; color: #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bs-room-name .short { display: none; }
.bs-room-line.clickable { cursor: pointer; }
.bs-room-line.clickable:hover .bs-room-name { text-decoration: underline; }
.bs-room-line.sold .bs-room-name { color: var(--bk-pink); text-decoration: line-through; }
.bs-room-line.pending .bs-room-name { color: var(--bk-pink); text-decoration: line-through; } /* 예약진행도 예약불가로 표시 (점 색만 다름) */
.bs-room-price { font-size: 12px; font-weight: 300; color: var(--bk-gray); white-space: nowrap; }
.bs-room-price s { display: block; color: var(--bk-line2); }
.bs-room-price .dc { color: var(--bk-pink); font-weight: 600; }
.bs-date-left { display: inline-flex; align-items: center; gap: 5px; min-width: 0; }
.bs-dc-badge { display: inline-block; padding: 0 5px; border-radius: 3px; background: var(--bk-pink); color: #fff; font-size: 11px; font-weight: 700; line-height: 1.6; white-space: nowrap; }
.bs-cell.past { background: #FAFAFA; }
@media (max-width: 1024px) {
    .bs-cell { padding: 16px 8px; row-gap: 10px; }
    .bs-room-dot { width: 9px; height: 9px; }
    .bs-room-name { font-size: 12.5px; }
}
@media (max-width: 767px) {
    .bs-month-nav { margin-bottom: 16px; gap: 8px; }
    .bs-month-title { font-size: 24px; min-width: 110px; }
    .bs-arrow-btn { width: 40px; height: 40px; font-size: 18px; }
    .bs-legend-row { flex-direction: column; gap: 12px; margin-bottom: 12px; }
    .bs-legend { gap: 10px; font-size: 12px; flex-wrap: wrap; justify-content: center; }
    .bs-legend > span { gap: 4px; }
    .bs-dot { width: 9px; height: 9px; }
    .bs-price-btn { position: static; width: 96px; height: 32px; font-size: 12px; }
    .bs-zoom-hint { display: block; text-align: center; font-size: 11px; color: var(--bk-line2); margin-bottom: 8px; }
    .bk-container.status-view { padding-left: 6px; padding-right: 6px; }
    .bs-board { border-radius: 8px; margin-bottom: 24px; }
    .bs-dayname { height: 30px; font-size: 11px; }
    .bs-cell { padding: 5px 2px 6px 3px; row-gap: 4px; min-height: 90px; }
    .bs-date-row { flex-direction: column; align-items: flex-start; gap: 0; }
    .bs-date-num { font-size: 11px; line-height: 1.2; }
    .bs-day-tag { font-size: 7.5px; line-height: 1.2; max-width: 100%; }
    .bs-rooms { row-gap: 2px; }
    .bs-room-line { align-items: flex-start; gap: 2px; }
    .bs-room-dot { width: 5px; height: 5px; margin-top: 3px; }
    .bs-room-name { font-size: 8.5px; line-height: 1.25; font-weight: 400; white-space: normal; word-break: break-all; }
    .bs-room-name .full { display: none; }
    .bs-room-name .short { display: inline; }
    .bs-room-price { font-size: 7.5px; line-height: 1.2; white-space: normal; }
    .bs-date-left { gap: 2px; }
    .bs-dc-badge { padding: 0 2px; border-radius: 2px; font-size: 7px; line-height: 1.4; }
}

/* ══════════ 예약하기 ══════════ */
.rv-wrap { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.rv-datebox { width: 100%; display: flex; align-items: center; justify-content: center; column-gap: 50px; padding: 14px; border: 1px solid var(--bk-line2); border-radius: 16px; cursor: pointer; user-select: none; background: #fff; }
.rv-datebox:hover { background: #FAFAFA; }
.rv-date-col { display: flex; flex-direction: column; align-items: center; }
.rv-date-label { font-family: 'Cormorant', serif; font-size: 20px; font-weight: 700; line-height: 1.5; }
.rv-date-val { font-size: 16px; white-space: nowrap; }
.rv-nights { flex: none; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid #000; border-radius: 8px; font-size: 15px; }
.rv-title { font-size: 24px; font-weight: 700; line-height: 1.5; margin: 0; }
.rv-notice { width: 100%; padding: 12px 16px; border-radius: 8px; background: #FFF1F7; color: var(--bk-pink); font-size: 14px; text-align: center; }
.rv-list { width: 100%; display: flex; flex-direction: column; gap: 24px; }
.rv-card { display: flex; flex-direction: row; align-items: flex-end; justify-content: center; column-gap: 64px; width: 100%; padding: 24px; border: 1px solid var(--bk-line); border-radius: 16px; }
.rv-card-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; row-gap: 24px; }
.rv-card-top { display: flex; flex-direction: row; align-items: flex-start; column-gap: 24px; }
.rv-photo { position: relative; flex: none; width: 224px; height: 184px; border-radius: 8px; overflow: hidden; background: #F4F6F7 center / cover no-repeat; display: flex; align-items: center; justify-content: center; color: #A9ACAD; font-size: 28px; }
.rv-photo.has-gallery { cursor: pointer; }
.rv-photo.has-gallery:hover { opacity: 0.5; }
.rv-photo-badge { position: absolute; top: 0; left: 0; padding: 4px 8px; color: #fff; background: var(--bk-green); font-size: 12px; font-weight: 500; line-height: 1.5; }
.rv-photo-badge.sold { background: var(--bk-gray); }
.rv-photo-count { position: absolute; right: 8px; bottom: 8px; display: flex; align-items: center; gap: 4px; padding: 4px 8px; color: #fff; background: rgba(0,0,0,0.7); border-radius: 40px; font-size: 12px; font-weight: 700; line-height: 1.5; }
.rv-info { min-width: 0; display: flex; flex-direction: column; row-gap: 16px; }
.rv-name { font-size: 20px; font-weight: 700; line-height: 1.5; }
.rv-desc { font-size: 16px; font-weight: 300; line-height: 1.5; white-space: pre-line; }
.rv-card.sold .rv-name, .rv-card.sold .rv-desc { color: var(--bk-line2); }
.rv-guest-box { width: 100%; max-width: 420px; display: flex; flex-direction: column; row-gap: 8px; }
.rv-guest-row { display: flex; align-items: center; justify-content: space-between; column-gap: 16px; }
.rv-guest-label { width: 128px; flex: none; display: flex; flex-direction: column; }
.rv-guest-label b { font-size: 16px; font-weight: 500; line-height: 1.5; }
.rv-guest-label small { font-size: 12px; font-weight: 300; color: var(--bk-gray); }
.rv-guest-ctrl { display: flex; align-items: center; }
.rv-guest-btn { width: 36px; height: 36px; padding: 0; border-radius: 50%; border: 1px solid var(--bk-line2); background: #fff; font-weight: 500; font-size: 16px; line-height: 1; display: flex; align-items: center; justify-content: center; color: var(--bk-text); }
.rv-guest-btn:hover { background: #F8F8F8; }
.rv-guest-count { width: 36px; height: 36px; flex: none; display: flex; align-items: center; justify-content: center; }
.rv-guest-sum { font-size: 13px; font-weight: 300; color: var(--bk-gray); }
.rv-card-side { flex: none; display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end; row-gap: 16px; }
.rv-price-wrap { display: flex; flex-direction: column; align-items: flex-end; }
.rv-price-extra { font-size: 13px; font-weight: 300; color: var(--bk-gray); white-space: nowrap; }
.rv-price { display: flex; align-items: center; column-gap: 4px; font-size: 16px; font-weight: 300; line-height: 1.5; white-space: nowrap; }
.rv-price-num { font-size: 24px; font-weight: 700; padding-left: 4px; }
.rv-price-basic { display: flex; align-items: center; column-gap: 6px; font-size: 14px; font-weight: 300; color: var(--bk-line2); white-space: nowrap; }
.rv-price-basic s { color: var(--bk-line2); }
.rv-price-rate { padding: 0 6px; border-radius: 4px; background: var(--bk-pink); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.6; }
.rv-select-btn { width: 144px; height: 40px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--bk-gray); background: #fff; color: #000; font-size: 16px; font-weight: 700; line-height: 1.5; }
.rv-select-btn.check { background: var(--bk-pink); border-color: var(--bk-pink); color: #fff; }
.rv-select-btn:disabled { background: var(--bk-line2); border-color: var(--bk-line2); color: #fff; cursor: default; }
.rv-bottom-bar { position: sticky; bottom: 0; z-index: 5; width: 100%; height: 72px; display: flex; align-items: center; justify-content: flex-end; column-gap: 8px; background: #fff; }
.rv-bottom-total { font-size: 16px; font-weight: 500; line-height: 1.5; }
.rv-bottom-total span { color: var(--bk-pink); font-size: 24px; font-weight: 700; }
.rv-book-btn { width: 144px; height: 40px; border-radius: 8px; border: 1px solid var(--bk-pink); background: #fff; color: var(--bk-pink); font-size: 16px; font-weight: 700; }
.rv-book-btn:hover { background: var(--bk-pink); color: #fff; }
.rv-cal-overlay { position: fixed; inset: 0; z-index: 1060; background: rgba(0,0,0,0.48); display: none; align-items: center; justify-content: center; padding: 16px; }
.rv-cal-overlay.open { display: flex; }
.rv-cal-dialog { width: 100%; max-width: 420px; max-height: 88vh; background: #fff; border-radius: 16px; display: flex; flex-direction: column; overflow: hidden; }
.rv-cal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 4px 24px; }
.rv-cal-hint { font-size: 14px; font-weight: 500; color: var(--bk-pink); }
.rv-cal-close { width: 36px; height: 36px; border: none; border-radius: 6px; background: #EDF2F7; font-size: 16px; }
.rv-cal-body { overflow-y: auto; padding: 0 20px 8px; }
.rv-cal-month { padding: 12px 0; }
.rv-cal-month-title { text-align: center; font-size: 16px; font-weight: 500; margin-bottom: 12px; }
.rv-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 6px; text-align: center; }
.rv-cal-wd { font-size: 13px; font-weight: 500; padding-bottom: 6px; }
.rv-cal-day { height: 40px; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.rv-cal-day span { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid transparent; }
.rv-cal-day.sun { color: var(--bk-pink); }
.rv-cal-day.sat { color: var(--bk-blue); }
.rv-cal-day.pick { cursor: pointer; }
.rv-cal-day.pick:hover span { background: #F8F8F8; }
.rv-cal-day.past { color: var(--bk-line); }
.rv-cal-day.today span { border-color: var(--bk-pink); }
.rv-cal-day.inrange { background: #FDE7F2; }
.rv-cal-day.start, .rv-cal-day.end { background: linear-gradient(to right, transparent 50%, #FDE7F2 50%); }
.rv-cal-day.end { background: linear-gradient(to left, transparent 50%, #FDE7F2 50%); }
.rv-cal-day.start.end { background: none; }
.rv-cal-day.start span, .rv-cal-day.end span { background: var(--bk-pink) !important; color: #fff; }
.rv-cal-foot { display: flex; gap: 8px; padding: 12px 20px 20px; }
.rv-cal-nav { flex: 1; height: 48px; border-radius: 8px; border: 1px solid #000; background: #fff; font-size: 16px; font-weight: 500; }
.rv-cal-nav.prev { background: #E2E2E2; border-color: #BDBDBD; }
.rv-cal-nav:disabled { opacity: 0.4; }
.rv-gallery-slide { height: 60vh; display: flex; align-items: center; justify-content: center; background: #000; }
.rv-gallery-slide img { max-width: 100%; max-height: 60vh; object-fit: contain; }
@media (min-width: 1025px) {
    .rv-card-main { flex-direction: row; align-items: center; column-gap: 40px; }
    .rv-card-top { flex: 1 1 auto; min-width: 0; }
    .rv-guest-box { flex: none; width: 260px; max-width: 260px; }
    .rv-guest-label { width: auto; flex: 1 1 auto; }
}
@media (max-width: 1024px) {
    .rv-card { flex-direction: column; align-items: stretch; row-gap: 24px; padding: 0; border: none; border-radius: 0; }
    .rv-list { gap: 48px; }
    .rv-card-top { flex-direction: column; row-gap: 24px; }
    .rv-photo { width: 100%; height: 184px; }
    .rv-guest-box { max-width: none; }
    .rv-card-side { flex-direction: row; align-items: flex-end; justify-content: flex-end; column-gap: 16px; }
}
@media (max-width: 767px) {
    .rv-wrap { gap: 20px; }
    .rv-datebox { column-gap: 10px; padding: 12px 8px; }
    .rv-date-label { font-size: 18px; }
    .rv-date-val { font-size: 14px; }
    .rv-nights { width: 44px; height: 44px; font-size: 14px; }
    .rv-title { font-size: 22px; }
    .rv-photo { height: 200px; }
    .rv-select-btn, .rv-book-btn { width: 136px; }
    .rv-bottom-bar { margin: 0 -16px; width: calc(100% + 32px); padding: 0 16px; box-shadow: 0 -4px 12px rgba(0,0,0,0.04); }
}
@media (max-width: 359px) {
    .rv-datebox { column-gap: 6px; }
    .rv-date-val { font-size: 12.5px; }
}

/* ══════════ 결제하기 ══════════ */
.pm-box { background: #fff; border: 1px solid var(--bk-line); border-radius: 16px; padding: 16px; margin-bottom: 12px; }
.pm-thumb { width: 96px; height: 72px; flex: none; border-radius: 8px; background: #F4F6F7 center / cover no-repeat; display: flex; align-items: center; justify-content: center; color: #A9ACAD; font-size: 20px; }
.pm-info { min-width: 0; }
.pm-date { white-space: nowrap; }
.pm-date-short { display: none; }
.pm-sum-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--bk-gray); margin-bottom: 4px; }
.pm-sum-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 20px; }
.pm-sum-total span:last-child { color: var(--bk-pink); }
.pm-h { font-weight: 700; font-size: 16px; margin: 24px 0 12px; }
.pm-label { font-size: 13px; font-weight: 600; color: var(--bk-gray); margin-bottom: 6px; display: block; }
.pm-input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid #DDD; border-radius: 8px; font-size: 15px; outline: none; background: #fff; }
.pm-input:focus { border-color: var(--bk-pink); box-shadow: 0 0 0 0.2rem rgba(221,16,127,0.15); }
.pm-methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.pm-method { position: relative; }
.pm-method input { position: absolute; opacity: 0; }
.pm-method label { display: flex; align-items: center; justify-content: center; height: 48px; border: 1px solid var(--bk-line); border-radius: 8px; font-weight: 500; cursor: pointer; }
.pm-method input:checked + label { border-color: var(--bk-pink); color: var(--bk-pink); background: #FFF1F7; font-weight: 700; }
.pm-terms { max-height: 160px; overflow-y: auto; white-space: pre-line; font-size: 13px; color: var(--bk-gray); background: #F8F8F8; border-radius: 8px; padding: 12px; margin-top: 8px; }
.pm-check { display: flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }
.pm-check input { width: 18px; height: 18px; accent-color: var(--bk-pink); }
.pm-coupon { display: flex; gap: 8px; }
.pm-coupon button { flex: none; width: 88px; border: 1px solid var(--bk-line2); border-radius: 8px; background: #fff; font-weight: 500; }
.pm-msg { font-size: 13px; margin-top: 6px; }
.pm-msg.ok { color: #608D33; } .pm-msg.err { color: var(--bk-pink); }
.pm-submit { width: 100%; height: 56px; border: none; border-radius: 8px; background: var(--bk-pink); color: #fff; font-weight: 700; font-size: 16px; margin-top: 16px; }
.pm-submit:disabled { background: var(--bk-line2); }
.pm-back { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--bk-line); background: #fff; border-radius: 6px; padding: 4px 12px; font-size: 14px; margin-bottom: 16px; }
@media (max-width: 767px) {
    .pm-thumb { width: 72px; height: 56px; }
    .pm-date-full { display: none; } .pm-date-short { display: inline; }
}

/* ══════════ 예약조회 ══════════ */
.lk-wrap { display: flex; flex-direction: column; align-items: center; row-gap: 16px; padding-bottom: 24px; }
.lk-title { width: 548px; max-width: 100%; margin: 0; font-size: 24px; font-weight: 700; line-height: 1.5; }
.lk-box { width: 548px; max-width: 100%; padding: 36px; border: 1px solid var(--bk-line); border-radius: 16px; }
.lk-form { display: flex; flex-direction: column; gap: 24px; }
.lk-field { display: flex; flex-direction: column; gap: 8px; }
.lk-label { font-size: 14px; font-weight: 300; color: var(--bk-gray); }
.lk-label span { margin-left: 4px; color: #608D33; }
.lk-input { width: 100%; height: 48px; padding: 12px; text-align: center; border: 1px solid #F8F8F8; border-radius: 8px; background: #F8F8F8; font-size: 16px; outline: none; }
.lk-input::placeholder { color: var(--bk-line2); }
.lk-input:focus { border-color: var(--bk-pink); background: #fff; }
.lk-btn { -webkit-appearance: none; appearance: none; display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; border: 1px solid var(--bk-pink); border-radius: 8px; background: var(--bk-pink); color: #fff; -webkit-text-fill-color: #fff; font-size: 16px; font-weight: 700; opacity: 1; cursor: pointer; }
.lk-btn:hover, .lk-btn:active { background: #C20D6F; border-color: #C20D6F; }
.lk-btn:disabled { opacity: 0.6; }
#lk_result { width: 548px; max-width: 100%; }
.lk-card { margin-top: 8px; padding: 28px 36px; border: 1px solid var(--bk-line); border-radius: 16px; }
.lk-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid #EEE; }
.lk-number { font-size: 14px; color: var(--bk-gray); word-break: break-all; }
.lk-number b { display: block; font-size: 18px; font-weight: 700; color: var(--bk-text); }
.lk-status { flex: none; padding: 4px 12px; border-radius: 40px; border: 1px solid var(--bk-pink); color: var(--bk-pink); font-size: 13px; font-weight: 600; white-space: nowrap; }
.lk-status.cancel { border-color: var(--bk-line2); color: var(--bk-gray); }
.lk-status.wait { border-color: var(--bk-blue); color: var(--bk-blue); }
.lk-row { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid #F4F4F4; font-size: 16px; line-height: 1.5; margin: 0; }
.lk-row:last-child { border-bottom: none; }
.lk-row dt { width: 72px; flex: none; font-weight: 300; color: var(--bk-gray); }
.lk-row dd { flex: 1; min-width: 0; margin: 0; font-weight: 500; }
.lk-room + .lk-room { margin-top: 6px; }
.lk-room small { display: block; font-size: 13px; font-weight: 300; color: var(--bk-gray); }
@media (max-width: 767px) {
    .lk-box { padding: 24px 20px; }
    .lk-card { padding: 20px; }
    .lk-row { font-size: 15px; gap: 12px; }
    .lk-row dt { width: 60px; }
}

/* ══════════ 예약완료 / 결제실패 ══════════ */
.cp-wrap { max-width: 560px; margin: 0 auto; padding-bottom: 24px; }
.cp-head { text-align: center; margin-bottom: 24px; }
.cp-icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--bk-pink); color: #fff; font-size: 34px; display: flex; align-items: center; justify-content: center; }
.cp-icon.wait { background: var(--bk-blue); }
.cp-head h2 { font-size: 24px; font-weight: 700; margin: 0 0 6px; }
.cp-head p { color: var(--bk-gray); margin: 0; font-size: 15px; }
.cp-card { border: 1px solid var(--bk-line); border-radius: 16px; padding: 24px 28px; }
.cp-number { font-size: 14px; color: var(--bk-gray); padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid #eee; }
.cp-number b { display: block; font-size: 22px; color: var(--bk-text); letter-spacing: .5px; word-break: break-all; }
.cp-dl { display: grid; grid-template-columns: 72px 1fr; gap: 12px 14px; margin: 0; font-size: 15px; }
.cp-dl dt { color: var(--bk-gray); font-weight: 300; }
.cp-dl dd { margin: 0; font-weight: 500; min-width: 0; }
.cp-room + .cp-room { margin-top: 6px; }
.cp-room small { display: block; color: var(--bk-gray); font-weight: 300; font-size: 13px; }
.cp-amount { color: var(--bk-pink); font-size: 18px; }
.cp-muted { color: var(--bk-gray); font-weight: 300; font-size: 13px; }
.cp-tip { margin-top: 18px; padding: 12px 14px; border-radius: 10px; background: #FFF1F7; color: #9C0C5A; font-size: 13px; line-height: 1.6; white-space: pre-line; }
.cp-actions { display: flex; gap: 8px; margin-top: 20px; }
.cp-btn { flex: 1; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--bk-pink); border: 1px solid var(--bk-pink); color: #fff; font-weight: 700; text-decoration: none; }
.cp-btn.outline { background: #fff; color: var(--bk-pink); }
.cp-btn:hover { opacity: .9; color: #fff; }
.cp-btn.outline:hover { color: var(--bk-pink); }
@media (max-width: 767px) { .cp-card { padding: 20px; } .cp-number b { font-size: 19px; } }
.pf-wrap { max-width: 480px; margin: 0 auto; padding: 24px 0 40px; text-align: center; }
.pf-icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: #F4F6F7; color: var(--bk-gray); font-size: 34px; display: flex; align-items: center; justify-content: center; }
.pf-wrap h2 { font-size: 22px; font-weight: 700; margin: 0 0 10px; }
.pf-msg { display: inline-block; padding: 10px 16px; border-radius: 8px; background: #FFF1F7; color: var(--bk-pink); font-size: 14px; margin-bottom: 14px; }
.pf-sub { color: var(--bk-gray); font-size: 14px; line-height: 1.7; margin-bottom: 22px; }
.pf-btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 32px; border-radius: 8px; background: var(--bk-pink); color: #fff; font-weight: 700; text-decoration: none; }
.pf-btn:hover { color: #fff; opacity: .9; }

/* 결제수단: 한 줄 라디오 + 약관 항목별 동의(보기 팝업) — 요청 디자인 */
.pm-radios { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding: 4px 0 24px; border-bottom: 1px solid #E6E6E6; }
.pm-radio { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; cursor: pointer; }
.pm-radio input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 0; border: 1.5px solid #222; border-radius: 50%; display: grid; place-content: center; cursor: pointer; }
.pm-radio input::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--bk-pink); transform: scale(0); transition: transform .12s; }
.pm-radio input:checked { border-color: var(--bk-pink); }
.pm-radio input:checked::before { transform: scale(1); }
.pm-agree { padding-top: 28px; }
.pm-chk { display: inline-flex; align-items: center; gap: 12px; font-size: 18px; cursor: pointer; }
.pm-chk input { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: 0; border: 1.5px solid #222; border-radius: 5px; display: grid; place-content: center; cursor: pointer; flex: none; }
.pm-chk input:checked { background: var(--bk-pink); border-color: var(--bk-pink); }
.pm-chk input:checked::before { content: ''; width: 12px; height: 7px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: translateY(-2px) rotate(-45deg); }
.pm-chk-all { margin-bottom: 26px; }
.pm-agree-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.pm-view { border: none; background: none; padding: 4px 0; font-size: 18px; color: #222; }
.pm-view:hover { color: var(--bk-pink); }
.pm-modal { border-radius: 16px; }
.pm-terms-body { font-size: 14px; line-height: 1.75; color: #333; word-break: keep-all; }
.pm-modal-ok { width: 100%; height: 48px; border: none; border-radius: 8px; background: var(--bk-pink); color: #fff; font-weight: 700; }
@media (max-width: 767px) {
    .pm-radio, .pm-chk, .pm-view { font-size: 15px; }
    .pm-radios { justify-content: flex-start; }
}

/* 모든 버튼·입력칸 글자색/배경을 직접 지정 (브라우저 기본값·다크모드에 맡기지 않음) */
button { color: var(--bk-text); -webkit-tap-highlight-color: transparent; }
input, select, textarea { color: var(--bk-text); -webkit-text-fill-color: var(--bk-text); }
input::placeholder, textarea::placeholder { color: var(--bk-line2); -webkit-text-fill-color: var(--bk-line2); opacity: 1; }
.pm-coupon button, .pm-back, .rv-cal-nav, .rv-cal-close { color: var(--bk-text); -webkit-appearance: none; appearance: none; }
.pm-submit, .pm-modal-ok, .rv-select-btn.check, .cp-btn:not(.outline), .pf-btn { -webkit-text-fill-color: #fff; }
.lk-input, .pm-input { -webkit-appearance: none; appearance: none; }

/* ── 요금보기: PC·태블릿(768px 이상)은 객실명과 요금을 한 줄로 ──
   칸이 좁으면 객실명이 "…" 로 잘리고 요금은 항상 오른쪽에 온전히 표시. 할인 중이면 할인가만 분홍으로. */
@media (min-width: 768px) {
    .bs-room-body { flex-direction: row; align-items: center; gap: 6px; }
    .bs-room-name { flex: 1 1 auto; min-width: 0; }
    .bs-room-price { flex: none; margin-left: auto; font-size: 14px; font-weight: 400; color: #000; line-height: 1.5; }
    .bs-room-price s, .bs-room-price .arr, .bs-room-price .unit { display: none; }
    .bs-room-price.is-dc .now { color: var(--bk-pink); font-weight: 600; }
}
/* 모바일: 기존처럼 이름 아래에 "정상가(취소선) → 할인가원" */
@media (max-width: 767px) {
    .bs-room-price .now { color: inherit; }
    .bs-room-price.is-dc .now, .bs-room-price.is-dc .unit { color: var(--bk-pink); font-weight: 600; }
}

/* 예약하기: 스크롤 시 상단에 고정되는 작은 날짜 바 */
.rv-mini { position: fixed; left: 50%; z-index: 1015; transform: translate(-50%, -8px); opacity: 0; pointer-events: none;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--bk-line2); border-radius: 40px;
  background: #fff; color: var(--bk-text); font-size: 14px; font-weight: 500; white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,.10);
  transition: opacity .15s, transform .15s; -webkit-appearance: none; appearance: none; }
.rv-mini.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.rv-mini .bi { color: var(--bk-pink); }
.rv-mini-edit { padding-left: 8px; border-left: 1px solid var(--bk-line); color: var(--bk-pink); font-weight: 700; }
/* 예약현황에서 누르고 들어온 객실 잠깐 강조 */
.rv-card { transition: box-shadow .3s, border-color .3s; }
.rv-card.rv-focus { border-color: var(--bk-pink); box-shadow: 0 0 0 3px rgba(221,16,127,.18); }
@media (max-width: 1024px) { .rv-card.rv-focus { border-radius: 12px; } }
@media (max-width: 767px) { .rv-mini { font-size: 13px; padding: 7px 14px; } }

/* 객실 선택됨 / 하단 예약하기 활성 */
.rv-select-btn.check { display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.rv-select-btn.check .bi { font-size: 18px; line-height: 1; }
.rv-book-btn { transition: background .15s, color .15s; }
.rv-book-btn.ready { background: var(--bk-pink); border-color: var(--bk-pink); color: #fff; -webkit-text-fill-color: #fff; }
.rv-book-btn.ready:hover { background: #C20D6F; border-color: #C20D6F; }
