/* 페이지별 배치만 (색·글꼴·버튼 모양은 components.css 것만 사용) */

/* 로그인 */
.login { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: var(--space-4) var(--page-x); max-width: 440px; margin: 0 auto; gap: var(--space-3); }
.login-brand { text-align: center; }
.login-brand .brand-mark { width: 56px; height: 56px; border-radius: var(--radius-card); margin: 0 auto var(--space-2); display: grid; place-items: center;
  background: var(--color-primary-soft); color: var(--color-primary); }
.login-brand .brand-mark .icon { width: 28px; height: 28px; }
.login-brand h1 { font-size: var(--font-title); margin: 0; }
.login-brand p { margin: 4px 0 0; }
.login-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 var(--space-2); }
.login-help { text-align: center; }

/* 좌석 예약: 아래 고정 요약 */
.booking-bar { position: sticky; bottom: calc(var(--nav-height) + env(safe-area-inset-bottom)); z-index: 5; margin: 0 calc(-1 * var(--page-x)) calc(-1 * var(--space-4));
  padding: 12px var(--page-x) var(--space-2); background: var(--color-surface); border-top: var(--border); display: flex; flex-direction: column; gap: 12px; }
.booking-summary { display: flex; align-items: center; gap: 12px; }
.booking-summary .main { flex: 1; min-width: 0; }
.booking-summary .title { font-weight: var(--weight-bold); }

/* 마이페이지 */
.profile { display: flex; align-items: center; gap: var(--space-2); }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--color-primary-soft); color: var(--color-primary); font-weight: var(--weight-bold); flex: none; }
.profile .name { font-size: var(--font-card-title); font-weight: var(--weight-bold); }
.resv-card { display: flex; flex-direction: column; gap: var(--space-2); }
.resv-head { display: flex; align-items: center; gap: 12px; }
.resv-head .seat-big { font-size: 28px; font-weight: var(--weight-bold); color: var(--color-primary); line-height: 1.2; }

/* 관리자 요약 */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: var(--space-1); }
.stat { text-align: center; padding: var(--space-1) 0; }
.stat b { display: block; font-size: var(--font-title); }
.stat span { font-size: var(--font-sub); color: var(--color-text-sub); }
.toolbar { display: flex; flex-wrap: wrap; gap: var(--space-1); align-items: flex-end; }
.toolbar .field { flex: 1 1 140px; }
.prose { white-space: pre-wrap; margin: 0; }

/* 개인정보 안내문 */
.consent-list { margin: 0; display: flex; flex-direction: column; gap: var(--space-1); }
.consent-list dt { font-weight: var(--weight-bold); font-size: var(--font-sub); }
.consent-list dd { margin: 0 0 var(--space-1); color: var(--color-text-sub); font-size: var(--font-sub); }
.consent-check { align-items: flex-start; }
.consent-check input { margin-top: 2px; flex: none; }

/* 접속 QR 코드 + 인쇄 */
.qr-box { display: grid; place-items: center; }
.qr-box svg { width: 100%; max-width: 280px; height: auto; }
@media print {
  body { background: #fff; }
  .app-header, .bottom-nav, .notice-box, #qrPrint, .page > p { display: none !important; }
  .qr-card { border: 0; }
  .qr-box svg { max-width: 360px; }
}
