/* =====================================================
   nobinobi study — Soft UI Design System
   다이어리 + 스터디 기록장 감성
   ===================================================== */

/* ── 디자인 토큰 ─────────────────────────────────── */
:root {
  --bg:          #f6f1e8;
  --surface:     #fdfaf4;
  --border:      #e8e0d0;
  --ink:         #2c2418;
  --ink-2:       #6b5f4e;
  --ink-3:       #a89880;
  --primary:     #5c7a5f;
  --primary-dk:  #4a6449;
  --danger:      #c0392b;
  --warn:        #b07c2a;
  --success:     #2e7d52;
  --radius-card: 16px;
  --radius-btn:  10px;
  --shadow-soft: 6px 6px 14px rgba(100,80,50,0.10),
                 -3px -3px 8px rgba(255,255,245,0.70);
  --shadow-inset: inset 2px 2px 6px rgba(100,80,50,0.10),
                  inset -2px -2px 6px rgba(255,255,245,0.80);
  --max-w: 720px;
}

/* ── 1. Reset ────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

/* ── 2. Base ─────────────────────────────────────── */
body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Paper 질감 — 아주 흐린 노이즈 패턴 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

/* ── 3. Layout ───────────────────────────────────── */
.page-wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 20px;
}

.page-main {
  flex: 1;
  padding-block: 28px;
  position: relative;
  z-index: 1;
}

/* ── 4. Nav ──────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(100,80,50,0.08);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 12px;
}

.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.site-nav__brand:hover {
  text-decoration: none;
}

.brand-icon {
  font-size: 20px;
  line-height: 1;
}

.brand-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dk);
  letter-spacing: -0.02em;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  margin-left: 8px;
}

.site-nav__links a {
  padding: 5px 11px;
  border-radius: var(--radius-btn);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.site-nav__links a:hover {
  background: rgba(92,122,95,0.10);
  color: var(--primary);
  text-decoration: none;
}

.site-nav__links .nav-admin {
  color: var(--warn);
}
.site-nav__links .nav-admin:hover {
  background: rgba(176,124,42,0.10);
  color: var(--warn);
}

.site-nav__user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding-left: 12px;
  border-left: 1px solid var(--border);
  flex-shrink: 0;
}

.user-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  white-space: nowrap;
}

@media (max-width: 479px) {
  .user-name { display: none; }
  .site-nav__links a { padding: 5px 8px; font-size: 13px; }
  .brand-name { font-size: 14px; }
}

/* ── 5. Toast ────────────────────────────────────── */
.toast-area {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  width: min(calc(100vw - 32px), var(--max-w));
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  font-size: 14px;
  font-weight: 500;
  pointer-events: all;
  animation: toastIn 0.25s cubic-bezier(0.22,1,0.36,1);
  transition: opacity 0.3s, transform 0.3s;
}

.toast.toast-hide {
  opacity: 0;
  transform: translateY(-8px);
}

.toast-icon {
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1.4;
}

.toast span:nth-child(2) {
  flex: 1;
  color: var(--ink);
}

.toast-close {
  flex-shrink: 0;
  color: var(--ink-3);
  font-size: 13px;
  padding: 0 2px;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.15s;
}
.toast-close:hover { opacity: 1; }

