/* Manrope Font Declarations - Using Specific Weight Files */

@font-face {
  font-family: "Manrope";
  src: url("/eoc/fonts/manrope/manrope-v15-latin-200.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/eoc/fonts/manrope/manrope-v15-latin-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/eoc/fonts/manrope/manrope-v15-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/eoc/fonts/manrope/manrope-v15-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/eoc/fonts/manrope/manrope-v15-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/eoc/fonts/manrope/manrope-v15-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/eoc/fonts/manrope/manrope-v15-latin-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colors - Primary Palette */
  --primary-color: #2e6b47;
  --primary-dark: #05381d;
  --primary-light: #4a8d65;
  --secondary-color: #d90078;
  --secondary-dark: #c0006b;

  /* Text Colors */
  --text-primary: #203947;
  --text-color: #333333;
  --light-text-color: #6b7a86;

  /* Brand / page chrome accent */
  --brand-brown: #522e1c;
  --brand-brown-dark: #2a1709;
  --nav-active-color: var(--brand-brown);

  /* UI Element Colors */
  --border-color: #e0e0e0;
  --border-light: #eaecf0;
  --icon-gray: #98a2b3;
  --neutral-dark: #2b3136;

  /* Background Colors */
  --bg-light-green: #f2f7f2;
  --white: #ffffff;
  --footer-bg-color: #006246;
  --overlay-bg: rgba(0, 0, 0, 0.5);
  --auth-btn-bg: #006246;

  /* Spacing System - Based on 4px grid */
  --spacing-unit: 1rem; /* Base spacing (16px) */
  --spacing-xs: 0.25rem; /* 4px */
  --spacing-sm: 0.5rem; /* 8px */
  --spacing-md: 1.5rem; /* 24px */
  --spacing-lg: 2rem; /* 32px */
  --spacing-xl: 3rem; /* 48px */
  --spacing-2xl: 4rem; /* 64px */
  --spacing-3xl: 6rem; /* 96px */

  /* Section Padding */
  --section-padding: 5rem;

  /* Typography - Font Weights */
  --font-thin: 200;
  --font-extralight: 200;
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  --font-black: 800;

  /* Typography - Font Sizes with Comments */
  --text-xs: 0.75rem; /* 12px */
  --text-sm: 0.875rem; /* 14px */
  --text-base: 1rem; /* 16px */
  --text-md: 1.125rem; /* 18px */
  --text-lg: 1.25rem; /* 20px */
  --text-xl: 1.5rem; /* 24px */
  --text-2xl: 1.75rem; /* 28px */
  --text-2xl-lg: 1.875rem; /* 30px */
  --text-3xl: 2rem; /* 32px */
  --text-3xl-lg: 2.25rem; /* 36px */
  --text-4xl: 2.5rem; /* 40px */
  --text-5xl: 3rem; /* 48px */
  --text-6xl: 3.5rem; /* 56px */
  --text-7xl: 4rem; /* 64px */
  --text-8xl: 5rem; /* 80px */

  /* Line heights */
  --leading-none: 1; /* Heading tight */
  --leading-tight: 1.25; /* Compact */
  --leading-snug: 1.375; /* Slightly tighter than normal */
  --leading-normal: 1.5; /* Standard body text */
  --leading-relaxed: 1.625; /* Slightly looser for readability */
  --leading-loose: 2; /* Very loose */

  /* Border radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --card-radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Base styles */
html,
body {
  font-family:
    "Manrope",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen-Sans,
    Ubuntu,
    Cantarell,
    "Helvetica Neue",
    sans-serif;
  color: var(--text-color);
  font-size: 16px;
  line-height: var(--leading-normal);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Override CKAN default background */
body {
  background: #fff !important;
  background-image: none !important;
}

/* Section spacing */
section {
  padding: var(--section-padding, 5rem) 0;
}

/* Utility classes */
.text-center {
  text-align: center;
}

.d-block {
  display: block;
}

/* ========================================
   Dataset Status Badge Styles
   ======================================== */

/* Base badge styles */
.dataset-status-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  line-height: var(--leading-tight);
  margin-bottom: var(--spacing-md);
  transition: var(--transition-fast);
}

.dataset-status-badge__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dataset-status-badge__icon .icon {
  width: 16px;
  height: 16px;
}

.dataset-status-badge__label {
  white-space: nowrap;
}

/* Status-specific modifiers - Following Figma design specifications */

/* Uploaded status - Blue */
.dataset-status-badge--uploaded {
  background-color: #e3f2fd;
  color: #1565c0;
}

/* Validation Failed status - Red */
.dataset-status-badge--validation_failed,
.dataset-status-badge--validation-failed {
  background-color: #ffebee;
  color: #c62828;
}

/* Validation Passed status - Green */
.dataset-status-badge--validation_passed,
.dataset-status-badge--validation-passed {
  background-color: #e8f5e9;
  color: #2e7d32;
}

/* Pending Review status - Amber */
.dataset-status-badge--pending_review,
.dataset-status-badge--pending-review {
  background-color: #fff8e1;
  color: #f57f17;
}

/* Approved status - Dark Green */
.dataset-status-badge--approved {
  background-color: #e8f5e9;
  color: #1b5e20;
}

/* Rejected status - Dark Red */
.dataset-status-badge--rejected {
  background-color: #ffebee;
  color: #b71c1c;
}

/* Icon color inheritance */
.dataset-status-badge__icon svg {
  stroke: currentColor;
}

/**
 * Header / Masthead
 * Figma: Nav Headers component – node I114:16965
 *
 * Exact specs from Figma file 7pkrqYlY3BN2AU8jtf43oM
 * - Height:  ~109px  (padding 24px top/bottom)
 * - BG:      #FFFFFF
 * - Border:  1px solid #D4D9DD (bottom only)
 * - Font:    Manrope throughout
 * - Nav active color:   var(--nav-active-color) / #522E1C  SemiBold 600
 * - Nav inactive color: #6B7A86  Regular 400
 * - Nav gap: 40px between items
 */

/* =============================================
   MASTHEAD WRAPPER
   ============================================= */

.masthead {
  background: #ffffff;
  border-bottom: 1px solid #d4d9dd;
  padding: 24px 0;
  position: relative;
  z-index: 1000;
}

/* =============================================
   HEADER ROW
   ============================================= */

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

/* =============================================
   LOGO
   ============================================= */

.header-logo {
  flex: 0 0 auto;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-container img {
  height: 60px;
  width: auto;
}

.logo:hover {
  opacity: 0.9;
  text-decoration: none;
}

/* =============================================
   DESKTOP NAV
   Figma: gap 40px between items, Manrope 16px
   Active: var(--nav-active-color) SemiBold 600
   Inactive: #6B7A86 Regular 400
   ============================================= */

.header-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.eoc-nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 40px;
}

/* Override CKAN's build_nav_main li margin */
.eoc-nav-menu li,
.eoc-nav-menu li.active {
  margin: 0;
}

.eoc-nav-menu li a {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #6b7a86 !important;
  text-decoration: none;
  line-height: 24px;
  padding: 0;
  display: inline;
  transition: color 0.15s ease;
}

.eoc-nav-menu li a:hover,
.eoc-nav-menu li a:focus {
  color: var(--nav-active-color) !important;
  text-decoration: none;
}

/* Active link */
.eoc-nav-menu li.active a {
  font-weight: 600;
  color: var(--nav-active-color) !important;
}

/* =============================================
   DESKTOP ACTIONS
   Right side: Language | divider | Bell | divider | User pill
   ============================================= */

.header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ── Vertical divider ── */
.header-divider {
  display: block;
  width: 1px;
  height: 40px;
  background: #d4d9dd;
  flex-shrink: 0;
}

/* ── Language selector ── */
.header-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 4px 0;
}

.header-lang__icon {
  flex-shrink: 0;
  color: #526070;
}

.header-lang__label {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #526070;
  line-height: 1;
}

.header-lang__chevron {
  flex-shrink: 0;
  color: #526070;
}

/* ── Notification bell ── */
.header-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  text-decoration: none;
  transition: background 0.15s ease;
  flex-shrink: 0;
}

