.booking-page { min-height: 100vh; }
.booking-header { max-width: 1200px; margin: 0 auto; padding: 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.booking-header a { color: var(--cyan); text-decoration: none; }
.booking-header .booking-brand { color: #fff; font-weight: 800; font-size: 19px; }
.booking-main { max-width: 1200px; margin: 0 auto; padding: 48px 24px 96px; }
.booking-intro { margin-bottom: 32px; }
.booking-intro .section-en { color: var(--cyan); }
.booking-intro h1 { font-size: clamp(30px, 5vw, 50px); line-height: 1.35; background: var(--grad); background-clip: text; -webkit-background-clip: text; color: transparent; }
.booking-intro p:last-child { margin-top: 14px; color: var(--muted); }
.booking-card { padding: 28px; border: 1px solid var(--border); border-radius: 18px; background: var(--panel); }
.booking-card h2 { margin-bottom: 12px; font-size: 21px; color: #fff; }
.booking-card > p { color: var(--muted); font-size: 14px; }
.booking-card form { margin-top: 18px; }
.booking-card label { display: block; margin-bottom: 16px; font-weight: 700; font-size: 14px; }
.booking-card input:not([type="checkbox"]), .booking-card select { display: block; width: 100%; margin-top: 6px; padding: 12px; border: 1px solid rgba(151,163,184,.5); border-radius: 9px; background: #0b1425; color: #fff; color-scheme: dark; font: inherit; }
.booking-card input:focus-visible, .booking-card select:focus-visible, .booking-card button:focus-visible, .booking-card a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.booking-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.booking-weekday-picker { margin: 0 0 16px; padding: 0; border: 0; }
.booking-weekday-picker legend { margin-bottom: 9px; font-size: 14px; font-weight: 700; }
.booking-weekday-picker label { display: inline-flex; align-items: center; gap: 5px; margin: 0 12px 8px 0; white-space: nowrap; font-weight: 500; cursor: pointer; }
.booking-weekday-picker input { width: 17px; height: 17px; margin: 0; accent-color: #22d3ee; }
.booking-field-note { margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.booking-availability-list { margin-top: 24px; }
.booking-availability-list ul { margin: 16px 0 0; padding: 0; list-style: none; }
.booking-availability-list li { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 12px 0; border-top: 1px solid var(--border); }
.booking-availability-list li div { display: grid; gap: 4px; }
.booking-availability-list li span { color: var(--muted); font-size: 13px; }
.booking-availability-list li form { flex: none; margin: 0; }
.booking-login-grid, .booking-admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.booking-login-single { grid-template-columns: minmax(0, 600px); }
.booking-narrow { max-width: 620px; }
.booking-button { min-height: 44px; padding: 10px 22px; border: 0; border-radius: 999px; background: var(--grad); color: #fff; font: 700 14px "Noto Sans JP", sans-serif; cursor: pointer; }
.booking-button:hover { filter: brightness(1.13); }
.booking-session { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; padding: 12px 16px; border: 1px solid var(--border); border-radius: 10px; color: var(--muted); overflow-wrap: anywhere; }
.booking-session-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.booking-admin-nav { display: flex; flex-wrap: wrap; gap: 12px; margin: -4px 0 20px; }
.booking-admin-nav a { color: var(--cyan); text-decoration: none; border: 1px solid var(--border); border-radius: 8px; padding: 7px 12px; }
.booking-customer-list { margin-top: 24px; scroll-margin-top: 20px; }
.booking-customer-issue { margin-bottom: 28px; padding: 20px; border: 1px solid var(--border); border-radius: 12px; }
.booking-customer-issue h3 { margin: 0 0 8px; color: #fff; }
.booking-customer-issue > p { color: var(--muted); font-size: 14px; }
.booking-card .booking-customer-issue-form input { max-width: 420px; }
.booking-customer-issue-result { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.booking-issued-password { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid rgba(34,211,238,.4); border-radius: 9px; color: #fff; overflow-wrap: anywhere; }
.booking-issued-password strong { color: var(--cyan); font-size: 20px; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.booking-customer-search { display: grid; grid-template-columns: minmax(220px, 2fr) repeat(2, minmax(155px, 1fr)) minmax(120px, .8fr) auto auto; align-items: end; gap: 12px; }
.booking-customer-search label { margin: 0; }
.booking-card .booking-customer-search input, .booking-card .booking-customer-search select { width: 100%; margin: 6px 0 0; }
.booking-customer-search > a { align-self: center; white-space: nowrap; }
.booking-customer-search a, .booking-customer-pagination a { color: var(--cyan); }
.booking-customer-count { margin: 20px 0 0; }
.booking-customer-table-wrap { margin-top: 14px; overflow-x: auto; border: 1px solid var(--border); border-radius: 10px; }
.booking-customer-table-wrap:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.booking-customer-table { width: 100%; min-width: 990px; border-collapse: collapse; text-align: left; font-size: 13px; }
.booking-customer-table th, .booking-customer-table td { padding: 12px 10px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.booking-customer-table th { color: #fff; background: rgba(151,163,184,.14); font-weight: 700; white-space: nowrap; }
.booking-customer-table tbody tr:last-child td { border-bottom: 0; }
.booking-customer-table tbody tr:nth-child(even) { background: rgba(255,255,255,.025); }
.booking-customer-table td { color: var(--muted); white-space: nowrap; }
.booking-customer-table .booking-customer-email { color: #fff; font-weight: 700; white-space: normal; overflow-wrap: anywhere; min-width: 210px; }
.booking-customer-table .booking-customer-expired { color: #ff9c9c; }
.booking-customer-table form { margin: 0; }
.booking-delete-button { color: #ff9c9c; border-color: rgba(242,105,105,.5); }
.booking-customer-pagination { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.booking-text-button { padding: 6px 10px; border: 1px solid var(--border); border-radius: 8px; background: transparent; color: var(--cyan); cursor: pointer; white-space: nowrap; }
.booking-flash { margin-bottom: 20px; padding: 12px 16px; border-radius: 9px; background: rgba(34,211,238,.12); border: 1px solid rgba(34,211,238,.4); }
.booking-flash.error { background: rgba(242,105,105,.1); border-color: rgba(242,105,105,.5); }
.booking-calendar-wrap { margin-top: 24px; overflow-x: auto; }
.booking-calendar-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.booking-calendar-head nav { display: flex; gap: 12px; }
.booking-calendar-head a { padding: 4px 10px; border: 1px solid var(--border); border-radius: 7px; color: var(--cyan); text-decoration: none; white-space: nowrap; }
.booking-calendar-note { margin: 4px 0 16px; }
.booking-calendar { display: grid; grid-template-columns: repeat(7, minmax(90px, 1fr)); min-width: 700px; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.booking-weekday { padding: 8px 4px; text-align: center; color: var(--cyan); font-weight: 700; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.booking-day { min-height: 122px; padding: 8px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.booking-day > strong { display: block; margin-bottom: 5px; }
.booking-day.booking-empty { background: rgba(255,255,255,.015); }
/* 土曜は青系、日曜は赤系。予約枠の色を邪魔しないよう背景はごく薄くする。 */
.booking-weekday.booking-saturday, .booking-day.booking-saturday > strong { color: #7cb4ff; }
.booking-weekday.booking-sunday, .booking-day.booking-sunday > strong { color: #ff8a8a; }
.booking-weekday.booking-saturday { background: rgba(96,165,250,.12); }
.booking-weekday.booking-sunday { background: rgba(248,113,113,.12); }
.booking-day.booking-saturday { background: rgba(96,165,250,.06); }
.booking-day.booking-sunday { background: rgba(248,113,113,.06); }
.booking-slot { display: block; margin: 5px 0; padding: 5px 6px; border-radius: 7px; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.booking-slot form { margin: 2px 0 0; }
.booking-slot button { padding: 1px 4px; border: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.booking-slot.open { background: rgba(34,211,238,.17); color: #c9f8ff; }
.booking-slot.booked, .booking-slot.mine { background: rgba(139,92,246,.23); color: #e9dfff; }
.booking-slot.closed { background: rgba(255,255,255,.05); color: var(--muted); }
.booking-slot small { display: block; font-size: 11px; }
.booking-slot-trigger { width: 100%; border: 0; text-align: left; cursor: pointer; font: inherit; }
.booking-slot-trigger:hover { background: rgba(139,92,246,.38); }
.booking-slot-trigger:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.booking-dialog { width: min(540px, calc(100vw - 28px)); max-height: min(92vh, 840px); overflow-y: auto; scrollbar-width: none; -ms-overflow-style: none; padding: 26px; border: 1px solid rgba(151,163,184,.45); border-radius: 18px; background: #101827; color: #fff; box-shadow: 0 25px 70px rgba(0,0,0,.55); }
.booking-dialog::-webkit-scrollbar { display: none; }
.booking-dialog::backdrop { background: rgba(2,6,23,.75); }
.booking-dialog-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.booking-dialog h2 { margin: 0; font-size: 22px; }
.booking-dialog h3 { margin: 0 0 8px; font-size: 17px; }
.booking-dialog p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.booking-dialog-close { border: 1px solid var(--border); border-radius: 8px; background: transparent; color: #fff; cursor: pointer; font-size: 21px; line-height: 1; padding: 5px 9px; }
.booking-dialog-details { display: grid; gap: 10px; margin: 18px 0 22px; padding: 16px; border: 1px solid var(--border); border-radius: 10px; }
.booking-dialog-details div { display: grid; gap: 4px; }
.booking-dialog-details [hidden] { display: none; }
.booking-dialog-details dt { color: var(--muted); font-size: 12px; }
.booking-dialog-details dd { margin: 0; overflow-wrap: anywhere; }
.booking-dialog-details a { color: var(--cyan); text-decoration: underline; }
.booking-dialog section { padding-top: 18px; border-top: 1px solid var(--border); }
.booking-dialog section + section { margin-top: 22px; }
.booking-dialog label { display: block; margin: 16px 0; font-size: 14px; font-weight: 700; }
.booking-dialog input[type="date"], .booking-dialog input[type="password"], .booking-dialog select { display: block; width: 100%; margin-top: 6px; padding: 12px; border: 1px solid rgba(151,163,184,.5); border-radius: 9px; background: #0b1425; color: #fff; color-scheme: dark; font: inherit; }
.booking-dialog input:focus-visible, .booking-dialog button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.booking-footer { padding: 24px; text-align: center; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
.booking-footer a { color: var(--cyan); }
@media (max-width: 1100px) {
    .booking-customer-search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .booking-customer-search label:first-of-type { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
    .booking-main { padding: 24px 14px 72px; }
    .booking-login-grid, .booking-admin-grid { grid-template-columns: 1fr; }
    .booking-card { padding: 20px; }
    .booking-session { align-items: flex-start; flex-direction: column; }
    .booking-calendar-head { align-items: flex-start; flex-direction: column; }
    .booking-availability-list li { align-items: flex-start; flex-direction: column; }
    .booking-dialog { padding: 20px; }
}
@media (max-width: 420px) {
    .booking-form-row { grid-template-columns: 1fr; gap: 0; }
    .booking-customer-search { grid-template-columns: 1fr; }
    .booking-customer-search label:first-of-type { grid-column: auto; }
}
