/* ============ VARIABLES & RESET ============ */
:root {
  --primary:    #00205b;   /* deep GAPS blue */
  --secondary:  #05376e;   /* lighter GAPS blue */
  --accent:     #53b548;   /* GAPS green */
  --light:      #ffffff;
  --dark-text:  #222;
  --font:       'Poppins', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

 body {
      font-family: var(--font);
      margin: 0;
      background: #f9fafc;
      color: var(--dark-text);
      line-height: 1.7;
    }
/* ============ PUBLIC PAGE HEADER ============ */
.info-header {
  background-color: var(--primary);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.info-header .logo {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--light);
  text-decoration: none;
}

.info-header .logo img {
  height: 42px;
  margin-right: 10px;
}

.info-header nav {
  display: flex;
  gap: 20px;
}

.info-header nav a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.info-header nav a:hover {
  color: var(--accent);
}

.info-header nav a.active {
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
}

.auth-buttons {
  display: flex;
  gap: 12px;
}

.auth-buttons a {
  padding: 8px 15px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
}

/* Login button */
.auth-buttons .login-btn {
  background-color: transparent;
  color: var(--light);
  border: 2px solid var(--light);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 0 0 transparent;
  transition: all 0.3s ease;
}

.auth-buttons .login-btn:hover {
  background-color: var(--secondary);
  color: var(--light);
  box-shadow: 0 4px 12px rgba(5, 55, 110, 0.4); /* subtle glow */
  transform: scale(1.05);
}

/* Register button */
.auth-buttons .register-btn {
  background-color: var(--accent);
  color: var(--light);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  box-shadow: 0 2px 10px rgba(83, 181, 72, 0.4);
  transition: all 0.3s ease;
}

.auth-buttons .register-btn:hover {
  background-color: #49a23f;
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(83, 181, 72, 0.6);
}



/* ============ SHARED CONTAINERS ============ */
.container {
  max-width: 1100px;
  margin: auto;
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
}


/* ============ HERO ============ */
.hero {
      background: url('../images/hero-gaps.jpg') center/cover no-repeat;
      color: var(--light);
      text-align: center;
      padding: 120px 20px 100px;
      position: relative;
    }
.hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0, 32, 91, 0.75);
      z-index: 0;
    }
    .hero-content {
      position: relative;
      max-width: 800px;
      margin: auto;
      z-index: 1;
    }
    .hero-content h1 {
      font-size: 3.8rem;
      margin-bottom: 20px;
      font-weight: 700;
      letter-spacing: 1px;
    }
    .hero-content p {
      font-size: 1.3rem;
      max-width: 600px;
      margin: auto;
      line-height: 1.5;
    }

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.hero-text h1 {
  font-size: 36px;
  margin-bottom: 10px;
}
.hero-text p {
  font-size: 18px;
  margin-bottom: 20px;
}
.hero-buttons .btn,
.hero-buttons .btn-outline {
  display: inline-block;
  padding: 12px 25px;
  margin: 10px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
}
.btn {
  background-color: #FDB813;
  color: white;
}
.btn-outline {
  border: 2px solid white;
  color: white;
}

/* ============ INTRODUCTION ============ */
.intro {
  padding: 60px 20px;
  text-align: center;
}
.intro h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--primary);
}
.intro p {
  max-width: 700px;
  margin: 0 auto;
}

/* ============ INFO.HTML PAGE SPECIFIC STYLES ============ */
body.info-page main {
  max-width: 1200px;
  margin: 60px auto 80px;
  display: flex;
  gap: 40px;
  padding: 0 20px;
}

/* Sidebar navigation for info page */
.info-page nav.sidebar {
  position: sticky;
  top: 130px;
  flex: 0 0 260px;
  border-left: 4px solid var(--accent);
  padding-left: 20px;
  font-weight: 600;
}

.info-page nav.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1rem;
}

.info-page nav.sidebar ul li a {
  color: var(--primary);
  text-decoration: none;
  cursor: pointer;
  border-left: 4px solid transparent;
  padding-left: 8px;
  transition: color 0.3s, border-color 0.3s;
}

.info-page nav.sidebar ul li a.active,
.info-page nav.sidebar ul li a:hover {
  color: var(--accent);
  border-left: 4px solid var(--accent);
  font-weight: 700;
}

/* Info page content area */
.info-page section.content {
  flex: 1 1 auto;
  max-width: 800px;
}

.info-page section.content > article:target {
  scroll-margin-top: 140px;
}

.info-page section.content > article h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  color: var(--primary);
  border-bottom: 3px solid var(--accent);
  padding-bottom: 10px;
}

.info-page section.content > article p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
}

/* Responsive for info page */
@media (max-width: 960px) {
  .info-page main {
    flex-direction: column;
  }
  .info-page nav.sidebar {
    position: relative;
    top: auto;
    border-left: none;
    padding-left: 0;
    margin-bottom: 40px;
  }
  .info-page nav.sidebar ul {
    flex-direction: row;
    gap: 15px;
    overflow-x: auto;
  }
  .info-page nav.sidebar ul li a {
    border-left: none;
    padding-left: 0;
    white-space: nowrap;
  }
}