.header-icon-btn:hover {
  background: #f9fafb;
  text-decoration: none;
}

.header-icon-btn svg {
  display: block;
}

/* Red dot badge for unread notifications */
.header-icon-btn__dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d90078;
  border: 1.5px solid #ffffff;
}

.header-icon-btn--muted {
  cursor: default;
  pointer-events: none;
}

/* ── User pill ── */
.header-user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 16px 4px 4px;
  border-radius: 50px;
  border: 1px solid #d4d9dd;
  background: #ffffff;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #333333;
  text-decoration: none;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
  white-space: nowrap;
}

.header-user-pill:hover,
.header-user-pill:focus {
  border-color: #526070;
  text-decoration: none;
  color: #333333;
}

/* Login variant — filled green */
.header-user-pill--login {
  background: #006246;
  border-color: #006246;
  color: #ffffff !important;
  padding: 8px 20px;
  font-weight: 600;
}

.header-user-pill--login:hover {
  background: #005238;
  border-color: #005238;
  color: #ffffff !important;
}

/* Avatar inside pill */
.header-user-pill__avatar {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-user-pill__avatar img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.header-user-pill__name {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #333333;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-user-pill__caret {
  flex-shrink: 0;
  color: #6b7a86;
  transition: transform 0.2s ease;
}

.header-user-dropdown.open .header-user-pill__caret {
  transform: rotate(180deg);
}

/* ── Dropdown menu ── */
.header-user-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  z-index: 1000;
  background: #ffffff;
  border: 1px solid #eaecf0;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  min-width: 200px;
  padding: 6px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0.15s;
}

.dropdown.open .dropdown-menu,
.header-user-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
  list-style: none;
}

.dropdown-menu li a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #333333 !important;
  text-decoration: none;
  transition: background 0.12s ease;
}

