/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #FF385C;
  --primary-hover: #E0294A;
  --primary-light: #FFF0F3;
  --text-primary: #222222;
  --text-secondary: #717171;
  --text-tertiary: #999999;
  --bg-white: #FFFFFF;
  --bg-gray: #F7F7F7;
  --border: #DDDDDD;
  --border-light: #EBEBEB;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.08);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.12);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.16);
  --shadow-xl: 0 8px 28px rgba(0,0,0,0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --cal-available: #FFFFFF;
  --cal-confirmed: #22C55E;
  --cal-confirmed-light: #DCFCE7;
  --cal-pending: #F97316;
  --cal-pending-light: #FFF7ED;
  --cal-blocked: #9CA3AF;
  --cal-blocked-light: #F3F4F6;
  --cal-today: #3B82F6;
  --cal-past: #F9FAFB;
  --transition: 0.2s ease;
  --max-width: 480px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--bg-gray);
  line-height: 1.5;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

#app {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--bg-white);
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
}

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

input, select, textarea {
  font-family: inherit;
  font-size: 16px;
  -webkit-appearance: none;
  appearance: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Global SVG sizing */
svg {
  display: inline-block;
  vertical-align: middle;
}

/* === HEADER === */
.header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-white);
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 52px;
}

.header-back {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition);
  flex-shrink: 0;
}

.header-back:active {
  background: var(--bg-gray);
}

.header-back svg {
  width: 20px;
  height: 20px;
}

.header-title {
  flex: 1;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  margin: 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-spacer {
  width: 36px;
  flex-shrink: 0;
}

/* === MAIN PAGE === */
.main-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.main-hero {
  padding: 32px 24px 24px;
  text-align: center;
}

.main-site-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.main-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.6;
}

.main-footer {
  text-align: center;
  font-size: 11px;
  color: #ccc;
  padding: 32px 0 24px;
  letter-spacing: 0.3px;
}

/* === IMAGE SLIDER === */
.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0 0 24px;
}

.slider-track {
  display: flex;
  transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}

.slider-track.dragging {
  transition: none;
}

.slider-slide {
  min-width: 100%;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.slider-slide-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 20px;
  text-align: center;
}

.slider-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-slide-icon {
  font-size: 40px;
  margin-bottom: 12px;
  opacity: 0.9;
}

.slider-slide-label {
  font-size: 16px;
  font-weight: 500;
  opacity: 0.95;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 12px 0;
}

.slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  transition: all var(--transition);
}

.slider-dot.active {
  background: var(--text-primary);
  width: 20px;
  border-radius: 4px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 2;
  transition: opacity var(--transition);
}

.slider-arrow:active {
  background: rgba(255,255,255,1);
}

.slider-arrow.left { left: 10px; }
.slider-arrow.right { right: 10px; }

.slider-arrow svg {
  width: 16px;
  height: 16px;
}

/* === BUTTONS === */
.main-buttons {
  padding: 0 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  transition: all var(--transition);
  gap: 8px;
  min-height: 52px;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:active {
  background: var(--primary-hover);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:active {
  background: var(--bg-gray);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 14px;
  min-height: 40px;
  border-radius: var(--radius-sm);
}

.btn-danger {
  background: #FEE2E2;
  color: #DC2626;
}

.btn-danger:active {
  background: #FECACA;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-full {
  width: 100%;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  font-weight: 400;
}

.btn-ghost:active {
  background: var(--bg-gray);
}

/* === CALENDAR === */
.calendar-container {
  padding: 0 12px;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 8px;
}

.calendar-month-label {
  font-size: 18px;
  font-weight: 700;
}

.calendar-nav {
  display: flex;
  gap: 4px;
}

.calendar-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.calendar-nav-btn:active {
  background: var(--bg-gray);
}

.calendar-nav-btn:disabled {
  opacity: 0.3;
  pointer-events: none;
}

.calendar-nav-btn svg {
  width: 18px;
  height: 18px;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 4px;
}

.calendar-weekday {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-tertiary);
  padding: 4px 0;
}

.calendar-weekday:first-child {
  color: var(--primary);
}

.calendar-weekday:last-child {
  color: var(--cal-today);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.calendar-cell {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  position: relative;
  cursor: pointer;
  transition: all var(--transition);
  padding: 2px;
  min-height: 48px;
}

.calendar-cell:active:not(.disabled):not(.past) {
  transform: scale(0.95);
}

.calendar-cell.empty {
  cursor: default;
}

.calendar-cell .cell-date {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  z-index: 1;
}

.calendar-cell .cell-name {
  font-size: 9px;
  font-weight: 400;
  line-height: 1.1;
  margin-top: 1px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  z-index: 1;
}

/* Calendar cell states */
.calendar-cell.today {
  box-shadow: inset 0 0 0 2px var(--cal-today);
}

.calendar-cell.past {
  cursor: not-allowed;
}

.calendar-cell.past .cell-date {
  color: var(--text-tertiary);
  opacity: 0.5;
}

.calendar-cell.available:not(.past) {
  background: var(--cal-available);
}

.calendar-cell.available:not(.past):hover {
  background: var(--primary-light);
}

.calendar-cell.confirmed {
  background: var(--cal-confirmed-light);
}

.calendar-cell.confirmed .cell-date {
  color: #16A34A;
}

.calendar-cell.confirmed .cell-name {
  color: #16A34A;
}

.calendar-cell.pending {
  background: var(--cal-pending-light);
}

.calendar-cell.pending .cell-date {
  color: #EA580C;
}

.calendar-cell.pending .cell-name {
  color: #EA580C;
}

.calendar-cell.blocked {
  background: var(--cal-blocked-light);
}

.calendar-cell.blocked .cell-date {
  color: var(--cal-blocked);
}

.calendar-cell.blocked .cell-name {
  color: var(--cal-blocked);
}

.calendar-cell.disabled {
  cursor: not-allowed;
  opacity: 0.85;
}

.calendar-cell.disabled::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 20%;
  right: 20%;
  height: 1px;
  background: currentColor;
  opacity: 0.3;
}

.calendar-cell.selected {
  box-shadow: inset 0 0 0 2px var(--primary);
  background: var(--primary-light);
}

.calendar-cell.range {
  background: var(--primary-light);
}

/* === LEGEND === */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 20px;
  justify-content: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}