/* ============ USERS' DASHBOARD FEATURE CARDS ============ */
.features {
  padding: 40px 20px;
}
.features h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary);
  font-size: 24px;
}
.card-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  text-align: center;
  color: var(--primary);
  width: 220px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.card .icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* ============ LOGIN & REGISTER FORM (AUTH PAGES) ============ */
.auth-container {
  max-width: 400px;
  margin: 80px auto;
  padding: 40px;
  background: var(--light);
  border-radius: 10px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  text-align: center;
}

.auth-container h2 {
  font-size: 24px;
  margin-bottom: 25px;
  color: var(--primary);
}

.auth-container input,
.auth-container select {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #f7f9fc;
  font-size: 16px;
}

.auth-container-wide {
  max-width: 720px;
  text-align: left;
}

.auth-subtitle {
  margin-bottom: 20px;
  color: #52607a;
  font-size: 0.95rem;
}

.auth-back {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.auth-back:hover {
  color: var(--accent);
}

.progress-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.progress-steps .step {
  background: #eef2f7;
  color: #4d5d75;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.progress-steps .step.active {
  background: #dff1dc;
  color: #1d5a24;
}

.progress-steps .step.done {
  background: #e8ecf5;
  color: #2d3d5b;
}

.progress-steps .step.hidden {
  display: none;
}

.hidden {
  display: none;
}

.account-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.account-card {
  border: 1px solid #e3e8f0;
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  text-decoration: none;
  color: var(--dark-text);
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  display: grid;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.account-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.08);
}

.account-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f4f9;
  font-size: 0.75rem;
  font-weight: 700;
  color: #5a667a;
}

.account-tag.accent {
  background: rgba(83, 181, 72, 0.15);
  color: #2e6d2f;
}

.account-cta {
  font-weight: 700;
  color: var(--primary);
}

.input-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.input-group input {
  margin-bottom: 0;
  flex: 1;
}

.toggle-password {
  background: #e9eef6;
  border: none;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  color: #2f3b52;
}

.input-with-toggle {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-toggle input {
  padding-right: 70px;
  margin-bottom: 0;
}

.input-with-toggle .toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 0;
  font-size: 14px;
  color: #2f3b52;
  cursor: pointer;
}

.input-with-toggle .toggle-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 0;
  font-size: 14px;
  color: #2f3b52;
  cursor: pointer;
}

.form-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: #6b7280;
}

.form-hint.success {
  color: #1b5e20;
}

.form-hint.error {
  color: #b3261e;
}

.password-hint {
  font-size: 0.8rem;
  color: #7a879b;
}

.field-error {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: #b3261e;
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: #2f3b52;
}

.checkbox-row input {
  margin-top: 4px;
}

.form-grid .check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #2f3b52;
  cursor: pointer;
}

.form-grid .check-row input {
  margin: 0;
}

.auth-container .form-grid input,
.auth-container .form-grid select,
.auth-container .form-grid textarea {
  margin-bottom: 0;
}

.auth-container .form-grid .field {
  display: grid;
  gap: 6px;
}

.auth-container .login-field {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
  text-align: left;
}

.auth-container .login-field label {
  font-weight: 600;
  color: #1f2a44;
}

.auth-container .login-field input {
  margin-bottom: 0;
}

.auth-container .input-with-toggle .toggle-btn {
  width: auto;
  background: transparent;
  padding: 0;
  border-radius: 0;
  color: #2f3b52;
  font-size: 14px;
}

.auth-container .input-with-toggle .toggle-btn:hover {
  background: transparent;
}

.signup-prompt {
  margin-top: 12px;
}

.auth-container input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.checkbox-group {
  border: 1px solid #e3e8f0;
  border-radius: 10px;
  padding: 12px;
  display: grid;
  gap: 8px;
}

.checkbox-group legend {
  font-weight: 700;
  color: var(--primary);
  padding: 0 4px;
}