.dropdown-menu li a:hover {
  background: #f9fafb;
  color: #333333 !important;
  text-decoration: none;
}

.dropdown-menu li a i {
  width: 16px;
  font-size: 14px;
  color: #98a2b3;
  flex-shrink: 0;
}

.dropdown-menu li a:hover i {
  color: #526070;
}

.dropdown-divider {
  border-top: 1px solid #eaecf0 !important;
  margin: 4px 0 !important;
  padding: 0 !important;
}

/* Badge for notifications count */
.dropdown-menu .badge {
  background: #d90078;
  color: #ffffff;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 11px;
  margin-left: auto;
}

/* =============================================
   MOBILE
   ============================================= */

.desktop-only {
  display: flex;
}

.mobile-only {
  display: none;
}

.navbar-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 4px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 4px;
}

.navbar-toggle .fa-bars {
  color: #526070;
  font-size: 18px;
}

.mobile-nav {
  display: none;
  background: #ffffff;
  border-bottom: 1px solid #d4d9dd;
  width: 100%;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav nav {
  padding: 12px 0 16px;
}

.mobile-nav .eoc-nav-menu {
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.mobile-nav .eoc-nav-menu li {
  margin: 0;
  border-bottom: 1px solid #f2f4f7;
}

.mobile-nav .eoc-nav-menu li a {
  display: block !important;
  padding: 12px 0;
  font-size: 15px;
}

.mobile-login {
  padding: 16px 0 4px;
}

/* Mobile search panel */
.mobile-search-panel {
  display: none;
  background: #ffffff;
  padding: 12px 0;
  border-top: 1px solid #f2f4f7;
  border-bottom: 1px solid #f2f4f7;
}

.mobile-search-panel.active {
  display: block;
}

.search-input-container {
  position: relative;
  display: flex;
  align-items: center;
  height: 40px;
  border: 1px solid #d4d9dd;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.search-input {
  flex: 1;
  height: 100%;
  border: none;
  padding: 0 12px;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  color: #333333;
  outline: none;
}

.search-input::placeholder {
  color: #98a2b3;
}

.search-close {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  color: #98a2b3;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

/* =============================================
   RESPONSIVE BREAKPOINTS
   ============================================= */

@media (max-width: 991px) {
  .logo-container img {
    height: 50px;
  }

  .eoc-nav-menu {
    gap: 24px;
  }

  .header-lang__label {
    display: none; /* hide label text, keep icon */
  }
}

@media (max-width: 767px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: flex !important;
  }

  .navbar-toggle {
    display: flex;
  }

  .masthead {
    padding: 16px 0;
  }

  .logo-container img {
    height: 40px;
  }

  .header-row {
    justify-content: space-between;
  }
}

/* Homepage full-width styling overrides */
.homepage-content {
  width: 100%;
  margin: 0;
  padding: 0;
  max-width: none;
}

/* Override any CKAN default container constraints */
body.eoc-theme.homepage {
  overflow-x: hidden;
}

.main-banner,
.blog-section,
.partners-section,
.testimonials-section,
.faqs-section {
  width: 100%;
}

.main-banner .container,
.blog-section .container,
.partners-section .container,
.testimonials-section .container,
.faqs-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Hero Section Styles */
.main-banner {
  position: relative;
  min-height: 70vh;
  max-height: min(700px, 80vh);
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/eoc/images/poster-cover.webp");
  background-size: cover;
  background-position: center right;
  z-index: -1;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(46, 107, 71, 0.9) 0%,
    rgba(46, 107, 71, 0.7) 70%,
    rgba(46, 107, 71, 0) 100%
  );
  z-index: 0;
}

.banner-content {
  position: relative;
  z-index: 1;
}

.banner-text {
  max-width: 37.5rem;
  padding: calc(var(--spacing-unit) * 1.875) 0;
}

.banner-text h1 {
  font-size: var(--text-5xl);
  font-weight: var(--font-extrabold);
  margin-bottom: calc(var(--spacing-unit) * 1.25);
  line-height: var(--leading-tight);
}

.banner-text p {
  font-size: var(--text-md);
  font-weight: var(--font-regular);
  margin-bottom: calc(var(--spacing-unit) * 1.875);
  line-height: var(--leading-relaxed);
}

.btn-cta {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--white);
  font-weight: var(--font-bold);
  padding: calc(var(--spacing-unit) * 0.75) calc(var(--spacing-unit) * 1.875);
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-cta:hover {
  background-color: var(--secondary-dark);
  color: white;
  text-decoration: none;
}

/* Blog Section */
.blog-section {
  padding: var(--section-padding) 0;
  background-color: var(--bg-light-green);
}

.blog-section .section-title {
  font-weight: var(--font-bold);
  font-size: var(--text-3xl-lg);
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: calc(var(--spacing-unit) * 3);
  color: var(--primary-dark);
}

.section-title-break {
  display: block;
}

.blog-card {
  position: relative;
  overflow: hidden;
  transition:
    var(--transition-normal),
    box-shadow 0.3s;
  margin-bottom: calc(var(--spacing-unit) * 1.5);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-image:hover {
  transform: translateY(-0.3125rem);
  box-shadow: var(--shadow-md);
}

.blog-image {
  border-radius: var(--card-radius);
  height: min(13.75rem, 50vh);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-title {
  color: var(--primary-dark);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  margin-bottom: 0.5rem;
  line-height: var(--leading-tight);
}

.blog-summary {
  color: var(--text-primary);
  font-size: var(--text-base);
  font-weight: var(--font-regular);
  line-height: var(--leading-normal);
  margin-bottom: 0.75rem;
}

/* Partners Section */
.partners-section {
  padding: var(--section-padding) 0;
  background-color: var(--white);
}

.partners-section .section-title {
  font-weight: var(--font-regular);
  font-size: var(--text-base);
  line-height: var(--leading-tight);
  text-align: center;
  margin-bottom: calc(var(--spacing-unit) * 2.5);
  color: var(--text-primary);
}

.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: calc(var(--spacing-unit) * 1.25);
  margin-top: calc(var(--spacing-unit) * 2.5);
  flex-wrap: nowrap;
}

.partner-logo {
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--spacing-unit) * 0.625);
  transition: transform 0.3s ease;
  width: calc(100% / 6);
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .partner-logo {
    padding: calc(var(--spacing-unit) * 0.5);
  }
}