.legend-dot.available {
  background: var(--cal-available);
  border: 1px solid var(--border);
}

.legend-dot.confirmed {
  background: var(--cal-confirmed);
}

.legend-dot.pending {
  background: var(--cal-pending);
}

.legend-dot.blocked {
  background: var(--cal-blocked);
}

/* === RESERVATION FORM (Bottom Sheet) === */
.bottom-sheet-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bottom-sheet-overlay.active {
  opacity: 1;
}

.bottom-sheet {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: var(--max-width);
  background: var(--bg-white);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  z-index: 201;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
  transform: translateX(-50%) translateY(100%);
  padding-bottom: var(--safe-bottom);
}

.bottom-sheet.active {
  transform: translateX(-50%) translateY(0);
}

.bottom-sheet-handle {
  display: flex;
  justify-content: center;
  padding: 12px 0 8px;
}

.bottom-sheet-handle-bar {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
}

.sheet-header {
  padding: 8px 24px 16px;
  border-bottom: 1px solid var(--border-light);
}

.sheet-title {
  font-size: 18px;
  font-weight: 700;
}

.sheet-body {
  padding: 20px 24px;
}

/* === FORM ELEMENTS === */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--text-primary);
  background: var(--bg-white);
  transition: border-color var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--text-primary);
}

.form-input::placeholder {
  color: var(--text-tertiary);
}

.form-input:disabled {
  background: var(--bg-gray);
  color: var(--text-tertiary);
}

.form-select {
  width: 100%;
  padding: 14px 40px 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--text-primary);
  background: var(--bg-white) url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23717171' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;
  transition: border-color var(--transition);
  outline: none;
}

.form-select:focus {
  border-color: var(--text-primary);
}

.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--text-primary);
  background: var(--bg-white);
  resize: vertical;
  min-height: 80px;
  outline: none;
  transition: border-color var(--transition);
}

.form-textarea:focus {
  border-color: var(--text-primary);
}

.form-date-row {
  display: flex;
  gap: 12px;
}

.form-date-row .form-group {
  flex: 1;
}

.form-hint {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 4px;
}

.form-error {
  font-size: 13px;
  color: var(--primary);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* === RESERVATION SUCCESS === */
.success-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 40px 24px;
  text-align: center;
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--cal-confirmed-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.success-icon svg {
  width: 36px;
  height: 36px;
  color: var(--cal-confirmed);
}

.success-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.success-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.success-info {
  width: 100%;
  background: var(--bg-gray);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 32px;
  text-align: left;
}

.success-info-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}

.success-info-row:not(:last-child) {
  border-bottom: 1px solid var(--border-light);
}

.success-info-label {
  color: var(--text-secondary);
}

.success-info-value {
  font-weight: 500;
  text-align: right;
  max-width: 60%;
}

/* === ADMIN PAGES === */
.auth-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 40px 24px;
}

.auth-card {
  width: 100%;
  max-width: 360px;
}

.auth-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.auth-icon svg {
  width: 24px;
  height: 24px;
  color: var(--text-secondary);
}

.auth-title {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.auth-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.6;
}