.checkbox-group label {
  display: flex;
  gap: 10px;
  align-items: center;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.full-width {
  width: 100%;
}

.auth-links {
  margin-top: 20px;
  font-size: 0.9rem;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: #5c6b82;
}

.auth-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.auth-links span {
  color: #9aa4b2;
}

.application-section h3 {
  margin-bottom: 10px;
  color: var(--primary);
}

.auth-success {
  border: 1px solid #d4edda;
  background: #f1f9f0;
  padding: 20px;
  border-radius: 12px;
  display: grid;
  gap: 10px;
}

.auth-success h3 {
  margin: 0;
  color: #1b5e20;
}

.status-banner {
  background: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: 600;
}

.pending-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.pending-card {
  border: 1px solid #e3e8f0;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  display: grid;
  gap: 10px;
}

.pending-card ul {
  padding-left: 18px;
  color: #2f3b52;
  display: grid;
  gap: 6px;
}

.pending-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.legal-body {
  background: #f8fafc;
  border: 1px solid #e3e8f0;
  border-radius: 12px;
  padding: 16px;
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

@media (max-width: 720px) {
  .auth-container {
    margin: 40px 16px;
    padding: 28px;
  }
  .progress-steps {
    flex-direction: column;
  }
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

.auth-container button {
  width: 100%;
  background-color: var(--accent);
  color: var(--light);
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.auth-container button:hover {
  background-color: #469340;
}

.auth-container .input-with-toggle .toggle-password {
  width: auto;
  background: transparent;
  padding: 0;
  border-radius: 0;
  color: #2f3b52;
  font-size: 14px;
}

.auth-footer {
  margin-top: 15px;
  font-size: 14px;
}

.auth-footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* Center the logo above auth form */
.auth-logo {
  text-align: center;
  margin-bottom: 30px;
}

.auth-logo img {
  max-width: 180px;
  width: 100%;
  height: auto;
}


/* ============ BOOKING MODULE ============ */
#calendar-wrapper {
  overflow-x: auto;
  margin-top: 20px;
}
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.calendar-header h3 {
  font-size: 20px;
  color: var(--primary);
}
#booking-calendar {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}
#booking-calendar th,
#booking-calendar td {
  border: 1px solid #dce3ec;
  padding: 14px 10px;
}
#booking-calendar th {
  background-color: #e3f2fd;
  color: var(--primary);
}
.available-slot {
  background-color: #d4edda;
  cursor: pointer;
}
.booked-slot {
  background-color: #f8d7da;
  color: #721c24;
}
.unavailable-slot {
  background-color: #f1f1f1;
  color: #999;
}
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}
.modal-content {
  background-color: #ffffff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  max-width: 400px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.modal-content h3 {
  color: var(--secondary);
  margin-bottom: 20px;
}
.modal-content label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}
.modal-content input,
.modal-content select {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
}
.modal-content button[type="submit"] {
  margin-top: 15px;
  width: 100%;
  background-color: var(--accent);
  border: none;
  padding: 10px;
  color: white;
  font-weight: bold;
  border-radius: 5px;
}
.modal-content button[type="submit"]:hover {
  background-color: #469340;
}
.close {
  float: right;
  font-size: 22px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}
/* Therapist status colors */
td.approved-status {
  color: green;
  font-weight: bold;
}
td.pending-status {
  color: orange;
  font-weight: bold;
}
td.rejected-status {
  color: red;
  font-weight: bold;
}

#therapist-booking-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

#therapist-booking-table th,
#therapist-booking-table td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
}


/* ============ FOOTER (Public) ============ */
.footer {
  background: var(--primary);
  color: var(--light);
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9rem;
  margin-top: 50px;
}

/* ============ DASHBOARD + SIDEBAR ============ */
.app-content {
  padding: 20px;
}
.app-sidebar {
  position: fixed;
  top: 0; left: 0;
  width: 60px; height: 100vh;
  background: var(--secondary);
  transform: translateX(-60px);
  transition: transform 0.3s ease;
  padding-top: 60px;
  z-index: 1000;
}
body.sidebar-open .app-sidebar {
  transform: translateX(0);
}
.app-sidebar nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.app-sidebar nav a {
  font-size: 1.5rem;
  color: var(--light);
  text-decoration: none;
  width: 100%;
  text-align: center;
}
.app-sidebar nav a:hover {
  background: rgba(255,255,255,0.1);
}
.app-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: var(--primary);
  display: flex;
  align-items: center;
  padding: 0 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1001;
}
.hamburger {
  background: none;
  border: none;
  color: var(--light);
  font-size: 1.5rem;
  cursor: pointer;
  margin-right: 20px;
}
.page-title {
  flex: 1;
  color: var(--light);
  font-size: 1.25rem;
}
.logout {
  background: none;
  border: 1px solid var(--light);
  color: var(--light);
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
}
.logout:hover {
  background: rgba(255,255,255,0.15);
}
body.sidebar-open .app-content {
  margin-left: 60px;
}
.admin-cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(160px,1fr));
  max-width: 1000px;
  margin: 0 auto 40px;
}
.admin-cards .card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  color: var(--dark-text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.admin-cards .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.admin-cards .card .icon {
  font-size: 2rem;
  margin-bottom: 10px;
}
/* ============ DONATION PAGE ============ */
.donation-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 40px 20px;
  background: #f9f9f9;
  text-align: center;
}

.qr-section {
  max-width: 320px;
}

.qr-image {
  width: 100%;
  max-width: 300px;
  border: 4px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.bank-instruction {
  margin-top: 15px;
  font-size: 1rem;
  color: #555;
}

.donation-tips {
  list-style: disc;
  padding-left: 20px;
  text-align: left;
  margin-top: 20px;
  color: #444;
  font-size: 0.95rem;
}

.donation-tips li {
  margin-bottom: 10px;
}

.proof-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 10px 20px;
  background-color: #d1004d;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.proof-btn:hover {
  background-color: #b3003f;
}


/* ============ FORUM PAGE ============ */
body.forum-page {
  background: #f6f8fb;
}

.forum-hero {
  max-width: 1100px;
  margin: 50px auto 20px;
  padding: 30px;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(0,32,91,0.12), rgba(83,181,72,0.1));
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.forum-hero-text h1 {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.forum-hero-text p {
  max-width: 720px;
  color: #3a3a3a;
  margin-bottom: 18px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}

.forum-search {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px #e5eaf2;
  max-width: 560px;
}

.forum-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
}

.forum-search button {
  background: var(--accent);
  color: var(--light);
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.forum-search button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(83,181,72,0.35);
}

.forum-layout {
  max-width: 1100px;
  margin: 0 auto 70px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
}

.forum-sidebar {
  position: sticky;
  top: 120px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid #e7ecf3;
}

