:root {
  --bg: #f9fafb;
  --bg-alt: #ffffff;
  --card-bg: #ffffff;
  --accent: #1f2933;
  --accent-soft: rgba(244, 180, 0, 0.16);
  --text-main: #1f2933;
  --text-muted: #6b7280;
  --danger: #dc2626;
  --warn: #f97316;
  --success: #16a34a;
  --border-subtle: rgba(148, 163, 184, 0.35);
  --shadow-soft: 0 4px 20px rgba(15, 23, 42, 0.08);
  --radius-xl: 18px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(to bottom right, #e0e7ff 40%, #f9fafb 70%, #ffffff 100%);
  color: var(--text-main);
  min-height: 100vh;
}

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover { text-decoration: underline; }

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1rem 2.5rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER / NAV */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.brand-text-main {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.brand-text-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.nav-link {
  font-size: 0.78rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-link:hover {
  border-color: var(--accent);
  color: var(--text-main);
  background: #fffbe6;
  text-decoration: none;
}

.nav-link.nav-primary {
  border-color: #f4b400;
  background: #fff7cc;
  color: #854d0e;
  font-weight: 600;
}



/*STATUS.html*/

        .time {
      width: 100%;
      max-width: 480px;
      text-align: left;
      font-size: 0.9rem;
      font-weight: 500;
      color: #111827;
      margin-bottom: 1.25rem;
    }
    .card {
      width: 100%;
      background: #ffffff;
      border-radius: 1.5rem;
      padding: 2rem 1.75rem;
      box-shadow:
        0 20px 60px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(148, 163, 184, 0.18);
      text-align: center;
    }
    h1 {
      margin: 0 0 0.75rem;
      font-size: 1.4rem;
      font-weight: 800;
      color: #020617;
    }
    .status-label {
      margin: 0.25rem 0 0.25rem;
      font-size: 1.1rem;
      font-weight: 700;
    }
    .status-ok {
      color: #16a34a; /* green */
    }
    .status-warn {
      color: #ea580c; /* amber */
    }
    
    .status-error 
      color: #dc2626; /* red */
    }
    
    .status-unknown {
      color: #6b7280; /* gray */
    }
    .status-message {
      margin: 0;
      font-size: 0.9rem;
      color: #6b7280;
    }
    hr {
      margin: 1.5rem 0 1.25rem;
      border: none;
      border-top: 1px solid #e5e7eb;
    }
    .section-title {
      margin: 0 0 0.25rem;
      font-size: 1rem;
      font-weight: 700;
      color: #020617;
    }
    .section-text {
      margin: 0;
      font-size: 0.95rem;
      color: #4b5563;
    }
    .link {
      margin-top: 1.5rem;
      font-size: 0.95rem;
    }
    .link a {
      color: #2563eb;
      font-weight: 600;
      text-decoration: none;
    }
    .link a:hover {
      text-decoration: underline;
    }
    .refresh-note {
      margin-top: 0.25rem;
      font-size: 0.8rem;
      color: #9ca3af;
    }

.summary-note {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* CONTACT.HTML MAIN AREA */
.card-contact {
  background: var(--card-bg);
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
  padding: 1.5rem;
  }

.card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  text-align: left;
}

.card p.lead {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-row label {
  font-size: 0.85rem;
  font-weight: 500;
}

    .form-row input,
    .form-row textarea {
      font: inherit;
      padding: 0.6rem 0.75rem;
      border-radius: 0.6rem;
      border: 1px solid var(--border-subtle);
      background: #f9fafb;
      outline: none;
      transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    }

    .form-row input:focus,
    .form-row textarea:focus {
      border-color: var(--accent);
      background: #ffffff;
      box-shadow: 0 0 0 1px rgba(31, 41, 51, 0.15);
    }

    .form-row textarea {
      min-height: 140px;
      resize: vertical;
    }

    .hint {
      font-size: 0.75rem;
      color: var(--text-muted);
    }

    .submit-row {
      display: flex;
      justify-content: flex-start;
      margin-top: 0.75rem;
    }

    button.btn-primary {
      border: none;
      border-radius: 999px;
      padding: 0.6rem 1.4rem;
      font-size: 0.9rem;
      font-weight: 600;
      cursor: pointer;
      background: var(--accent);
      color: #ffffff;
      box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18);
      transition: transform 0.1s ease, box-shadow 0.1s ease, opacity 0.15s ease;
    }

    button.btn-primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 8px 20px rgba(15, 23, 42, 0.22);
      opacity: 0.96;
    }


    /* ARTICLES>HTML MAIN AREA */
main {
  flex: 1;
}

.articles-header {
  margin-bottom: 1rem;
}

.articles-header h1 {
  margin: 0 0 0.3rem;
  font-size: 1.5rem;
}

.articles-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.articles-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
 }