@media (max-width: 991px) {
  .partners-grid {
    flex-wrap: wrap;
    gap: calc(var(--spacing-unit) * 1.5);
  }

  .partner-logo {
    width: calc(33.333% - var(--spacing-unit));
  }
}

@media (max-width: 576px) {
  .partner-logo {
    width: calc(50% - var(--spacing-unit));
    height: 4rem;
  }

  .blog-content {
    padding: var(--spacing-unit);
    margin-top: 0.5rem;
  }

  .blog-title {
    font-size: var(--text-lg);
    margin-bottom: 0.375rem;
  }
}

/* Testimonials Section */
.testimonials-section {
  padding: var(--section-padding) 0;
}

.testimonial-wrapper {
  width: 100%;
  overflow: hidden;
}

.testimonial-content {
  padding: var(--spacing-xl) var(--spacing-lg);
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition:
    opacity 0.4s ease-in-out,
    transform 0.4s ease-in-out;
}

.testimonial-quote {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
}

.testimonial-quote h3 {
  font-size: var(--text-2xl-lg);
  line-height: var(--leading-relaxed);
  font-weight: var(--font-semibold);
  color: var(--primary-dark);
  position: relative;
  padding-left: var(--spacing-lg);
}

.testimonial-quote h3:before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: -1rem;
  font-size: 3.75rem;
  color: var(--primary-dark);
  line-height: 1;
}

.testimonial-quote h3:after {
  content: "\201D";
  position: absolute;
  font-size: 3.75rem;
  color: var(--primary-dark);
  line-height: 1;
}

/* Flex container for attribution and navigation */
.testimonial-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-sm);
}

.testimonial-attribution {
  display: flex;
  flex-direction: column;
}

.testimonial-attribution p {
  font-weight: var(--font-semibold);
  font-size: var(--text-md);
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.testimonial-attribution span {
  color: var(--light-text-color);
  font-size: var(--text-sm);
}

.testimonial-navigation {
  display: flex;
  gap: var(--spacing-sm);
}

.nav-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  color: var(--text-primary);
  margin: 0 0.25rem;
}