.sidebar-card h3 {
  margin-bottom: 12px;
  color: var(--primary);
}

#forumTopicList {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
}

#forumTopicList li button {
  width: 100%;
  text-align: left;
  background: #f4f6fb;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  color: #1f2a44;
  transition: all 0.2s ease;
}

#forumTopicList li button:hover {
  background: #e7eefc;
  border-color: #d4defa;
  color: var(--primary);
}

.admin-panel {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  border: 1px dashed #d3dbea;
}

.admin-panel h4 {
  margin-bottom: 10px;
  color: var(--secondary);
}

.admin-panel input {
  width: 100%;
  padding: 10px;
  margin-bottom: 8px;
  border-radius: 8px;
  border: 1px solid #e0e6f0;
}

.admin-panel button {
  width: 100%;
  padding: 10px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.forum-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.forum-top-row h3 {
  font-size: 1.6rem;
  color: var(--primary);
}

.forum-new-post {
  background: #fff;
  border: 1px solid #e5ebf5;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  display: grid;
  gap: 12px;
}

.forum-new-post h4 {
  margin-bottom: 6px;
  color: var(--secondary);
}

.new-post-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 10px;
}

.forum-new-post select,
.forum-new-post input,
.forum-new-post textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #dfe5ef;
  background: #fbfcff;
  font-family: var(--font);
}

.forum-new-post textarea {
  min-height: 110px;
  resize: vertical;
}

.forum-new-post button {
  justify-self: end;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
}

.forum-thread-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.thread-card {
  background: #fff;
  border: 2px solid #e2e7f0;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.04);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.thread-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.08);
}

.thread-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  color: #51607a;
  font-size: 0.9rem;
}

.thread-category {
  background: #e8f3ff;
  color: var(--secondary);
  padding: 6px 10px;
  border-radius: 20px;
  font-weight: 600;
}

.thread-date {
  font-weight: 600;
}

.thread-card h4 {
  color: #14213d;
  margin-bottom: 8px;
}

.thread-card p {
  margin: 0 0 10px;
  color: #2f3542;
}

.thread-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: #51607a;
}

.replies-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f4f6fb;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
}

.replies-pill span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  background: #dce5f5;
  color: #14213d;
  border-radius: 50%;
  font-weight: 700;
}

.thread-author {
  font-weight: 600;
}

@media (max-width: 960px) {
  .forum-layout {
    grid-template-columns: 1fr;
  }
  .forum-sidebar {
    position: static;
  }
  .new-post-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .forum-hero {
    margin: 30px 16px 10px;
  }
  .forum-search {
    flex-direction: column;
  }
  .forum-search button {
    width: 100%;
    text-align: center;
  }
  .thread-meta, .thread-footer {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }
}

/* ============ FORUM PAGE ============ */
body.forum-page {
  background: #f6f8fb;
}

.forum-hero {
  max-width: 1100px;
  margin: 50px auto 20px;
  padding: 30px;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(0,32,91,0.12), rgba(83,181,72,0.1));
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.forum-hero-text h1 {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.forum-hero-text p {
  max-width: 720px;
  color: #3a3a3a;
  margin-bottom: 18px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}

.forum-search {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px #e5eaf2;
  max-width: 560px;
}

.forum-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
}

.forum-search button {
  background: var(--accent);
  color: var(--light);
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.forum-search button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(83,181,72,0.35);
}

.forum-layout {
  max-width: 1100px;
  margin: 0 auto 70px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
}

.forum-sidebar {
  position: sticky;
  top: 120px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid #e7ecf3;
}

.sidebar-card h3 {
  margin-bottom: 12px;
  color: var(--primary);
}

#forumTopicList {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
}

#forumTopicList li button {
  width: 100%;
  text-align: left;
  background: #f4f6fb;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  color: #1f2a44;
  transition: all 0.2s ease;
}

#forumTopicList li button:hover {
  background: #e7eefc;
  border-color: #d4defa;
  color: var(--primary);
}

.admin-panel {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  border: 1px dashed #d3dbea;
}

.admin-panel h4 {
  margin-bottom: 10px;
  color: var(--secondary);
}

.admin-panel input {
  width: 100%;
  padding: 10px;
  margin-bottom: 8px;
  border-radius: 8px;
  border: 1px solid #e0e6f0;
}

.admin-panel button {
  width: 100%;
  padding: 10px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.forum-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.forum-top-row h3 {
  font-size: 1.6rem;
  color: var(--primary);
}

.forum-new-post {
  background: #fff;
  border: 1px solid #e5ebf5;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  display: grid;
  gap: 12px;
}

.forum-new-post h4 {
  margin-bottom: 6px;
  color: var(--secondary);
}

.new-post-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 10px;
}

.forum-new-post select,
.forum-new-post input,
.forum-new-post textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #dfe5ef;
  background: #fbfcff;
  font-family: var(--font);
}

.forum-new-post textarea {
  min-height: 110px;
  resize: vertical;
}

.forum-new-post button {
  justify-self: end;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
}

.forum-thread-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.thread-card {
  background: #fff;
  border: 2px solid #e2e7f0;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.04);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.thread-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.08);
}

.thread-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  color: #51607a;
  font-size: 0.9rem;
}

.thread-category {
  background: #e8f3ff;
  color: var(--secondary);
  padding: 6px 10px;
  border-radius: 20px;
  font-weight: 600;
}

