/* ═══════════════════════════════════════════════
   스토브 출석 관리 — 디자인 시스템
   B안 흑백 + Pretendard
   ═══════════════════════════════════════════════ */

:root {
  --bg:          #FFFFFF;
  --bg-card:     #FFFFFF;
  --bg-quote:    #F9FAFB;
  --bg-input:    #F9FAFB;
  --text-primary:  #09090B;
  --text-sub:      #3F3F46;
  --text-muted:    #71717A;
  --text-placeholder: #A1A1AA;
  --border:        #E4E4E7;
  --border-hover:  #A1A1AA;
  --border-focus:  #09090B;
  --divider:       #F4F4F5;

  /* 출석 상태 색상 */
  --attend:      #059669;
  --attend-bg:   #ECFDF5;
  --absent:      #DC2626;
  --absent-bg:   #FEF2F2;
  --holiday:     #2563EB;
  --holiday-bg:  #EFF6FF;
  --unset:       #A1A1AA;
  --unset-bg:    #F4F4F5;

  --font: 'Pretendard', -apple-system, sans-serif;
  --radius-sm:   8px;
  --radius-card: 12px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.08);
  --transition:  all 0.18s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: var(--font); }

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 16px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600; cursor: pointer; transition: var(--transition); border: none;
}
.btn-primary { background: #09090B; color: #fff; }
.btn-primary:hover { background: #27272A; }
.btn-secondary { background: transparent; color: var(--text-sub); border: 1.5px solid var(--border); }
.btn-secondary:hover { border-color: var(--border-hover); color: var(--text-primary); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 12px; }

.hidden { display: none !important; }
.spinner {
  width: 20px; height: 20px;
  border: 2.5px solid var(--border); border-top-color: var(--text-primary);
  border-radius: 50%; animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