.nav-button:hover {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.nav-button:active {
  background-color: var(--primary-dark);
  transform: translateY(0);
}

.testimonials-section .row {
  display: flex;
  flex-wrap: wrap;
}

.testimonials-section .col-md-6 {
  display: flex;
  flex-direction: column;
}

/* Testimonial image consistency */
.testimonial-image {
  height: 100%;
  position: relative;
  transition:
    opacity 0.4s ease-in-out,
    transform 0.4s ease-in-out;
}

.image-container {
  height: 100%;
  min-height: 350px;
  max-height: 450px;
  overflow: hidden;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Testimonial animations */
.testimonial-transition .testimonial-quote h3,
.testimonial-transition .testimonial-meta,
.testimonial-transition .image-container {
  animation: fadeTransition 0.6s ease-in-out;
}

@keyframes fadeTransition {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-image {
  position: relative;
  overflow: visible;
  height: 100%;
}

.image-container {
  height: 100%;
  min-height: 450px;
  max-height: 550px;
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  box-shadow: var(--shadow-md);
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.5s ease;
}

/* Add subtle hover effect */
.testimonial-image:hover img {
  transform: scale(1.03);
}

.overlay-info {
  position: absolute;
  bottom: var(--spacing-unit);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  padding: calc(var(--spacing-unit) * 1.25);
  width: auto;
  min-width: 90%;
  max-width: 95%;
  border: 1px solid rgba(255, 255, 255, 0.49);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--card-radius);
  display: flex;
  flex-direction: column;
}

/* Name and star rating in same row */
.overlay-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: calc(var(--spacing-unit) * 0.5);
  width: 100%;
}

.overlay-info h4 {
  font-size: var(--text-2xl-lg);
  font-weight: var(--font-semibold);
  margin: 0;
  flex: 1;
}

.overlay-info p {
  margin-bottom: calc(var(--spacing-unit) * 0.5);
  font-size: var(--text-md);
  font-weight: var(--font-semibold);
  color: rgba(255, 255, 255, 0.8);
}

.overlay-info .organization {
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
}

.star-rating {
  display: flex;
  justify-content: flex-end;
  color: white;
  margin: 0;
  white-space: nowrap;
}

.star-rating i {
  margin-left: 0.25rem;
}

/* FAQs Section */
.faqs-section {
  padding: var(--section-padding) 0;
  background-color: var(--bg-light-green);
}

.faqs-section .section-title {
  font-weight: var(--font-semibold);
  font-size: var(--text-3xl-lg);
  line-height: var(--leading-tight);
  text-align: center;
  margin-bottom: calc(var(--spacing-unit) * 1.25);
  color: var(--primary-dark);
}

.section-subtitle {
  text-align: center;
  color: var(--text-primary);
  font-size: var(--text-lg);
  font-weight: var(--font-regular);
  max-width: 43.75rem;
  margin: 0 auto calc(var(--spacing-unit) * 2.5);
}

.faqs-accordion {
  max-width: 50rem;
  margin: 0 auto;
  border-top: 1px solid var(--border-light);
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
  border-left: none;
  border-right: none;
  overflow: hidden;
}

.faq-question {
  padding: calc(var(--spacing-unit) * 1.125) calc(var(--spacing-unit) * 1.25);
  font-weight: var(--font-medium);
  font-size: var(--text-md);
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
}

/* Circular toggle icon styling */
.toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: var(--text-md);
  color: var(--icon-gray);
  border: 2px solid #98a2b3;
  border-radius: 50%;
  transition: all 0.3s ease;
  flex-shrink: 0;
  line-height: 1;
  font-weight: var(--font-semibold);
}

.faq-answer {
  font-size: var(--text-base);
  font-weight: var(--font-regular);
  padding: 0 calc(var(--spacing-unit) * 1.25);
  max-height: 0;
  overflow: hidden;
  color: var(--text-primary);
  line-height: var(--leading-normal);
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 12.5rem;
  padding: 0 calc(var(--spacing-unit) * 1.25) calc(var(--spacing-unit) * 1.25);
}

.faq-item.active .toggle-icon {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.faq-item.active .faq-question {
  font-weight: var(--font-semibold);
  color: var(--primary-color);
}

/* FAQ CTA button container */
.faq-cta-container {
  text-align: center;
  margin-top: calc(var(--spacing-unit) * 3);
}

.faq-cta-container .btn-cta {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--white);
  font-weight: var(--font-bold);
  padding: calc(var(--spacing-unit) * 0.75) calc(var(--spacing-unit) * 1.875);
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.faq-cta-container .btn-cta:hover {
  background-color: var(--secondary-dark);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .main-banner {
    min-height: 50vh;
  }

  .banner-text h1 {
    font-size: var(--text-2xl);
  }

  .banner-text p {
    font-size: var(--text-base);
  }

  .testimonial-content {
    padding: var(--spacing-xl) var(--spacing-lg);
  }

  .testimonial-quote h3 {
    font-size: var(--text-lg);
  }

  .testimonial-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-md);
  }

  .testimonial-navigation {
    align-self: flex-end;
    margin-top: var(--spacing-sm);
  }

  .testimonial-image {
    min-height: 18.75rem;
  }

  .overlay-info {
    max-width: 100%;
  }

  .masthead {
    padding: calc(var(--spacing-unit) * 0.625) 0;
  }

  .logo-container img {
    height: 1.875rem;
  }

  .collapse.navbar-collapse {
    width: 100%;
  }

  .header-actions {
    justify-content: space-between;
    width: 100%;
    margin-top: calc(var(--spacing-unit) * 0.625);
    flex-direction: column;
    align-items: flex-start;
  }

  .expandable-search {
    width: 100%;
    margin-bottom: calc(var(--spacing-unit) * 0.625);
  }

  .expandable-search.active .search-input-container {
    width: 100%;
  }

  .navbar-collapse {
    background-color: #fff;
    border-top: 1px solid #eee;
    margin-top: calc(var(--spacing-unit) * 0.9375);
  }

  .blog-content {
    padding: calc(var(--spacing-unit) * 1.25);
  }

  .blog-title {
    font-size: calc(var(--text-lg) + 0.125rem);
    margin-bottom: calc(var(--spacing-unit) * 0.625);
  }

  .blog-summary {
    font-size: var(--text-base);
    margin-bottom: calc(var(--spacing-unit) * 0.875);
  }

  .partners-grid {
    gap: calc(var(--spacing-unit) * 1.25);
  }

  .partner-logo {
    height: 4rem;
    padding: calc(var(--spacing-unit) * 0.625);
  }

  .blog-section .section-title,
  .partners-section .section-title,
  .testimonials-section .section-title,
  .faqs-section .section-title {
    font-size: var(--text-2xl);
    margin-bottom: calc(var(--spacing-unit) * 2);
  }

  .faq-cta-container {
    margin-top: calc(var(--spacing-unit) * 2);
  }
}