.thread-date {
  font-weight: 600;
}

.thread-card h4 {
  color: #14213d;
  margin-bottom: 8px;
}

.thread-card p {
  margin: 0 0 10px;
  color: #2f3542;
}

.thread-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: #51607a;
}

.replies-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f4f6fb;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
}

.replies-pill span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  background: #dce5f5;
  color: #14213d;
  border-radius: 50%;
  font-weight: 700;
}

.thread-author {
  font-weight: 600;
}

@media (max-width: 960px) {
  .forum-layout {
    grid-template-columns: 1fr;
  }
  .forum-sidebar {
    position: static;
  }
  .new-post-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .forum-hero {
    margin: 30px 16px 10px;
  }
  .forum-search {
    flex-direction: column;
  }
  .forum-search button {
    width: 100%;
    text-align: center;
  }
  .thread-meta, .thread-footer {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }
}
/* ============ EVENTS PAGE ============ */
body.events-page {
  background: #f6f8fb;
}

.events-hero {
  max-width: 1100px;
  margin: 50px auto 30px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}

.events-hero-content {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.06);
  border: 1px solid #e6ecf3;
}

.events-hero-content h1 {
  color: var(--primary);
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.events-hero-content p {
  color: #3a3a3a;
  margin-bottom: 18px;
}

.events-search {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 10px;
  background: #f7f9fd;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e1e7f0;
}

.events-search input {
  border: 1px solid #dfe5ef;
  border-radius: 10px;
  padding: 12px;
  font-size: 1rem;
  background: #fff;
}

.events-search button {
  background: var(--accent);
  color: var(--light);
  border: none;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.events-search button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(83, 181, 72, 0.35);
}

.events-hero-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 280px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.1);
}

.events-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.events-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.65));
  color: #fff;
}

.event-tag {
  background: rgba(255, 255, 255, 0.85);
  color: #1f2a44;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
  align-self: flex-start;
}

.events-hero-overlay h3 {
  font-size: 1.4rem;
}

.events-hero-overlay p {
  margin: 0;
  font-size: 0.95rem;
}

.events-page .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(83, 181, 72, 0.25);
}

.events-page .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
}

.events-page .full-width {
  width: 100%;
}

.events-grid-section {
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.section-header h2 {
  color: var(--primary);
  font-size: 1.8rem;
}

.section-header p {
  color: #4a4a4a;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.event-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e3e8f0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.event-card-media img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.event-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.event-card-meta {
  font-size: 0.85rem;
  color: #5c6b82;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.event-card-body h3 {
  color: #14213d;
  font-size: 1.2rem;
}

.event-location {
  color: #1f2a44;
  font-weight: 600;
}

.event-desc {
  color: #3b4353;
  font-size: 0.95rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.event-capacity {
  background: #f1f4fa;
  color: #334155;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

.empty-state {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  border: 1px dashed #ccd5e4;
  color: #3a3a3a;
}

.event-actions {
  max-width: 1100px;
  margin: 20px auto 50px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.event-action-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e3e8f0;
  padding: 20px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.04);
}

.card-subtitle {
  color: #4a4a4a;
  margin-bottom: 14px;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.form-grid label {
  display: grid;
  gap: 6px;
  color: #1f2a44;
  font-weight: 600;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #dfe5ef;
  background: #fbfcff;
  font-family: var(--font);
}

.inline-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #1f2a44;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.badge-soft {
  background: #eef2f7;
  color: #2d3a4b;
}

.helper-text {
  color: #607089;
  font-size: 0.9rem;
}

.admin-block {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  gap: 20px;
}

.admin-block h2 {
  color: var(--primary);
}

.admin-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e3e8f0;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  display: grid;
  gap: 12px;
}

.event-grid-fields {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.post-event-section {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  gap: 14px;
}

.post-event-section h2 {
  color: var(--primary);
}

@media (max-width: 980px) {
  .events-hero {
    grid-template-columns: 1fr;
  }
  .events-hero-card {
    min-height: 240px;
  }
  .events-search {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .events-hero-content h1 {
    font-size: 1.8rem;
  }
  .event-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============ VOLUNTEER PAGE ============ */
body.volunteer-page {
  background: #f6f8fb;
}

.volunteer-hero {
  max-width: 1100px;
  margin: 50px auto 30px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
}

.volunteer-hero-text {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.06);
  border: 1px solid #e6ecf3;
}

.volunteer-hero-text h1 {
  color: var(--primary);
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.volunteer-hero-text p {
  color: #3a3a3a;
  margin-bottom: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.volunteer-page .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(83, 181, 72, 0.25);
}

.volunteer-page .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.approval-note {
  font-size: 0.95rem;
  color: #546079;
  background: #eef2f9;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px dashed #cfd7e6;
}

.volunteer-hero-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 280px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.1);
}

.volunteer-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.65));
  color: #fff;
}

.hero-tag {
  background: rgba(255, 255, 255, 0.85);
  color: #1f2a44;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
  align-self: flex-start;
}

