
:root {
  --color-primary: #1b5aa3;
  --color-primary-dark: #0f3d73;
  --color-header: #0d2a45;
  --color-header-dark: #071a2d;
  --color-gradient-start: #1b5aa3;
  --color-gradient-mid: #3a6fad;
  --color-gradient-end: #0d2a45;
  --color-accent-soft: #a0c4ff;
  --color-deep-indigo: #1a237e;
  --surface-gloss: rgba(255, 255, 255, 0.18);
  --surface-shadow: rgba(13, 42, 69, 0.12);
  --font-primary: 'Segoe UI', sans-serif;
}

/* Base Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* General Layout and Typography */
body {
  font-family: var(--font-primary);
  background: linear-gradient(145deg, #edf4ff 0%, #e9f2ff 35%, #dce6f4 65%, #f5f8ff 100%);
  color: #222;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

footer {
  margin-top: auto;
  padding: 1rem;
  text-align: center;
  color: #333;
  font-size: 0.85rem;
}

.site-footer {
  margin-top: 3rem;
  padding: 2rem 1rem 2.5rem;
  text-align: center;
  color: #1f2d3d;
  font-size: 0.9rem;
  background: radial-gradient(circle at top, rgba(255,255,255,0.25), rgba(255,255,255,0)) ,
              linear-gradient(160deg, rgba(255,255,255,0.95) 0%, rgba(243,248,255,0.9) 100%);
  box-shadow: 0 -6px 20px rgba(13,42,69,0.08);
}

.site-footer a {
  color: #154f9e;
  text-decoration: none;
  font-weight: 500;
}

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

.footer-nav {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.75rem;
}

.mission-footer {
  max-width: 720px;
  margin: 3rem auto 0;
  text-align: center;
  line-height: 1.6;
  color: #12314f;
  font-size: 1rem;
  padding: 1.5rem 1rem 0;
}

.hero-wrap {
  max-width: 960px;
  margin: 3rem auto 0;
  padding: 0 1rem 3rem;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #0d2a45;
  text-shadow: 0 2px 8px rgba(13, 42, 69, 0.08);
}

.hero-intro {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #12314f;
  max-width: 760px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

.hero-actions .btn-primary {
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
}

.supporting-line {
  margin-top: 2rem;
  font-size: 1rem;
  color: #1b3b63;
  font-style: italic;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
  color: #1b5aa3;
  text-decoration: none;
  font-weight: 600;
}

.back-button:hover {
  color: #0f3d73;
  text-decoration: underline;
}

.about-list {
  text-align: left;
  margin: 1rem auto 1.75rem;
  padding-left: 1.5rem;
  line-height: 1.7;
  color: #1b2f4b;
}

.about-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (min-width: 540px) {
  .about-actions {
    flex-direction: row;
    justify-content: center;
  }
}

.about-link {
  max-width: 640px;
  margin: 2.5rem auto 4rem;
  text-align: center;
  font-size: 1rem;
  color: #0d2a45;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.about-link a {
  color: #1b5aa3;
  font-weight: 600;
  text-decoration: none;
}

.about-link a:hover {
  text-decoration: underline;
}

.about-link span {
  color: #1b3b63;
  font-size: 0.95rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer-link {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #004a7c;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

/* Buttons */
.btn,
.btn-small,
.btn-danger {
  display: inline-block;
  font-family: inherit;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  transition: background-color 0.2s ease;
  color: white;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0)) padding-box,
             linear-gradient(135deg, var(--color-primary) 0%, #255fa8 50%, var(--color-primary-dark) 100%) border-box;
  border: 1px solid transparent;
  padding: 8px 16px;
  font-size: 14px;
}

.btn:hover,
.btn-small:hover,
.btn-danger:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.02)) padding-box,
             linear-gradient(135deg, #2f6ac0 0%, #1a4f8c 50%, var(--color-primary-dark) 100%) border-box;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0)) padding-box,
             linear-gradient(135deg, var(--color-primary) 0%, #225ca0 50%, var(--color-primary-dark) 100%) border-box;
  border: 1px solid transparent;
}

.btn-primary:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05)) padding-box,
             linear-gradient(135deg, #3270c9 0%, #1d4d86 50%, var(--color-primary-dark) 100%) border-box;
}

.btn-outline {
  color: var(--color-header);
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
  border: 1px solid rgba(12, 50, 87, 0.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.btn-outline:hover {
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0)) padding-box,
             linear-gradient(135deg, var(--color-primary) 0%, #225ca0 50%, var(--color-primary-dark) 100%) border-box;
}

.btn-large {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
  border-radius: 999px;
}

.suggestion-panel {
  background: rgba(13, 42, 69, 0.05);
  border-left: 4px solid var(--color-primary);
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.suggestion-panel h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  color: var(--color-header);
  text-align: left;
}

.suggestion-list {
  display: grid;
  gap: 0.75rem;
}

.suggestion-card {
  background: #fff;
  border: 1px solid rgba(13, 42, 69, 0.08);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  box-shadow: 0 6px 12px rgba(13, 42, 69, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.suggestion-card h4 {
  margin: 0;
  font-size: 1.05rem;
  color: #0d2a45;
}

.suggestion-card p {
  margin: 0;
  font-size: 0.92rem;
  color: #1b3b63;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.chip.blue { background: linear-gradient(135deg, #2d7bff, #0f4eb3); }
.chip.purple { background: linear-gradient(135deg, #7d4dff, #4b1bb1); }
.chip.green { background: linear-gradient(135deg, #1abc9c, #117b68); }
.chip.orange { background: linear-gradient(135deg, #ff9f43, #e67e22); color: #35210b; }

.pickup-highlight {
  background: rgba(255, 223, 122, 0.25);
  border-left: 3px solid #f4a261;
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  font-size: 0.92rem;
  color: #5c4106;
}

.contact-badge,
.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.contact-sms { background: linear-gradient(135deg, #2d7bff, #0f4eb3); }
.contact-call { background: linear-gradient(135deg, #7d4dff, #4b1bb1); }
.contact-either { background: linear-gradient(135deg, #1abc9c, #117b68); }
.location-badge { background: linear-gradient(135deg, #ff9f43, #e67e22); color: #35210b; }

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

.btn-danger {
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0)) padding-box,
             linear-gradient(135deg, #ed4b59 0%, #d12434 100%) border-box;
  border: 1px solid transparent;
}

.btn-danger:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.05)) padding-box,
             linear-gradient(135deg, #f16874 0%, #b61826 100%) border-box;
}

/* Form Layout */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  text-align: left;
}

.form-group label {
  margin-bottom: 0.25rem;
  font-weight: bold;
}

/* Inputs and Textareas */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 10px;
  margin: 0.5rem 0 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
}

/* Cards */
.card,
.request-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 251, 255, 0.95) 65%, rgba(240, 245, 255, 0.9) 100%);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 12px 25px var(--surface-shadow), inset 0 1px 0 var(--surface-gloss);
  width: 100%;
  max-width: 520px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 300px;
}

.card:hover,
.request-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.card h3,
.request-card h3 {
  margin-top: 0;
  font-size: 1.25rem;
}

.card p,
.request-card p {
  font-size: 0.95rem;
  color: #444;
  flex: 1;
}

.card .btn,
.request-card .btn {
  margin-top: 1rem;
}

/* Request Cards Layout */
.request-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* Form Cards */
.form-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 249, 255, 0.94) 70%, rgba(236, 242, 255, 0.9) 100%);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 14px 28px var(--surface-shadow), inset 0 1px 0 var(--surface-gloss);
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.form-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-align: center;
}

.form-card h1 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #0d2a45;
  text-align: center;
}

.form-card p {
  font-size: 1rem;
  color: var(--color-deep-indigo);
  margin-bottom: 1.5rem;
}

.form-card .btn {
  margin-top: 1.25rem;
  align-self: center;
}

/* Layout Helpers */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
}

@media (min-width: 600px) {
  .card-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.card-row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .card-row {
    flex-direction: row;
    justify-content: center;
  }

  .request-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .header-logo {
    max-height: 200px;
  }

  .header-subtitle {
    font-size: 1.1rem;
  }
}

/* Header */
.main-header {
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.12), transparent 55%),
              linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-mid) 45%, var(--color-gradient-end) 100%);
  padding: 2.5rem 1rem 2rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.main-header::after {
  content: "";
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  max-width: 420px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.6) 45%, rgba(255,255,255,0.15) 55%, transparent 100%);
  opacity: 0.4;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.header-logo {
  max-height: 120px;
  width: auto;
  transition: transform 0.3s ease;
}

.header-logo:hover {
  transform: scale(1.05);
}

.header-subtitle {
  font-size: 1rem;
  color: #e0f0f8;
  font-style: italic;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 0.2rem;
}

.lang-btn {
  border: none;
  background: transparent;
  color: #e7f3ff;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  cursor: pointer;
}

.lang-btn.active {
  background: rgba(255, 255, 255, 0.92);
  color: #12314f;
}

/* Navbar */
.navbar, .top-navbar {
  background: linear-gradient(135deg, var(--color-gradient-end) 0%, var(--color-header) 35%, var(--color-header-dark) 100%);
  color: white;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: center;
}

.navbar-links, .nav-right {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
}

.navbar-links a, .nav-right a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.015em;
}

.navbar-links a:hover, .nav-right a:hover {
  text-decoration: underline;
}

/* Misc */
.password-strength {
  font-size: 0.9rem;
  margin-top: 5px;
}

.password-strength.weak { color: #c0392b; }
.password-strength.medium { color: #f39c12; }
.password-strength.strong { color: #27ae60; }

.arrow {
  font-size: 0.85rem;
  margin-left: 0.35rem;
  color: var(--color-primary);
  transition: transform 0.15s ease;
}

.open .arrow {
  transform: rotate(90deg);
}

.logout-form {
  position: absolute;
  top: 10px;
  right: 10px;
}

.logout-form button {
  background: transparent;
  color: white;
  border: 1px solid white;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.logout-form button:hover {
  background-color: white;
  color: var(--color-header);
}
.dashboard-wrapper h1, /* or h2 */
.dashboard-wrapper p {
  text-align: center;
}

h2, p { text-align: center; } /* if safe site-wide */

.day-section {
  text-align: center;
}

.day-label {
  margin-top: 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.nav-report {
  color: #d35400;
  font-weight: 500;
}
.nav-report:hover {
  text-decoration: underline;
}

.admin-login-link {
  text-align: center;
  margin: 1.5rem 0;
}

.badge {
  background: #e74c3c;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 0.85rem;
}

.resolved-row {
  opacity: 0.6;
}

.badge.resolved {
  background-color: #27ae60;
  color: white;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.9rem;
}

.filter-group {
  margin-bottom: 1rem;
}
.main-container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}