@media (max-width: 576px) {
  .main-banner {
    min-height: 40vh;
  }

  .gradient-overlay {
    width: 100%;
    background: linear-gradient(
      0deg,
      rgba(46, 107, 71, 0.9) 0%,
      rgba(46, 107, 71, 0.7) 70%,
      rgba(46, 107, 71, 0.5) 100%
    );
  }

  .banner-text {
    text-align: center;
    padding: calc(var(--spacing-unit) * 1.25) calc(var(--spacing-unit) * 1);
  }

  .banner-text h1 {
    font-size: calc(var(--text-xl) + 0.25rem);
  }

  .blog-card {
    min-height: auto;
  }

  .blog-image {
    height: 10rem;
  }

  .testimonial-content,
  .overlay-info {
    padding: var(--spacing-unit);
  }

  .blog-section,
  .partners-section,
  .testimonials-section,
  .faqs-section {
    padding: calc(var(--section-padding) * 0.7) 0;
  }
}

/* Footer Styling */
.eoc-footer {
  background-color: var(--footer-bg-color);
  color: var(--white);
  padding: calc(var(--spacing-unit) * 3.75) 0 0;
  position: relative;
  z-index: 10;
}

/* Footer Main Section */
.footer-main {
  padding-bottom: calc(var(--spacing-unit) * 1.875);
  margin-bottom: calc(var(--spacing-unit) * 1.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.footer-brand {
  display: flex;
  align-items: flex-start;
}

.agency-logo {
  background-color: var(--white);
  border-radius: calc(var(--card-radius) * 1.5);
  padding: calc(var(--spacing-unit) * 0.9375);
  display: inline-block;
}

.agency-logo img {
  width: 18.625rem;
  height: 9.125rem;
  object-fit: contain;
}

.footer-right-content {
  height: 100%;
  display: flex;
  align-items: flex-start;
}

.footer-content-wrapper {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  gap: calc(var(--spacing-unit) * 1.5);
}

.footer-sections {
  display: flex;
  justify-content: flex-end;
  gap: calc(var(--spacing-unit) * 1.875);
  padding-left: calc(var(--spacing-unit) * 2.5);
}

.footer-nav,
.footer-contact {
  padding-top: 0;
  padding-right: 0;
  flex: 0 0 auto;
  width: auto;
  min-width: 12.5rem;
  max-width: 14.375rem;
}

.footer-nav h4,
.footer-contact h4 {
  font-weight: var(--font-semibold);
  font-size: var(--text-lg);
  margin-top: 0;
  margin-bottom: calc(var(--spacing-unit) * 1.25);
  color: var(--border-light);
  letter-spacing: 0.02em;
}

.footer-links,
.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: calc(var(--spacing-unit));
}

.contact-info li {
  display: block;
  margin-bottom: calc(var(--spacing-unit) * 1.25);
}

.footer-links a,
.contact-info a,
.contact-info span {
  color: var(--white);
  text-decoration: none;
  font-weight: var(--font-regular);
  font-size: var(--text-base);
  transition: opacity 0.2s ease;
  letter-spacing: 0.01em;
  line-height: var(--leading-normal);
}

.footer-links a:hover,
.contact-info a:hover {
  opacity: 1;
  text-decoration: underline;
  color: rgba(255, 255, 255, 0.9);
}

/* Footer Bottom Section */
.footer-bottom {
  padding: calc(var(--spacing-unit) * 1.5625) 0;
}

.copyright-text {
  display: block;
  width: 100%;
  max-width: 100%;
}

.copyright-text p {
  margin: 0 0 calc(var(--spacing-unit) * 0.625);
  font-weight: var(--font-regular);
  font-size: var(--text-sm);
  color: var(--white);
  line-height: var(--leading-normal);
  text-align: left;
  opacity: 0.9;
  white-space: normal;
  overflow: visible;
}

/* License text styling */
.copyright-text p:nth-child(2) {
  font-size: calc(var(--text-sm) - 0.0625rem);
  opacity: 0.8;
}

/* Social Icons Styling for SVG */
.social-icons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-left: calc(var(--spacing-unit));
  transition: all 0.3s ease;
  color: var(--white);
}

.social-icons a.facebook-icon {
  background-color: var(--white);
  color: var(--footer-bg-color);
  border-radius: 50%;
}

.social-icons a.x-icon,
.social-icons a.linkedin-icon {
  background-color: transparent;
  position: relative;
}

.social-icons a img {
  width: 1.25rem;
  height: 1.25rem;
  filter: brightness(0) invert(1);
}

.social-icons i {
  font-size: var(--text-xl);
}