.volunteer-steps {
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.step-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  border: 1px solid #e3e8f0;
  text-decoration: none;
  color: #1f2a44;
  display: grid;
  gap: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.step-card.highlight {
  border-color: #b6e3c0;
  background: #f7fbf7;
}

.step-link {
  font-weight: 700;
  color: var(--primary);
}

.volunteer-form-section,
.volunteer-feedback-section,
.volunteer-certificate,
.volunteer-stories {
  max-width: 1100px;
  margin: 0 auto 50px;
  padding: 0 20px;
}

.volunteer-form-section .form-grid,
.volunteer-feedback-section .form-grid {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid #e3e8f0;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.04);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #1f2a44;
}

.form-status {
  font-size: 0.95rem;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f4f6fb;
  color: #2d3a4b;
}

.form-status.success {
  background: #e8f5e9;
  color: #1b5e20;
}

.form-status.error {
  background: #fdecea;
  color: #b3261e;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.story-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e3e8f0;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.04);
  display: grid;
}

.story-media {
  height: 160px;
  background-size: cover;
  background-position: center;
}

.story-body {
  padding: 16px;
  display: grid;
  gap: 8px;
}

.story-body h4 {
  color: #14213d;
}

.story-meta {
  color: #546079;
  font-weight: 600;
  font-size: 0.9rem;
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.certificate-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e3e8f0;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.certificate-steps {
  padding-left: 18px;
  color: #2f3b52;
  display: grid;
  gap: 8px;
}

.certificate-preview {
  border-radius: 14px;
  border: 2px dashed #b8c4d8;
  padding: 18px;
  background: #f9fbff;
  display: grid;
  gap: 12px;
  min-height: 220px;
}

.certificate-header {
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

.certificate-body {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px #e3e8f0;
  display: grid;
  gap: 6px;
}

.certificate-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #14213d;
}

@media (max-width: 980px) {
  .volunteer-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ============ HOME PAGE ============ */
body.home-page {
  font-size: 16px;
}

.page-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 64px 0;
}

.section-header {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--primary);
}

.home-page h1 {
  font-size: 3rem;
  line-height: 1.2;
}

.home-page h2 {
  font-size: 2rem;
  line-height: 1.3;
}

.home-page p,
.home-page li {
  font-size: 1rem;
  line-height: 1.6;
}

.home-page a {
  color: inherit;
}

.home-hero .hero-text {
  max-width: 600px;
}

.hero-note {
  margin-top: 10px;
  font-size: 0.95rem;
  opacity: 0.95;
}

.hero::before {
  background: rgba(0, 32, 91, 0.82);
}

.impact-strip {
  background: #ffffff;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.impact-item {
  background: #f7f9fd;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e2e7f0;
  display: grid;
  gap: 8px;
}

.impact-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
}

.split-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.info-panel {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e3e8f0;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.info-panel h3 {
  margin-bottom: 12px;
  color: var(--secondary);
}

.info-panel ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.action-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e3e8f0;
  padding: 20px;
  display: grid;
  gap: 12px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
}

.action-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eaf2ff;
  color: var(--secondary);
  font-weight: 700;
}

.card-link {
  font-weight: 700;
  text-decoration: none;
  color: var(--primary);
}

.card-link:hover {
  color: var(--accent);
}

.alt-section {
  background: #f6f8fb;
}

.event-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.event-preview {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e3e8f0;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  display: grid;
}

.event-preview img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.event-preview-body {
  padding: 16px;
  display: grid;
  gap: 8px;
}

.event-preview-date {
  color: #5c6b82;
  font-size: 0.9rem;
}

.section-actions {
  margin-top: 20px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e3e8f0;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  display: grid;
  gap: 14px;
}

.testimonial-card blockquote {
  font-size: 1rem;
  line-height: 1.6;
  color: #2f3b52;
}

.testimonial-card figcaption {
  font-weight: 600;
  color: #51607a;
}

.donation-panel {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e3e8f0;
  padding: 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.05);
}

.donation-map {
  margin-top: 24px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e3e8f0;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.donation-map h3 {
  margin: 0 0 12px 0;
}

.donation-map iframe {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.donation-map-address {
  margin-top: 12px;
  color: #51607a;
}

.donation-list {
  margin: 16px 0 0 18px;
  display: grid;
  gap: 8px;
}

.donation-actions {
  display: grid;
  gap: 12px;
}

.donation-note {
  font-size: 0.9rem;
  color: #51607a;
}

.home-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: left;
}

.home-footer a {
  display: block;
  color: inherit;
  text-decoration: none;
  margin-bottom: 6px;
}

.home-footer a:hover {
  text-decoration: underline;
}

.home-page .btn:focus-visible,
.home-page .btn-outline:focus-visible,
.home-page .btn-primary:focus-visible,
.home-page .btn-outline:focus-visible,
.home-page a:focus-visible,
.home-page button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 960px) {
  .split-section,
  .donation-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .home-page h1 {
    font-size: 2.4rem;
  }
  .section {
    padding: 48px 0;
  }
  .hero-buttons {
    display: grid;
    gap: 12px;
  }
}

/* ============ VOLUNTEER CERTIFICATE PAGE ============ */
.certificate-panel {
  background: #fff;
  border: 1px solid #e3e8f0;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.certificate-table {
  width: 100%;
  border-collapse: collapse;
}

.certificate-table th,
.certificate-table td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid #e6ecf3;
}

.certificate-table th {
  color: var(--primary);
  background: #f6f8fb;
}