.auth-form {
  width: 100%;
}

.auth-link {
  display: block;
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px;
}

.auth-link:active {
  color: var(--text-primary);
}

.auth-info-box {
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #9A3412;
  line-height: 1.6;
}

/* === ADMIN DASHBOARD === */
.admin-dashboard {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.admin-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-white);
  position: sticky;
  top: 52px;
  z-index: 50;
}

.admin-tab {
  flex: 1;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}

.admin-tab.active {
  color: var(--text-primary);
  border-bottom-color: var(--text-primary);
  font-weight: 600;
}

.admin-tab:active {
  background: var(--bg-gray);
}

.admin-content {
  flex: 1;
  padding-bottom: 80px;
}

.admin-fab {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  max-width: var(--max-width);
  width: calc(100% - 48px);
  z-index: 90;
}

.admin-fab .btn {
  box-shadow: var(--shadow-lg);
}

/* === RESERVATION LIST === */
.list-container {
  padding: 16px;
}

.list-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}

.list-empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.list-empty-text {
  font-size: 15px;
}

.list-filter {
  display: flex;
  gap: 8px;
  padding: 0 0 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.list-filter::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: var(--bg-white);
  transition: all var(--transition);
}

.filter-chip.active {
  background: var(--text-primary);
  color: white;
  border-color: var(--text-primary);
}

.filter-chip:active {
  transform: scale(0.95);
}

/* === RESERVATION CARD === */
.res-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
  transition: box-shadow var(--transition);
}

.res-card:active {
  box-shadow: var(--shadow-sm);
}

.res-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.res-card-name {
  font-size: 16px;
  font-weight: 600;
}

.res-card-status {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.res-card-status.confirmed {
  background: var(--cal-confirmed-light);
  color: #16A34A;
}

.res-card-status.pending {
  background: var(--cal-pending-light);
  color: #EA580C;
}

.res-card-status.blocked {
  background: var(--cal-blocked-light);
  color: #6B7280;
}

.res-card-dates {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.res-card-dates svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.res-card-arrow {
  color: var(--text-tertiary);
}

.res-card-memo {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 8px 0 0;
  border-top: 1px solid var(--border-light);
  margin-top: 8px;
}

.res-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.res-card-actions .btn {
  flex: 1;
}

/* === MODAL === */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.modal-overlay.active {
  opacity: 1;
}

.modal {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 400px;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform 0.2s ease;
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.modal-header {
  padding: 20px 20px 0;
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
}

.modal-body {
  padding: 16px 20px;
}

.modal-footer {
  padding: 0 20px 20px;
  display: flex;
  gap: 8px;
}

.modal-footer .btn {
  flex: 1;
}

/* === DATE DETAIL (Admin calendar click) === */
.date-detail {
  padding: 16px 20px;
}

.date-detail-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.date-detail-empty {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 20px 0;
  text-align: center;
}

.date-detail-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

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

/* === TOAST === */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  max-width: calc(var(--max-width) - 48px);
  width: calc(100% - 48px);
  background: var(--text-primary);
  color: white;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  z-index: 500;
  box-shadow: var(--shadow-lg);
  transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
  text-align: center;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

.toast.error {
  background: #DC2626;
}

/* === STATUS SELECT (Admin) === */
.status-select-group {
  display: flex;
  gap: 8px;
}

.status-option {
  flex: 1;
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  transition: all var(--transition);
  color: var(--text-secondary);
}

.status-option.active-confirmed {
  border-color: var(--cal-confirmed);
  background: var(--cal-confirmed-light);
  color: #16A34A;
}

.status-option.active-pending {
  border-color: var(--cal-pending);
  background: var(--cal-pending-light);
  color: #EA580C;
}

.status-option.active-blocked {
  border-color: var(--cal-blocked);
  background: var(--cal-blocked-light);
  color: #6B7280;
}

/* === RESPONSIVE === */
@media (min-width: 481px) {
  #app {
    box-shadow: var(--shadow-md);
  }

  .calendar-cell {
    min-height: 56px;
  }

  .calendar-cell .cell-name {
    font-size: 10px;
  }
}

@media (min-width: 768px) {
  :root {
    --max-width: 520px;
  }
}

/* === UTILITIES === */
.hidden {
  display: none !important;
}

.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.text-center { text-align: center; }

/* === ANIMATIONS === */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.fade-in {
  animation: fadeIn 0.3s ease;
}

.slide-up {
  animation: slideUp 0.4s ease;
}

/* === LOADING === */
.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Admin logout button */
.admin-header-actions {
  display: flex;
  gap: 8px;
}

.admin-logout-btn {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.admin-logout-btn:active {
  background: var(--bg-gray);
}