.social-icons a:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .eoc-footer {
    padding: calc(var(--spacing-unit) * 3.125) 0 0;
  }

  .footer-main {
    padding-bottom: calc(var(--spacing-unit) * 1.875);
    margin-bottom: calc(var(--spacing-unit) * 1.25);
  }

  .agency-logo {
    margin-bottom: calc(var(--spacing-unit) * 1.5625);
  }

  .agency-logo img {
    width: 16.25rem;
    height: auto;
  }

  .col-md-8 {
    display: block;
    width: 100%;
    margin-top: calc(var(--spacing-unit) * 0.625);
  }

  .footer-sections {
    display: flex;
    justify-content: space-between;
    padding-left: 0;
    gap: calc(var(--spacing-unit) * 1.5625);
    width: 100%;
  }

  .footer-nav,
  .footer-contact {
    width: 48%;
    min-width: initial;
    max-width: initial;
    margin-bottom: calc(var(--spacing-unit) * 1.25);
  }

  .footer-nav h4,
  .footer-contact h4 {
    font-size: calc(var(--text-base) + 0.0625rem);
    margin-bottom: calc(var(--spacing-unit) * 1.125);
  }

  .footer-links li,
  .contact-info li {
    margin-bottom: calc(var(--spacing-unit) * 0.875);
  }

  .footer-content-wrapper {
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 2);
  }

  .agency-name {
    font-size: var(--text-base);
    margin-top: calc(var(--spacing-unit) * 0.75);
  }
}

@media (max-width: 767px) {
  .eoc-footer {
    padding: calc(var(--spacing-unit) * 2.5) 0 0;
  }

  .footer-main {
    padding-bottom: calc(var(--spacing-unit) * 1.5625);
    margin-bottom: calc(var(--spacing-unit) * 0.9375);
  }

  .footer-brand {
    justify-content: center;
    width: 100%;
  }

  .agency-logo {
    margin: 0 auto calc(var(--spacing-unit) * 1.5625);
    padding: calc(var(--spacing-unit) * 0.75);
  }

  .agency-logo img {
    width: 13.75rem;
    height: auto;
  }

  .footer-sections {
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 1.5625);
  }

  .footer-nav,
  .footer-contact {
    width: 100%;
    margin-bottom: 0;
    padding: 0;
    text-align: center;
  }

  .footer-nav h4,
  .footer-contact h4 {
    font-size: var(--text-base);
    margin-bottom: var(--spacing-unit);
    text-align: center;
  }

  .contact-info li {
    justify-content: center;
  }

  .contact-info a,
  .contact-info span {
    text-align: center;
  }

  .copyright-text {
    margin-bottom: calc(var(--spacing-unit) * 1.25);
  }

  .copyright-text p {
    text-align: center;
    font-size: var(--text-sm);
    line-height: var(--leading-snug);
  }

  .social-icons {
    justify-content: center;
    margin-top: calc(var(--spacing-unit) * 0.9375);
  }

  .footer-bottom .row {
    flex-direction: column-reverse;
  }

  .agency-name {
    text-align: center;
    margin-top: calc(var(--spacing-unit) * 0.75);
    padding: 0 calc(var(--spacing-unit) * 1);
  }

  .footer-content-wrapper {
    align-items: center;
  }
}

/* --------------------
   Core Layout Components
   -------------------- */

/* Main container with fixed positioning */
.auth-container {
  display: flex;
  min-height: 100vh;
  min-width: 100vw;
  background-color: var(--white);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  overflow: hidden;
}

/* Left Panel: Yellow Background with Branding */
.auth-hero {
  width: 50%;
  background-color: #e3c934;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  display: none;
}

.auth-hero-content {
  margin-top: 6rem;
  margin-left: 3rem;
  margin-right: 4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  height: 100%;
}

/* Brand Header (Logo + Text) */
.auth-brand-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand-logo {
  height: auto;
  width: auto;
  max-height: 60px;
}

.brand-text {
  height: auto;
  width: auto;
  max-height: 40px;
}

/* Hero Text Block */
.auth-hero-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 571px;
}

.hero-title {
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 2.75rem;
  color: #000000;
  margin: 0;
}

.hero-description {
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.25rem;
  letter-spacing: 0.5px;
  color: #4b5563;
  margin: 0;
}

/* Hero Footer */
.auth-hero-footer {
  margin-top: auto;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
}

.hero-footer-text {
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #4b5563;
}

.footer-separator {
  height: 0.375rem;
}

.hero-footer-link {
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #4b5563;
  text-decoration: none;
  transition: text-decoration 0.2s;
}

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

/* Right Panel: White Background with Form */
.auth-form-column {
  width: 50%;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow-y: auto;
  height: 100vh;
  position: relative;
}