.empty-state {
  text-align: center;
  color: #5c6b82;
  padding: 20px 0;
}

.certificate-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.certificate-download:hover {
  background: #49a23f;
}

.certificate-pending {
  color: #6b7280;
  font-size: 0.9rem;
}

/* ============ VOLUNTEER MODULE PAGES ============ */
.module-container {
  max-width: 1100px;
  margin: 80px auto 40px;
  padding: 0;
  display: grid;
  gap: 24px;
}

.module-header {
  display: grid;
  gap: 6px;
}

.module-header h2 {
  color: var(--primary);
}

.module-panel {
  background: #fff;
  border: 1px solid #e3e8f0;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.table-wrapper {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid #e3e8f0;
  vertical-align: top;
}

.data-table th {
  background: #f4f6fb;
  color: var(--primary);
  font-size: 0.9rem;
}

.volunteer-activity {
  max-width: 1100px;
  margin: 0 auto 40px;
  display: grid;
  gap: 16px;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.activity-card {
  background: #fff;
  border: 1px solid #e3e8f0;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  display: grid;
  gap: 10px;
}

.activity-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.activity-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.95rem;
  color: #2f3b52;
}

.activity-date {
  color: #6b7280;
  font-size: 0.85rem;
}

.activity-metric {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

.volunteer-page .btn-primary:disabled,
.btn-secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f1f4f9;
  color: #1f2a44;
  border: 1px solid #d7deea;
  border-radius: 10px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
}

.btn-secondary:hover {
  background: #e8edf5;
}

.btn-small {
  padding: 6px 12px;
  font-size: 0.85rem;
}

.btn-primary.btn-small,
.btn-secondary.btn-small {
  border-radius: 8px;
}

.status-pill.submitted {
  background: #eaf2ff;
  color: #1d3b8b;
}

.status-pill.issued {
  background: #d4edda;
  color: #155724;
}

.status-pill.open {
  background: #d4edda;
  color: #155724;
}

.status-pill.closed {
  background: #f1f3f7;
  color: #6b7280;
}

/* ============ SERVICES PAGE ============ */
body.services-page {
  background: #f7f9fc;
}

.services-page .section-block {
  padding: 64px 0;
}

.services-page .section-header {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.services-page h1 {
  font-size: 2.8rem;
  line-height: 1.2;
}

.services-page h2 {
  font-size: 2rem;
  color: var(--primary);
}

.services-page h3 {
  color: #14213d;
}

.services-page .hero-text {
  max-width: 700px;
}

.quick-actions {
  gap: 20px;
}

.card-cta {
  font-weight: 700;
  color: var(--primary);
}

.services-page .action-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.service-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e3e8f0;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  display: grid;
  gap: 12px;
}

.service-card-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
}