.article-card-link {
  text-decoration: none;
  color: inherit;
}

.article-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 1rem 1rem 1.1rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.article-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.15);
}

.article-meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.article-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.article-thumb {
  margin-bottom: 0.6rm;
  overflow: hidden;
  border-radius: 0.9rm;
}

.article-thumb img {
  diplay:block;
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 180px;
}

.article-summary {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/*MAPS HTML MAIN AREA */
.map-area {
  border-radius: 16px;
  border: 1px dashed #cbd5e1;
  background: linear-gradient(to bottom right, #f8fafc, #e5e7eb);
  padding: 1rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #6b7280;
}
.map-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #1f2933;
}
.selected-call {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #111827;
}

.article-preview-banner {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #fef3c7;
  border: 1px solid #facc15;
  font-size: 0.9rem;
}

/* MAIN AREA */
main { flex: 1; }

/* FOOTER */
.footer {
  margin-top: 1.8rem;
  font-size: 0.75rem;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  border-top: 1px solid #e2e8f0;
  padding-top: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links { justify-content: flex-start; }

  .brand-logo {
    width: 48px;
    height: 48px;
  }
}
body {
  background: #f5f6f8;
}
.header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}
/* ========================================
   GLOBAL LAYOUT – DISNEY / EPCOT VIBE
   ===================================== */

html, body {
  margin: 0;
  padding: 0;
}

body {
  background:
    radial-gradient(circle at top left, rgba(255, 87, 164, 0.20), transparent 55%),
    radial-gradient(circle at top right, rgba(87, 139, 255, 0.20), transparent 55%),
    radial-gradient(circle at bottom, rgba(87, 255, 187, 0.20), transparent 55%),
    #f9fafc;
}

/* Page wrapper from base.html */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Main content area */
.page > main {
  flex: 1;
  max-width: 1120px;
  width: 100%;
  margin: 1.4rem auto 2.5rem;
  padding: 0 1rem;
}

/* Links default */
a {
  color: inherit;
  text-decoration: none;
}

/* ========================================
   HEADER / TOP BAR – LIGHT WITH ACCENTS
   ===================================== */

.top-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1rem;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

/* Brand area */
.top-bar .brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-bar .brand-logo {
  width: 42px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.top-bar .brand-text-main {
  font-size: 1.02rem;
  font-weight: 650;
  color: #111827;
}

.top-bar .brand-text-sub {
  font-size: 0.75rem;
  color: #6b7280;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-link {
  font-size: 0.8rem;
  padding: 0.32rem 0.78rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #4b5563;
  background: transparent;
  transition: all 0.18s ease-out;
  white-space: nowrap;
}

/* Hover: soft purple/blue chip */
.nav-link:hover {
  border-color: #e0e7ff;
  background: #eef2ff;
  color: #3730a3;
}

/* Optional active state (if you ever add class="nav-link active") */
.nav-link.active {
  border-color: #6366f1;
  background: #e0e7ff;
  color: #312e81;
}

/* ========================================
   CARDS – FLOATING PANELS
   ===================================== */

.card {
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
  padding: 1rem 1.2rem;
}

.card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.card-title {
  font-size: 0.98rem;
  font-weight: 600;
  color: #111827;
}

.card-meta {
  font-size: 0.75rem;
  color: #6b7280;
}

.card-body {
  font-size: 0.86rem;
  color: #374151;
}

/* Nice default for lists inside cards */
.card ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

/* ========================================
   FOOTER – SOFT & LIGHT
   ===================================== */

.footer {
  padding: 0.85rem 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  color: #6b7280;
  border-top: 1px solid #e5e7eb;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.footer a {
  color: #4b5563;
}

.footer a:hover {
  color: #111827;
}

/* ========================================
   RESPONSIVE TWEAKS
   ===================================== */

@media (max-width: 768px) {
  .top-bar {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: 0.35rem;
  }

  .page > main {
    margin-top: 1rem;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ====================================================
   LOGO OVERLAY EFFECT – FLOAT ABOVE THE HEADER
   ==================================================== */


.top-bar {
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

/* ADMIN BADGE (clickable) */
.admin-pill {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(17, 24, 39, 0.92);
  color: #f3f4f6;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  text-decoration: none;      /* remove underline */
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.admin-pill:hover {
  background: rgba(30, 41, 59, 0.95);   /* slightly lighter hover */
  transform: translateY(-2px);          /* lift effect */
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
}

.admin-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #22c55e;
}