/* 카테고리별 테두리 색 */
.toast-success { border-left: 4px solid var(--success); }
.toast-error   { border-left: 4px solid var(--danger); }
.toast-warning { border-left: 4px solid var(--warn); }
.toast-info    { border-left: 4px solid #4a90d9; }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(-10px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── 6. Card ─────────────────────────────────────── */
.card {
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  border-top-color: rgba(255,255,248,0.90);
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

.card + .card {
  margin-top: 16px;
}

/* ── 7. Button ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-2);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.15s, transform 0.10s, background 0.15s;
  user-select: none;
  letter-spacing: 0.01em;
}
.btn:hover {
  text-decoration: none;
  color: var(--ink);
  box-shadow: 8px 8px 18px rgba(100,80,50,0.13),
              -4px -4px 10px rgba(255,255,245,0.80);
}
.btn:active {
  box-shadow: var(--shadow-inset);
  transform: scale(0.98);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary-dk);
}
.btn-primary:hover {
  background: var(--primary-dk);
  color: #fff;
}

.btn-danger {
  background: var(--danger);
  color: #fff;
  border-color: #a02e23;
}
.btn-danger:hover {
  background: #a02e23;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: var(--ink-2);
}
.btn-ghost:hover {
  background: rgba(100,80,50,0.07);
  box-shadow: none;
}
.btn-ghost:active {
  box-shadow: none;
  background: rgba(100,80,50,0.12);
}

.btn-sm {
  padding: 5px 12px;
  font-size: 13px;
}

.btn-full {
  width: 100%;
}

/* ── 8. Badge ────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.badge-success {
  background: rgba(46,125,82,0.12);
  color: var(--success);
  border-color: rgba(46,125,82,0.25);
}

.badge-warn {
  background: rgba(176,124,42,0.12);
  color: var(--warn);
  border-color: rgba(176,124,42,0.25);
}

.badge-danger {
  background: rgba(192,57,43,0.12);
  color: var(--danger);
  border-color: rgba(192,57,43,0.25);
}

.badge-muted {
  background: rgba(100,80,50,0.08);
  color: var(--ink-3);
  border-color: var(--border);
}

/* ── 9. Footer ───────────────────────────────────── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.site-footer .page-wrap {
  padding-block: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--primary);
  font-weight: 500;
}

/* ── 10. Utility ─────────────────────────────────── */
.text-muted  { color: var(--ink-3); }
.text-sm     { font-size: 13px; }
.text-xs     { font-size: 12px; }
.text-center { text-align: center; }
.text-bold   { font-weight: 700; }

.mt-1  { margin-top:  4px; }
.mt-2  { margin-top:  8px; }
.mt-3  { margin-top: 12px; }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }

.mb-2  { margin-bottom:  8px; }
.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }

.gap-2 { gap:  8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-1      { flex: 1; }
.flex-wrap   { flex-wrap: wrap; }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-block: 20px;
}

/* 섹션 제목 스타일 */
.page-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

/* ── 12. 결제 안내 모달 ──────────────────────── */

/* 오버레이 (배경 어둠) */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(44, 36, 24, 0.52);
  display: flex;
  align-items: flex-end;      /* 모바일: 아래서 올라옴 */
  justify-content: center;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

@media (min-width: 480px) {
  .modal-overlay {
    align-items: center;
    padding: 24px 20px;
  }
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

/* 모달 박스 */
.modal-box {
  background: var(--surface);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  box-shadow: 0 -4px 40px rgba(44,36,24,0.22);
  width: 100%;
  max-width: 420px;
  transform: translateY(24px);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

@media (min-width: 480px) {
  .modal-box {
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft), 0 24px 60px rgba(44,36,24,0.22);
    transform: translateY(12px) scale(0.97);
  }
}

.modal-overlay.is-open .modal-box {
  transform: translateY(0) scale(1);
}

/* 헤더 */
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border);
}

.modal-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.modal-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--ink-3);
  background: rgba(100,80,50,0.07);
  cursor: pointer;
  border: none;
  transition: background 0.15s, color 0.15s;
}
.modal-close:hover { background: rgba(100,80,50,0.14); color: var(--ink); }

/* 본문 */
.modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* 금액 요약 박스 */
.modal-amount-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 14px 16px;
  box-shadow: var(--shadow-inset);
}

.modal-amount-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
}

.modal-amount-row.is-total { margin-top: 2px; }

.modal-amount-label { font-size: 13.5px; color: var(--ink-2); }
.modal-amount-value { font-size: 13.5px; font-weight: 600; color: var(--ink); }

.modal-amount-divider {
  border-top: 1px dashed var(--border);
  margin: 8px 0;
}