.service-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eaf2ff;
  color: var(--secondary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.service-target {
  font-size: 0.9rem;
  color: #5c6b82;
  margin-top: 4px;
}

.service-list {
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #334155;
}

.summary-panel {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e3e8f0;
  padding: 24px;
  display: grid;
  gap: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.summary-list {
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #334155;
}

.access-note {
  background: #ffffff;
  border-radius: 14px;
  border: 1px dashed #c9d4e6;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.access-actions {
  display: flex;
  gap: 12px;
}

@media (max-width: 900px) {
  .access-note {
    grid-template-columns: 1fr;
  }
  .access-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .services-page h1 {
    font-size: 2.2rem;
  }
  .services-page .section-block {
    padding: 48px 0;
  }
}

/* ============ BOOKING PAGE ============ */
body.booking-page {
  background: #f7f9fc;
}

.booking-container {
  margin: 40px auto 60px;
}

.booking-header {
  margin-bottom: 24px;
}

.booking-header h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 8px;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.booking-form-card,
.booking-info-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e3e8f0;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.time-slot-section {
  display: grid;
  gap: 12px;
}

.slot-title {
  font-weight: 600;
  color: #1f2a44;
}

.time-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
}

.time-slot {
  border-radius: 10px;
  padding: 10px;
  border: 1px solid #dfe5ef;
  background: #fbfcff;
  color: #1f2a44;
  display: grid;
  gap: 4px;
  font-weight: 600;
  cursor: pointer;
}

.time-slot small {
  font-size: 0.75rem;
  font-weight: 600;
  color: #5c6b82;
}

.time-slot.selected {
  border-color: var(--accent);
  background: #e9f7e7;
}

.slot-unavailable {
  background: #f1f3f7;
  color: #8a94a6;
  cursor: not-allowed;
}

.slot-unavailable small {
  color: #8a94a6;
}

.slot-message {
  background: #f4f6fb;
  border-radius: 10px;
  padding: 12px;
  color: #5c6b82;
}

.status-legend {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: capitalize;
}

.status-pill.pending {
  background: #fff3cd;
  color: #856404;
}

.status-pill.approved {
  background: #d4edda;
  color: #155724;
}

.status-pill.rejected {
  background: #f8d7da;
  color: #721c24;
}

.booking-history {
  margin-top: 32px;
}

.history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.booking-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.booking-table th,
.booking-table td {
  padding: 10px;
  border-bottom: 1px solid #e3e8f0;
  text-align: left;
}

.booking-table th {
  color: var(--primary);
  background: #f4f6fb;
}

@media (max-width: 960px) {
  .booking-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .booking-header h2 {
    font-size: 1.8rem;
  }
}

/* ============ TRACKING PAGES ============ */
body.tracking-page {
  background: #f6f8fb;
}

.tracking-container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

.tracking-hero {
  background: linear-gradient(120deg, rgba(0, 32, 91, 0.12), rgba(83, 181, 72, 0.08));
  padding: 40px 0 32px;
}

.tracking-hero-alt {
  background: linear-gradient(120deg, rgba(0, 32, 91, 0.16), rgba(5, 55, 110, 0.08));
}

.tracking-hero-text h1 {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.tracking-hero-text p {
  color: #3a3a3a;
  max-width: 640px;
}

.tracking-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.stat-card {
  background: #fff;
  border: 1px solid #e3e8f0;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.05);
  display: grid;
  gap: 6px;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #5b677a;
}

.tracking-alert {
  margin: 20px 0;
  padding: 12px 14px;
  background: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
  border-radius: 10px;
  font-weight: 600;
}

.tracking-panel {
  background: #fff;
  border: 1px solid #e3e8f0;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.panel-header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.panel-subtitle {
  color: #5b677a;
  font-size: 0.95rem;
}

.panel-actions {
  display: flex;
  gap: 10px;
}

.tracking-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.filter-group {
  display: grid;
  gap: 6px;
  font-weight: 600;
  color: #1f2a44;
}

.filter-group input,
.filter-group select {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #dfe5ef;
  background: #fbfcff;
  font-family: var(--font);
}

.tracking-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.tracking-column {
  background: #fff;
  border: 1px solid #e3e8f0;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.05);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.column-header h2 {
  font-size: 1.2rem;
  color: var(--primary);
}

.column-count {
  background: #eef2f9;
  color: #334155;
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: 600;
  font-size: 0.85rem;
}

.column-body {
  display: grid;
  gap: 12px;
}

.goal-card {
  background: #f9fbff;
  border: 1px solid #dfe6f1;
  border-radius: 12px;
  padding: 14px;
  display: grid;
  gap: 10px;
}

.goal-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.goal-header h3 {
  font-size: 1.05rem;
  color: #1f2a44;
}

.goal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: #5b677a;
}

.goal-tag {
  background: #eaf2ff;
  color: var(--secondary);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.goal-priority {
  background: #f1f4f9;
  color: #334155;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.goal-target {
  color: #2f3b52;
  font-size: 0.95rem;
}

.goal-progress {
  display: flex;
  align-items: center;
  gap: 10px;
}

.progress-bar {
  flex: 1;
  height: 8px;
  background: #e6edf7;
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  background: var(--accent);
}

.progress-percent {
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
}

.tracking-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: capitalize;
}

.tracking-status.status-planned {
  background: #eaf2ff;
  color: #1d3b8b;
}

.tracking-status.status-progress {
  background: #fff3cd;
  color: #856404;
}

.tracking-status.status-completed {
  background: #d4edda;
  color: #155724;
}

.tracking-muted {
  color: #6b7280;
  font-size: 0.9rem;
}

.link-button {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.goal-details {
  background: #fff;
  border: 1px dashed #d7deea;
  border-radius: 10px;
  padding: 12px;
  display: grid;
  gap: 10px;
}

.goal-details ul {
  list-style: disc;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: #2f3b52;
}

.goal-details .milestone-complete {
  text-decoration: line-through;
  color: #4d7c3c;
}

.tracking-note {
  margin: 20px 0 40px;
  background: #eef2f9;
  border-radius: 12px;
  padding: 14px 16px;
  color: #4b5563;
  border: 1px dashed #c9d4e6;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.panel-grid label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  color: #1f2a44;
}

.panel-grid input,
.panel-grid select {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #dfe5ef;
  background: #fbfcff;
  font-family: var(--font);
}

.form-grid {
  display: grid;
  gap: 12px;
}

.form-grid label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  color: #1f2a44;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #dfe5ef;
  background: #fbfcff;
  font-family: var(--font);
}

.form-grid textarea {
  min-height: 110px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tracking-page .btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
}

.tracking-page .btn-primary:hover {
  background: #49a23f;
}

.tracking-page .btn-ghost {
  background: #f1f4f9;
  color: #1f2a44;
  border: 1px solid #d7deea;
  border-radius: 10px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
}

.tracking-page .btn-light {
  background: #fff;
  color: #1f2a44;
  border: 1px solid #d7deea;
  border-radius: 10px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
}

.tracking-table-wrapper {
  overflow-x: auto;
}

.tracking-table {
  width: 100%;
  border-collapse: collapse;
}

.tracking-table th,
.tracking-table td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #e3e8f0;
  vertical-align: top;
}

.tracking-table th {
  background: #f4f6fb;
  color: var(--primary);
  font-size: 0.9rem;
}

.table-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.table-details td {
  background: #f9fbff;
}

.details-grid {
  display: grid;
  gap: 10px;
}

.tracking-empty {
  padding: 20px 0;
  text-align: center;
  color: #6b7280;
}

/* Ensure hidden attribute always hides elements */
[hidden] {
  display: none !important;
}

@media (max-width: 720px) {
  .tracking-hero-text h1 {
    font-size: 2rem;
  }
  .panel-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