/* Form wrapper - provides structure for form elements */
.auth-form-wrapper {
  width: 322px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* --------------------
   Shared Form Components
   -------------------- */

.auth-logo {
  text-align: center;
  margin-top: var(--spacing-lg);
}

.auth-logo img {
  height: 5.5rem;
  width: auto;
}

/* Form content container */
.auth-form-content {
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.auth-heading {
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 2rem;
  color: #4b5563;
  margin: 0;
  text-align: left;
}

/* Description text for password reset pages */
.auth-description {
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #4b5563;
  margin: 0;
}

/* Shared form elements with consistent spacing */
.form-group {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-group label {
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  color: #4b5563;
  margin: 0;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"] {
  width: 100%;
  padding: 0.5rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.875rem;
  color: #6b7280;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus,
.form-group input[type="email"]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.form-group input::placeholder {
  color: #d1d5db;
  font-size: 0.875rem;
}

/* Checkbox styling */
.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.form-checkbox input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
}

.form-checkbox label {
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  color: #4b5563;
  margin: 0;
}

.form-actions {
  margin-top: 1rem;
  margin-bottom: 0;
}

/* Button styling */
.auth-button {
  display: block;
  width: 100%;
  background-color: #39251b;
  color: var(--white);
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition:
    background-color 0.2s,
    opacity 0.2s,
    box-shadow 0.2s;
}

.auth-button:hover {
  background-color: #1e3a8a;
}

.auth-button:focus,
.auth-button:focus-visible {
  outline: 2px solid #1e3a8a;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.2);
}
.auth-button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.auth-form-content .form-group label {
  font-weight: var(--font-regular);
  display: block;
  margin-bottom: var(--spacing-xs);
  color: var(--neutral-dark);
}

.auth-form-content .form-checkbox label {
  display: inline-block;
  margin-left: var(--spacing-xs);
  font-weight: var(--font-regular);
}

/* Target any potential CKAN overrides */
.auth-container label[for],
.auth-form-content label[for] {
  font-weight: var(--font-regular);
}

/* --------------------
   Link Components
   -------------------- */

/* Action links styling */
.auth-links {
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.auth-links a {
  color: #39251b;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.875rem;
  text-decoration: none;
  transition: text-decoration 0.2s;
  font-weight: 600;
}

.auth-links a:hover {
  text-decoration: underline;
}

/* Login-specific link */
.auth-links--login {
  margin-top: 0.5rem;
}

/* Registration-specific link */
.auth-links--register {
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

/* Return to login link */
.auth-links--return {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-links--return a {
  color: #4b5563;
  font-weight: 400;
}

.auth-links--return a:hover {
  text-decoration: underline;
}

/* Error message styling */
.error-explanation {
  color: #6b7280;
  border: 1px solid #d1d5db;
  background-color: #fef2f2;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  padding: 1rem;
  border-radius: 0.375rem;
}

/* Success message styling */
.success-message {
  color: #059669;
  border: 1px solid #86efac;
  background-color: #dcfce7;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  padding: 1rem;
  border-radius: 0.375rem;
}

/* Alert/flash message styling - scoped to auth pages only */
.auth-container .alert-success {
  color: #059669;
  border: 1px solid #86efac;
  background-color: #dcfce7;
  font-size: 0.875rem;
  padding: 1rem;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
}

.auth-container .alert-error,
.auth-container .alert-danger {
  color: #6b7280;
  border: 1px solid #d1d5db;
  background-color: #fef2f2;
  font-size: 0.875rem;
  padding: 1rem;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
}

.auth-container .alert-info {
  color: #0369a1;
  border: 1px solid #7dd3fc;
  background-color: #e0f2fe;
  font-size: 0.875rem;
  padding: 1rem;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
}

/* --------------------
   Footer Component
   -------------------- */

.auth-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  color: var(--light-text-color);
  font-size: var(--text-xs);
  padding: var(--spacing-sm) 0;
  background-color: var(--white);
  z-index: 50;
}

/* --------------------
   Responsive Behavior
   -------------------- */

@media (min-width: 768px) {
  .auth-hero {
    display: flex;
  }

  .auth-container {
    flex-direction: row;
  }
}

@media (max-width: 767px) {
  .auth-container {
    flex-direction: column;
    min-height: 100vh;
  }

  .auth-hero {
    display: none;
  }

  .auth-form-column {
    width: 100%;
  }

  .auth-form-wrapper {
    width: 100%;
    max-width: 400px;
  }

  .auth-form-content {
    padding: 1rem;
  }
}

/* --------------------
   Alert/Error Messages
   -------------------- */

.flash-messages {
  margin-bottom: 1.5rem;
}

.flash-messages .alert {
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* Alert variants */
.flash-messages .alert-danger,
.flash-messages .alert-error {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.flash-messages .alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.flash-messages .alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeaa7;
}

.flash-messages .alert-info {
  color: #004085;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

/* Close button */
.flash-messages .alert .close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  opacity: 0.5;
  cursor: pointer;
  padding: 0;
  margin-left: 1rem;
}

.flash-messages .alert .close:hover {
  opacity: 0.75;
}

/* Form error styling */
.error-explanation {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 0.375rem;
  color: #721c24;
}

.error-explanation h2 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.error-explanation ul {
  margin: 0;
  padding-left: 1.5rem;
  list-style-type: disc;
}

.error-explanation li {
  margin-bottom: 0.25rem;
}