.modal-total {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

/* 계좌 정보 박스 */
.modal-account-box {
  background: linear-gradient(135deg, #f0f7f1 0%, #eef6f2 100%);
  border: 1px solid rgba(92,122,95,0.22);
  border-radius: var(--radius-btn);
  padding: 14px 16px;
}

.modal-account-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.modal-account-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.modal-account-bank {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dk);
}

.modal-account-number {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
  font-feature-settings: "tnum";
}

.modal-account-holder {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 4px;
}

/* 안내 문구 */
.modal-note {
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.65;
  text-align: center;
  padding: 0 4px;
}

/* 노래 신청 */
.modal-song-box {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.modal-song-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

.modal-song-input {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--bg);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  box-shadow: var(--shadow-inset);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.modal-song-input::placeholder { color: var(--ink-3); }
.modal-song-input:focus {
  border-color: var(--primary);
  box-shadow: var(--shadow-inset), 0 0 0 3px rgba(92,122,95,0.12);
}

/* 계좌번호 복사 버튼 */
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1.5px solid rgba(92,122,95,0.35);
  background: rgba(92,122,95,0.08);
  color: var(--primary-dk);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  margin-left: 6px;
  transition: background 0.15s, border-color 0.15s, transform 0.10s;
  flex-shrink: 0;
}
.copy-btn:hover {
  background: rgba(92,122,95,0.16);
}
.copy-btn:active {
  transform: scale(0.95);
}
.copy-btn.is-copied {
  border-color: var(--success);
  background: rgba(46,125,82,0.12);
  color: var(--success);
}

.modal-song-hint {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.5;
}

/* 푸터 */
.modal-footer {
  display: flex;
  gap: 10px;
  padding: 0 20px 20px;
}

.modal-footer .btn { flex: 1; justify-content: center; }

/* ── 13. Form Fields ─────────────────────────── */
.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 16px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="number"],
.field input[type="password"],
.field select {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--bg);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: var(--shadow-inset);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  -webkit-appearance: none;
}
.field input::placeholder { color: var(--ink-3); }
.field input:focus,
.field select:focus {
  border-color: var(--primary);
  box-shadow: var(--shadow-inset), 0 0 0 3px rgba(92,122,95,0.12);
}

.field-hint {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.5;
}

