/* ─────────────────────────────────────────────────────────────────────
   Everglades Holiday Park theme for Airboat Ops
   Brand palette pulled from evergladesholidaypark.com
   ───────────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@300;400;500;600;700&family=Barlow+Condensed:wght@500;600;700&display=swap');

:root {
  --ehp-orange:        #f37021;
  --ehp-orange-dark:   #d45a13;
  --ehp-orange-soft:   #fef0e6;
  --ehp-teal:          #0d4a4a;
  --ehp-teal-dark:     #083333;
  --ehp-teal-soft:     #e8f0f0;
  --ehp-gold:          #d9a441;
  --ehp-cream:         #faf6ee;
  --ehp-ink:           #1a2a2a;
  --ehp-muted:         #5a6b6b;
  --ehp-border:        #d8d2c4;
  --ehp-success:       #2f6f3d;
  --ehp-warning:       #b85c00;
  --ehp-danger:        #b21f1f;

  /* Brand palette post-login: orange header, swamp-green body. */
  --ehp-green:         #1f5d3f;     /* swamp green */
  --ehp-green-dark:    #154027;
  --ehp-headerbg:      var(--ehp-orange);
  --ehp-headerbg-dark: var(--ehp-orange-dark);
  --ehp-bodybg:        var(--ehp-green);

  --font-display: "Bebas Neue", "Oswald", "Barlow Condensed", Impact, sans-serif;
  --font-body:    "Barlow", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body {
  background: var(--ehp-bodybg) !important;
  color: var(--ehp-ink) !important;
  font-family: var(--font-body);
}

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ehp-teal);
}
h1 { font-size: 2rem; }
h2 { font-size: 1.4rem; }

/* Navigation */
nav.bg-slate-900 {
  background: var(--ehp-headerbg) !important;
  border-bottom: 4px solid var(--ehp-orange);
}
nav .text-slate-300 { color: #cfe1de !important; }
nav .text-slate-400 { color: #9bb3b1 !important; }
nav a:hover, nav .hover\:text-white:hover { color: var(--ehp-orange) !important; }
nav .font-semibold {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  font-size: 1.1rem;
}

/* Cards & surfaces */
.bg-white {
  background: #ffffff !important;
  border-color: var(--ehp-border) !important;
}
.border, .border-slate-200, .border-t, .border-b {
  border-color: var(--ehp-border) !important;
}
.shadow, .shadow-sm, .shadow-lg {
  box-shadow: 0 2px 8px rgba(13, 74, 74, 0.08);
}

/* Tables */
.bg-slate-50 {
  background: var(--ehp-teal-soft) !important;
  color: var(--ehp-teal) !important;
}
.text-slate-600, .text-slate-500 { color: var(--ehp-muted) !important; }
.text-slate-700 { color: var(--ehp-ink) !important; }
table thead th {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  color: var(--ehp-teal) !important;
}
tr.hover\:bg-slate-50:hover { background: var(--ehp-orange-soft) !important; }

/* Primary buttons */
button.bg-slate-900,
.bg-slate-900,
.bg-green-700 {
  background: var(--ehp-orange) !important;
  color: #ffffff !important;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
button.bg-slate-900:hover,
.bg-slate-900:hover,
button.hover\:bg-slate-700:hover,
.bg-green-700:hover,
.hover\:bg-green-600:hover {
  background: var(--ehp-orange-dark) !important;
}

/* Secondary buttons */
.bg-slate-700 {
  background: var(--ehp-teal) !important;
  color: #fff !important;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}
.bg-slate-700:hover { background: var(--ehp-teal-dark) !important; }

.bg-slate-200 {
  background: var(--ehp-border) !important;
  color: var(--ehp-ink) !important;
}
.bg-slate-200:hover { background: #c2bca8 !important; }

/* Status pills */
.bg-green-100 { background: #d8e9da !important; }
.text-green-800 { color: var(--ehp-success) !important; }
.bg-amber-100 { background: #fbe5c7 !important; }
.text-amber-800, .text-amber-700 { color: var(--ehp-warning) !important; }
.bg-red-100 { background: #f4d6d6 !important; }
.text-red-700, .text-red-600 { color: var(--ehp-danger) !important; }

/* Form inputs */
input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="date"], input[type="time"],
select, textarea {
  background: #fff;
  border: 1px solid var(--ehp-border);
  color: var(--ehp-ink);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--ehp-orange);
  box-shadow: 0 0 0 3px rgba(243, 112, 33, 0.18);
}

/* Dashboard stat cards */
.text-3xl, .text-2xl { color: var(--ehp-teal); }
.text-xs.uppercase {
  color: var(--ehp-orange) !important;
  letter-spacing: 0.12em;
  font-weight: 700;
}

/* Brand strip */
.brand-strip {
  background: var(--ehp-headerbg);
  color: #fff;
  padding: 6px 16px;
  font-family: var(--font-display);
  letter-spacing: 0.15em;
  font-size: 0.7rem;
  text-align: center;
  text-transform: uppercase;
  border-bottom: 2px solid var(--ehp-orange);
}
.brand-strip .accent { color: var(--ehp-orange); }

/* ─── Login screen — full black, centered logo + minimal form ──────── */

body.login-page {
  background: #000 !important;
  min-height: 100vh;
}
/* Hide the brand strip on the login page so it looks fully monochrome. */
body.login-page .brand-strip { display: none; }

.login-stack {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  gap: 32px;
}
.login-logo {
  max-width: 320px;
  width: 80%;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.6));
}
.login-card {
  width: 100%;
  max-width: 380px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 24px;
}
.login-button {
  width: 100%;
  background: var(--ehp-orange);
  color: #fff;
  padding: 10px 0;
  border-radius: 6px;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 8px;
  transition: background 0.15s ease;
}
.login-button:hover { background: var(--ehp-orange-dark); }

@media print {
  nav, button, form, .no-print, .brand-strip { display: none !important; }
  body { background: #fff !important; }
  table { font-size: 10pt; }
  h1 { color: var(--ehp-teal) !important; }
}

/* Brand strip layout (post-login pages) */
.brand-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 16px;
}
