:root {
  --sand-50: #FBF6EE;
  --sand-100: #F1E6D2;
  --sand-200: #E7D6B8;
  --teal-900: #0B3D3A;
  --teal-800: #10504B;
  --teal-700: #146B63;
  --teal-600: #1B8078;
  --emerald-500: #1F9E7A;
  --emerald-100: #DCF1E7;
  --brass-500: #C8862B;
  --brass-100: #F5E6CC;
  --ink-900: #10201D;
  --ink-700: #395551;
  --danger: #B5432E;
  --danger-100: #F6DFD9;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-hover: 0 18px 40px -18px rgba(11, 61, 58, 0.35);
  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--sand-50);
  color: var(--ink-900);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0 0 0.4em;
  color: var(--teal-900);
  font-weight: 600;
  line-height: 1.15;
}

p { margin: 0 0 1em; max-width: 62ch; }

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

:focus-visible {
  outline: 3px solid var(--emerald-500);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--teal-700); color: white; }
.btn-primary:hover { background: var(--teal-800); }
.btn-outline { background: transparent; color: var(--teal-700); border: 1.5px solid var(--teal-700); }
.btn-outline:hover { background: var(--teal-700); color: white; }
.btn-danger { background: var(--danger); color: white; }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}
.pill-available { background: var(--emerald-100); color: var(--teal-900); }
.pill-booked { background: var(--brass-100); color: #7A5417; }
.pill-inactive { background: var(--sand-200); color: var(--ink-700); }
.pill-pending { background: var(--brass-100); color: #7A5417; }
.pill-approved { background: var(--emerald-100); color: var(--teal-900); }
.pill-rejected { background: var(--danger-100); color: var(--danger); }

.card {
  background: white;
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal-900);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--sand-200);
  border-radius: var(--radius-sm);
  background: var(--sand-50);
  color: var(--ink-900);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal-700); }
.field textarea { resize: vertical; min-height: 90px; }
.field-hint { font-size: 0.82rem; color: var(--ink-700); margin-top: 4px; }
.field-error { font-size: 0.82rem; color: var(--danger); margin-top: 4px; }

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal-900);
  color: white;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,0.4);
  z-index: 999;
  max-width: 90vw;
}
.toast.error { background: var(--danger); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