/* ── 13. Stats Grid (어드민) ─────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.stat-card {
  text-align: center;
  padding: 18px 12px;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

@media (max-width: 479px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── 14. Section Header ──────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: var(--warn);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
}

/* ── 15. Row List (표 대체) ──────────────────── */
.row-list {
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  border-top-color: rgba(255,255,248,0.90);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.row-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.row-item:last-child { border-bottom: none; }

.row-item:hover { background: rgba(100,80,50,0.03); }

/* 날짜 사이드바 (예약 카드) */
.res-date-bar {
  width: 64px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  gap: 2px;
  color: #fff;
  font-weight: 500;
}
.res-date-bar .d-month { font-size: 11px; opacity: 0.85; }
.res-date-bar .d-day   { font-size: 28px; font-weight: 700; line-height: 1; }
.res-date-bar .d-dow   { font-size: 11px; opacity: 0.85; }
.res-date-bar.is-approved { background: var(--primary); }
.res-date-bar.is-pending  { background: var(--warn); }
.res-date-bar.is-cancelled { background: var(--ink-3); }

/* 예약 카드 */
.res-card {
  display: flex;
  align-items: stretch;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  border-top-color: rgba(255,255,248,0.90);
  transition: box-shadow 0.18s, transform 0.18s;
}
.res-card:hover {
  transform: translateY(-2px);
  box-shadow: 8px 8px 20px rgba(100,80,50,0.13),
              -3px -3px 10px rgba(255,255,245,0.80);
}
.res-card.is-cancelled { opacity: 0.60; }

.res-card__body {
  flex: 1;
  background: var(--surface);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.res-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.res-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* 어드민 pending 강조 카드 */
.pending-item {
  display: flex;
  align-items: stretch;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(176,124,42,0.30);
  border-left: 4px solid var(--warn);
}

.pending-item__date {
  width: 60px;
  flex-shrink: 0;
  background: var(--warn);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 6px;
  gap: 1px;
  font-weight: 500;
}
.pending-item__date .d-month { font-size: 10px; opacity: 0.85; }
.pending-item__date .d-day   { font-size: 24px; font-weight: 700; line-height: 1; }
.pending-item__date .d-dow   { font-size: 10px; opacity: 0.85; }

.pending-item__body {
  flex: 1;
  background: var(--surface);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* 어드민 세션 행 */
.session-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.session-row:last-child { border-bottom: none; }
.session-row.is-past    { opacity: 0.55; }

.session-row__chip {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  text-align: center;
  line-height: 1.2;
}
.session-row__chip.is-open   { background: rgba(92,122,95,0.12); color: var(--primary-dk); }
.session-row__chip.is-closed { background: rgba(100,80,50,0.08); color: var(--ink-3); }

/* ── 11. 다중 날짜 선택 UI ───────────────────────── */

/* 원형 커스텀 체크박스 */
.checkbox-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-circle input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.checkbox-circle__dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg);
  box-shadow: var(--shadow-inset);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
  font-size: 13px;
  color: transparent;
  font-weight: 700;
  user-select: none;
}

.checkbox-circle input:checked + .checkbox-circle__dot {
  background: var(--primary);
  border-color: var(--primary-dk);
  color: #fff;
  box-shadow: 0 2px 6px rgba(92,122,95,0.35);
}

/* 선택 가능한 카드 */
.session-card.is-selectable {
  cursor: pointer;
}

/* 선택된 카드 강조 */
.session-card.is-selected {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 2px rgba(92,122,95,0.18), var(--shadow-soft);
}

.session-card.is-selected .session-card__date {
  background: var(--primary-dk);
}

/* 다중 예약 하단 고정 바 */
.bulk-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: var(--surface);
  border-top: 2px solid var(--primary);
  box-shadow: 0 -4px 24px rgba(92,122,95,0.18);
  transform: translateY(105%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.bulk-bar.is-visible {
  transform: translateY(0);
}

.bulk-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
}

.bulk-bar__label {
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 500;
}

.bulk-bar__count {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-top: 2px;
}

/* JS 연동 클래스 ──────────────────────────── */

/* 버튼 로딩 상태 (.is-loading) */
.btn.is-loading {
  opacity: 0.65;
  pointer-events: none;
  cursor: not-allowed;
}
.btn.is-loading::after {
  content: '';
  display: inline-block;
  width: 11px;
  height: 11px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: btn-spin 0.55s linear infinite;
  margin-left: 6px;
  vertical-align: middle;
  flex-shrink: 0;
}
@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

/* 카드 제거 애니메이션 (.is-removing) */
.is-removing {
  pointer-events: none;
  animation: card-remove 0.40s cubic-bezier(0.55, 0, 1, 0.45) forwards;
}
@keyframes card-remove {
  0%   { opacity: 1;   transform: scale(1)    translateX(0);  }
  30%  { opacity: 0.5; transform: scale(0.99) translateX(6px); }
  100% { opacity: 0;   transform: scale(0.96) translateX(-10px); }
}

/* 스탬프 인 애니메이션 (.stamp-anim) */
.stamp-anim {
  animation: stamp-in 0.60s cubic-bezier(0.22, 1, 0.36, 1) both;
  transform-origin: center;
}
@keyframes stamp-in {
  0%   { transform: scale(2.4) rotate(-12deg); opacity: 0; filter: blur(3px); }
  55%  { transform: scale(0.88) rotate(3deg);  opacity: 1; filter: blur(0);   }
  75%  { transform: scale(1.10) rotate(-1deg); }
  100% { transform: scale(1)    rotate(0deg);  }
}
