/**
 * ============================================
 * 241 RUNNERS AWARENESS - UNIFIED STYLESHEET
 * ============================================
 * 
 * This stylesheet contains ALL styles for the 241 Runners Awareness website.
 * It provides a comprehensive design system for the missing persons awareness platform.
 * 
 * Design Philosophy:
 * - Accessibility-first approach with high contrast and readable fonts
 * - Mobile-responsive design that works on all devices
 * - Dark mode support for user preference and reduced eye strain
 * - Brand consistency with red (#ff0000) as primary color
 * - Performance optimized with efficient CSS selectors
 * 
 * Features:
 * - Responsive navigation with hamburger menu
 * - Dark/light theme toggle with smooth transitions
 * - Cross-browser compatibility with vendor prefixes
 * - Progressive enhancement for modern browsers
 * - Optimized for missing persons awareness content
 * 
 * Version: 20250128f - Unified Traffic Light Theme
 * Last Updated: January 2025
 * 
 * This stylesheet now contains ALL styles for the entire 241 Runners Awareness website.
 * All inline CSS has been extracted from HTML files and consolidated here.
 * The traffic light theme is consistently applied throughout all components.
 */

/* 
 * ============================================
 * TRAFFIC LIGHT THEME COLORS
 * ============================================
 * 
 * Defines the traffic light color system used throughout the site.
 * Each color represents a different level of urgency and importance.
 */

:root {
  /* Traffic Light Color System */
  --red-urgent: #ff0000;        /* Bright Red - Most Urgent */
  --red-medium: #dc2626;        /* Medium Red - High Priority */
  --red-dark: #b91c1c;          /* Dark Red - Important */
  --yellow-bright: #ffcc00;     /* Bright Yellow - Caution */
  --yellow-medium: #f4c430;     /* Medium Yellow - Warning */
  --yellow-light: #ffdd57;      /* Light Yellow - Notice */
  --green-bright: #33cc33;      /* Bright Green - Safe/Found */
  --green-medium: #28a745;      /* Medium Green - Stable */
  --green-light: #20c997;       /* Light Green - Good */
  
  /* Brand Colors */
  --primary-red: #ff0000;
  --primary-dark: #000000;
  --primary-white: #ffffff;
  
  /* Semantic Colors */
  --success: var(--green-bright);
  --warning: var(--yellow-bright);
  --danger: var(--red-urgent);
  --info: #3b82f6;
  
  /* Neutral Colors */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

/* 
 * ============================================
 * CSS RESET & BASE STYLES
 * ============================================
 * 
 * Normalizes browser defaults and establishes consistent base styling.
 * Ensures predictable rendering across different browsers and devices.
 */

/* Universal box-sizing reset for consistent sizing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 
 * ============================================
 * BODY STYLING & LAYOUT FOUNDATION
 * ============================================
 * 
 * Sets up the main document structure with flexbox layout.
 * Establishes brand colors and responsive behavior.
 */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Modern, readable font stack */
  background: #ff0000; /* Default red background - brand color */
  color: #000;
  
  /* Smooth theme transitions for better UX */
  transition: background-color 0.3s ease, color 0.3s ease;
  
  /* Flexbox layout for full-height design */
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Full viewport height */
  overflow-x: hidden; /* Prevent horizontal scrolling */
  align-items: center;
  justify-content: flex-start;
}

/* Global component backgrounds - ensure all components are white */
.container,
.card,
.profile-card,
.auth-card,
.case-card,
.feature-card,
.stat-card,
.form-container,
.auth-container,
.profile-container,
.dashboard-container,
.admin-dashboard,
.admin-section,
.modal-content,
.form-step,
.search-results,
.search-result-item,
.toast,
.message {
  background: white !important;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200);
  margin: 0.5rem 0;
}

/* Global centering for all sections and heroes */
section,
.hero,
.cases-hero,
.hero-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Ensure all content is properly centered */
.hero-content,
.cases-hero .hero-content,
.hero-section .hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Ensure main content areas have white backgrounds */
.main-content {
  background: white;
  border-radius: 8px;
  margin: 0.5rem;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Footer background */
.footer-container {
  background: white;
  border-radius: 8px;
  margin: 0.5rem;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Override body background for cases pages */
body:has(.cases-hero),
body:has(.my-cases-hero) {
  background: #ff0000 !important;
  color: #fff;
  align-items: stretch;
}

/* 
 * ============================================
 * DARK MODE THEME SUPPORT
 * ============================================
 * 
 * Provides alternative color scheme for user preference.
 * Reduces eye strain and provides better contrast in low-light conditions.
 */

/* 
 * ============================================
 * HEADER & NAVIGATION STYLING
 * ============================================
 * 
 * Main navigation area with sticky positioning and responsive design.
 * Includes logo, navigation links, and theme toggle functionality.
 */

/* Main header container */
header {
  background: #000 !important;
  color: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 999 !important;
  width: 100%;
  margin: 0;
  left: 0;
  right: 0;
}

/* 
 * Sticky header scroll effect - Keep completely black
 */
header.scrolled {
  background: #000 !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}


/* 
 * Header bar container
 * 
 * Contains the logo and main title.
 * Uses flexbox for centered alignment and responsive spacing.
 */
.header-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 15px 20px;
  position: relative;
  width: 100%;
  margin: 0;
  background: #000 !important;
  left: 0;
  right: 0;
  box-sizing: border-box;
}

.header-bar h1 {
  margin: 0;
  text-align: left;
  font-size: 1.8rem;
  font-weight: 600;
}

.header-bar .hamburger {
  position: absolute;
  right: 12px;
  top: 50%;
  left: auto;
  transform: translateY(-50%);
}

/* Global image styles - only for logo and small images */
.logo {
  width: 60px;
  height: 60px;
  border: 2px solid #fff;
  margin: 0;
}

/* Logo link styling */
.header-bar a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  transition: transform 0.2s ease;
}

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

.header-bar a:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Header title */
header h1 {
  font-size: 1.8rem;
  margin: 0;
  font-weight: 600;
}

/* Reset for other images */
img {
  max-width: 100%;
  height: auto;
}


/* ===== Navbar ===== */
/* Updated: 2025-01-27 - Ultra-compact navbar for all 8 links */
nav {
  background: #000 !important;
  display: flex !important;
  justify-content: center !important;
  gap: 1.5rem !important;
  padding: 12px 20px !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  box-sizing: border-box !important;
  overflow-x: auto !important;
  position: relative !important;
  left: auto !important;
  top: auto !important;
  height: auto !important;
  flex-direction: row !important;
}

/* Ensure header covers full width */
header,
body header,
html header {
  min-width: 100vw !important;
  width: 100vw !important;
  left: 0 !important;
  right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 999 !important;
}

/* Hamburger menu button - hidden by default on desktop */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  position: absolute;
  right: 12px;
  top: 50%;
  left: auto;
  transform: translateY(-50%);
  z-index: 1002;
  min-width: 48px;
  min-height: 48px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  margin: 4px 0;
  -webkit-transition: 0.3s; /* Safari/Chrome */
  -moz-transition: 0.3s; /* Firefox */
  -o-transition: 0.3s; /* Opera */
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  -webkit-transform: rotate(-45deg) translate(-5px, 6px); /* Safari/Chrome */
  -ms-transform: rotate(-45deg) translate(-5px, 6px); /* IE */
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  -webkit-transform: rotate(45deg) translate(-5px, -6px); /* Safari/Chrome */
  -ms-transform: rotate(45deg) translate(-5px, -6px); /* IE */
  transform: rotate(45deg) translate(-5px, -6px);
}

nav a {
  color: #fff !important;
  text-decoration: none !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
  transition: all 0.3s ease !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  font-size: 1rem !important;
  display: inline-block !important;
  margin: 0 !important;
  width: auto !important;
}

/* Traffic light color system for navigation */
nav a:nth-child(9):hover {
  background-color: var(--red-urgent); /* Bright Red - Most Urgent */
  color: #fff;
}
nav a:nth-child(8):hover {
  background-color: var(--red-medium); /* Medium Red - High Priority */
  color: #fff;
}
nav a:nth-child(7):hover {
  background-color: var(--red-dark); /* Dark Red - Important */
  color: #fff;
}
nav a:nth-child(6):hover {
  background-color: var(--yellow-bright); /* Bright Yellow - Caution */
  color: #000;
}
nav a:nth-child(5):hover {
  background-color: var(--yellow-medium); /* Gold Yellow - Warning */
  color: #000;
}
nav a:nth-child(4):hover {
  background-color: var(--yellow-light); /* Light Yellow - Notice */
  color: #000;
}
nav a:nth-child(3):hover {
  background-color: var(--green-bright); /* Bright Green - Safe/Found */
  color: #fff;
}
nav a:nth-child(2):hover {
  background-color: var(--green-medium); /* Medium Green - Stable */
  color: #fff;
}
nav a:nth-child(1):hover {
  background-color: var(--green-light); /* Light Green - Good */
  color: #fff;
}

nav a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ===== Main Content ===== */
main {
  flex: 1;
  padding: 20px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

section {
  background: #fff;
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  line-height: 1.6;
}



/* ===== Footer ===== */
footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: auto;
  -webkit-box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); /* Safari/Chrome */
  -moz-box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); /* Firefox */
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}


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

.footer-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1rem;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #dc2626;
}

/* ===== Form Header Group ===== */
.form-header-group {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header-group .form-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* ===== Back Button ===== */
.back-button {
  text-align: center;
  margin: 10px 0;
  display: flex;
  justify-content: center;
}

.back-button a {
  display: inline-block;
  background: #dc2626;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
  -webkit-transition: background 0.3s ease; /* Safari/Chrome */
  -moz-transition: background 0.3s ease; /* Firefox */
  -o-transition: background 0.3s ease; /* Opera */
  transition: background 0.3s ease;
  font-weight: 500;
}

.back-button a:hover {
  background: #b91c1c;
  -webkit-transform: translateY(-1px); /* Safari/Chrome */
  -ms-transform: translateY(-1px); /* IE */
  transform: translateY(-1px);
}

/* ===== Form Styles ===== */
.login-container,
.signup-container {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  max-width: 480px;
  width: 95%;
  margin: 2rem auto 2rem auto;
  padding: 2.5rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 1px solid rgba(255,255,255,0.1);
}

.google-btn-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.divider {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  margin: 1.5rem 0 1rem 0;
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 500;
}

.divider::before, .divider::after {
  content: '';
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  border-bottom: 1px solid #e5e7eb;
}

.divider:not(:empty)::before {
  margin-right: 1rem;
}

.divider:not(:empty)::after {
  margin-left: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #374151;
  font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  -webkit-transition: border-color 0.3s ease; /* Safari/Chrome */
  -moz-transition: border-color 0.3s ease; /* Firefox */
  -o-transition: border-color 0.3s ease; /* Opera */
  transition: border-color 0.3s ease;
  background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group input[type="submit"],
.form-group button {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  -webkit-transition: all 0.3s ease; /* Safari/Chrome */
  -moz-transition: all 0.3s ease; /* Firefox */
  -o-transition: all 0.3s ease; /* Opera */
  transition: all 0.3s ease;
  -webkit-box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3); /* Safari/Chrome */
  -moz-box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3); /* Firefox */
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.form-group input[type="submit"]:hover,
.form-group button:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

/* ===== About Us Page Styles ===== */
.about-content {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  max-width: 900px;
  width: 100%;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
  text-align: left;
  line-height: 1.6;
  margin: 0 auto;
}

.about-content h2 {
  color: #000;
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.2rem;
  font-weight: bold;
}

.about-content h3 {
  color: #d32f2f; /* Brand red color */
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.4rem;
  font-weight: bold;
}

.about-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

/* Mission Statement Section */
.mission-statement {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  padding: 3rem 2rem;
  border-radius: 16px;
  margin: 40px 0;
  text-align: center;
  box-shadow: 0 8px 32px rgba(220, 38, 38, 0.3);
  border: 3px solid #fff;
}

.mission-statement h3 {
  color: white;
  margin-top: 0;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.mission-statement p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 0;
  font-weight: 500;
}

/* Israel's Legacy Section */
.israel-legacy-section {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  color: white;
  padding: 3rem 2rem;
  border-radius: 16px;
  margin: 40px 0;
  text-align: center;
  box-shadow: 0 8px 32px rgba(31, 41, 55, 0.3);
  border: 3px solid #dc2626;
}

.israel-legacy-section h3 {
  color: #dc2626;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.israel-legacy-section p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 0;
  font-weight: 500;
  opacity: 0.9;
}

/* Team Grid Layout */
.who-we-are-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin: 60px auto;
  max-width: 1400px;
  padding: 0 30px;
}

/* Team Headshot Images */
.who-we-are-images img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  background-color: #f8f9fa;
  border: 4px solid #e5e7eb;
  display: block;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  position: relative;
}

/* Ensure no circular styling for team photos */
.team-member img,
.who-we-are-images .team-member img {
  border-radius: 20px !important;
  -webkit-border-radius: 20px !important;
  -moz-border-radius: 20px !important;
}



/* Animation for team images */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered animation for team members */
.team-member:nth-child(1) img { animation-delay: 0.1s; }
.team-member:nth-child(2) img { animation-delay: 0.2s; }
.team-member:nth-child(3) img { animation-delay: 0.3s; }
.team-member:nth-child(4) img { animation-delay: 0.4s; }
.team-member:nth-child(5) img { animation-delay: 0.5s; }
.team-member:nth-child(6) img { animation-delay: 0.6s; }

/* Hover effects for team images */
.who-we-are-images img:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border-color: #dc2626;
}



/* Team Member Container */
.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
}

/* Image Caption Styling */
.image-caption {
  text-align: center;
  font-size: 1rem;
  color: #1f2937;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  padding: 15px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 12px;
  margin-top: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid #e5e7eb;
}

/* What We Do Section */
.what-we-do-section {
  background: #f9fafb;
  padding: 2rem;
  border-radius: 12px;
  margin: 30px 0;
  border-left: 4px solid #dc2626;
}

.what-we-do-section ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.what-we-do-section li {
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
  padding-left: 25px;
}

.what-we-do-section li:before {
  content: "✓";
  color: #dc2626;
  font-weight: bold;
  position: fixed;
  left: 0;
  top: 10px;
}

.what-we-do-section li:last-child {
  border-bottom: none;
}

/* Technology Section */
.technology-section {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  padding: 2rem;
  border-radius: 12px;
  margin: 30px 0;
  border: 2px solid #d1d5db;
}

/* Get Involved Section */
.get-involved-section {
  background: #dc2626;
  color: white;
  padding: 2rem;
  border-radius: 12px;
  margin: 30px 0;
  text-align: center;
}

.get-involved-section h3 {
  color: white;
  margin-top: 0;
}

.get-involved-section ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.get-involved-section li {
  padding: 8px 0;
  position: relative;
  padding-left: 25px;
}

.get-involved-section li:before {
  content: "→";
  color: white;
  font-weight: bold;
  position: fixed;
  left: 0;
  top: 8px;
}

/* ===== Features Section ===== */
.features-section {
  background: white;
  padding: 4rem 2rem;
  margin: 2rem 0;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

body.dark-mode .features-section {
  background: #1f2937;
}

.features-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #dc2626;
  text-align: center;
  margin: 0 0 3rem 0;
}

body.dark-mode .features-section h2 {
  color: #f56565;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.feature-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

body.dark-mode .feature-card {
  background: #374151;
  border-color: #4b5563;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: #1f2937;
  line-height: 1.3;
}

body.dark-mode .feature-card h3 {
  color: #f9fafb;
}

.feature-card p {
  color: #6b7280;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
  font-size: 1rem;
}

body.dark-mode .feature-card p {
  color: #d1d5db;
}

.feature-btn {
  display: inline-block;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  -webkit-transition: all 0.3s ease; /* Safari/Chrome */
  -moz-transition: all 0.3s ease; /* Firefox */
  -o-transition: all 0.3s ease; /* Opera */
  transition: all 0.3s ease;
  -webkit-box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3); /* Safari/Chrome */
  -moz-box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3); /* Firefox */
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.feature-btn:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
  -webkit-transform: translateY(-2px); /* Safari/Chrome */
  -ms-transform: translateY(-2px); /* IE */
  transform: translateY(-2px);
  -webkit-box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4); /* Safari/Chrome */
  -moz-box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4); /* Firefox */
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

/* ===== Enhanced Mobile Responsive Design ===== */

/* Mobile Navigation Improvements - Safari Compatible */
@media (max-width: 768px) {
  /* Hamburger menu button - top-right inside header */
  .hamburger {
    display: flex !important;
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    left: auto !important;
    -webkit-transform: translateY(-50%) !important;
    -moz-transform: translateY(-50%) !important;
    -ms-transform: translateY(-50%) !important;
    -o-transform: translateY(-50%) !important;
    transform: translateY(-50%) !important;
    z-index: 1001 !important;
    padding: 10px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    backdrop-filter: blur(10px) !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .hamburger span {
    background: #ffffff !important;
    width: 20px !important;
    height: 2px !important;
    margin: 4px 0 !important;
  }
  
  .hamburger:hover,
  .hamburger:active {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    opacity: 1 !important;
    -webkit-transform: translateY(-50%) !important;
    -moz-transform: translateY(-50%) !important;
    -ms-transform: translateY(-50%) !important;
    -o-transform: translateY(-50%) !important;
    transform: translateY(-50%) !important;
  }
  
  /* Mobile navigation container - Slides in from the right */
  nav {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 280px !important;
    max-width: 85% !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.98) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    backdrop-filter: blur(20px) !important;
    display: none !important;
    -webkit-box-orient: vertical !important;
    -webkit-box-direction: normal !important;
    -ms-flex-direction: column !important;
    flex-direction: column !important;
    -webkit-box-pack: start !important;
    -ms-flex-pack: start !important;
    justify-content: flex-start !important;
    -webkit-box-align: stretch !important;
    -ms-flex-align: stretch !important;
    align-items: stretch !important;
    -webkit-transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    -moz-transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    -o-transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 998 !important;
    padding: 80px 0 20px 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.4) !important;
  }
  
  /* Show navigation when hamburger is active */
  nav.active {
    display: flex !important;
    right: 0 !important;
  }
  
  /* Mobile navigation links - Safari optimized - Only visible when menu is active */
  nav:not(.active) a {
    display: none !important;
  }
  
  nav.active a {
    display: block !important;
    padding: 16px 20px !important;
    margin: 4px 12px !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    text-align: left !important;
    width: calc(100% - 24px) !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: #ffffff !important;
    -webkit-transition: all 0.2s ease !important;
    -moz-transition: all 0.2s ease !important;
    -o-transition: all 0.2s ease !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-height: 48px !important;
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important;
    border-left: 3px solid transparent !important;
  }
  
  nav.active a:hover,
  nav.active a:active,
  nav.active a:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-left-color: #ff0000 !important;
    padding-left: 24px !important;
  }
  
  nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
    transform: scale(1.05);
  }
  
  /* Ensure proper touch targets on mobile */
  nav a:active {
    -webkit-transform: scale(0.95);
    -moz-transform: scale(0.95);
    -ms-transform: scale(0.95);
    -o-transform: scale(0.95);
    transform: scale(0.95);
  }
  
  /* Prevent text selection on mobile navigation */
  nav a {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  
  /* Mobile header adjustments */
  .header-bar {
    padding: 12px 64px 12px 16px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    gap: 12px;
  }
  
  .header-bar h1 {
    font-size: 1.2rem;
    margin: 0;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .header-bar .logo {
    width: 50px;
    height: 50px;
    margin: 0;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
  }
  
  /* Landscape orientation fixes for mobile */
  @media (max-width: 768px) and (orientation: landscape) {
    nav {
      -webkit-box-pack: start;
      -ms-flex-pack: start;
      justify-content: flex-start;
      padding-top: 2rem;
    }
    
    .hamburger {
      top: 50%;
      right: 12px;
      left: auto;
      transform: translateY(-50%);
    }
  }
  
  /* Ensure mobile navigation works on iOS Safari */
  @supports (-webkit-touch-callout: none) {
    nav {
      -webkit-transform: translateZ(0);
      transform: translateZ(0);
    }
  }
  
  main {
    padding: 15px;
    margin-top: 10px;
  }
  
  section {
    padding: 1rem;
    margin: 1rem 0;
  }
  
  /* Mobile Hero Section Improvements */
  .hero {
    padding: 2rem 1rem;
    text-align: center;
  }
  
  .hero-content h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 100%;
  }
  
  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
    padding: 16px 24px;
    font-size: 1.1rem;
    min-height: 50px;
    border-radius: 12px;
  }
  
  
  /* Mobile Features Section */
  .features-section {
    padding: 3rem 1rem;
    margin: 1rem 0;
  }
  
  .features-section h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2.5rem;
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0;
  }
  
  .feature-card {
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin: 0;
  }
  
  .feature-card h3 {
    font-size: 1.4rem;
    margin: 0 0 1rem 0;
    line-height: 1.2;
  }
  
  .feature-card p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
  }
  
  .feature-card .btn {
    width: 100%;
    padding: 14px 20px;
    min-height: 48px;
    font-size: 1.2rem;
  }
  
  .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  /* Mobile Welcome Section */
  .welcome-section {
    padding: 2rem 1rem;
    text-align: center;
  }
  
  .welcome-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .welcome-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 100%;
  }
  
  /* Mobile Button Improvements */
  .btn {
    min-height: 44px;
    padding: 12px 20px;
    font-size: 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  .btn:hover {
    transform: translateY(-2px);
  }
  
  .btn:active {
    transform: translateY(0);
  }
  
  /* Mobile Typography Improvements */
  h1, h2 {
    line-height: 1.2;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  p {
    line-height: 1.6;
    word-wrap: break-word;
  }
  
  /* Mobile Container Improvements */
  .container {
    padding: 0 1rem;
    max-width: 100%;
  }
  
  /* Mobile Footer Improvements */
  footer {
    padding: 2rem 1rem;
  }
  
  footer .footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  footer .footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }
  
  footer .footer-links a {
    padding: 8px 16px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Extra Small Mobile Devices (480px and below) */
@media (max-width: 480px) {
  .hamburger {
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    padding: 6px;
    min-width: 40px;
    min-height: 40px;
  }
  
  .header-bar {
    padding: 10px 56px 10px 15px;
  }
  
  /* Ensure mobile navigation works on very small screens */
  nav {
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
  }
  
  nav a {
    font-size: 1.1rem;
    padding: 12px 16px;
    min-height: 40px;
  }
  
  .header-bar h1 {
    font-size: 1.4rem;
  }
  
  .header-bar .logo {
    width: 50px;
    height: 50px;
  }
  
  main {
    padding: 10px;
  }
  
  /* Extra Small Hero Section */
  .hero {
    padding: 1.5rem 0.75rem;
  }
  
  .hero-content h2 {
    font-size: 1.8rem;
    line-height: 1.1;
  }
  
  .hero-content p {
    font-size: 1.2rem;
    line-height: 1.5;
  }
  
  .hero-actions .btn {
    padding: 14px 20px;
    font-size: 1.2rem;
    min-height: 48px;
  }
  
  
  /* Extra Small Features */
  .features-section {
    padding: 2rem 0.75rem;
    margin: 0.5rem 0;
  }
  
  .features-section h2 {
    font-size: 1.9rem;
    margin-bottom: 2rem;
  }
  
  .features-grid {
    gap: 1.25rem;
  }
  
  .feature-card {
    padding: 1.25rem;
    border-radius: 12px;
  }
  
  .feature-card h3 {
    font-size: 1.3rem;
    margin: 0 0 0.75rem 0;
  }
  
  .feature-card p {
    font-size: 0.95rem;
    margin: 0 0 1.25rem 0;
  }
  
  .feature-card .btn {
    padding: 12px 18px;
    min-height: 46px;
    font-size: 0.95rem;
  }
  
  .feature-icon {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
  }
  
  /* Extra Small Welcome */
  .welcome-section {
    padding: 1.5rem 0.75rem;
  }
  
  .welcome-section h2 {
    font-size: 1.7rem;
  }
  
  .welcome-section p {
    font-size: 1.2rem;
  }
  
  /* Extra Small Navigation */
  nav a {
    font-size: 1.2rem;
    padding: 16px 20px;
    width: 85%;
    max-width: 280px;
  }
  
  /* Extra Small Buttons */
  .btn {
    min-height: 44px;
    padding: 12px 16px;
    font-size: 0.95rem;
  }
  
  /* Extra Small Typography */
  h1, h2 {
    line-height: 1.1;
  }
  
  p {
    line-height: 1.5;
  }
  
  /* Extra Small Footer */
  footer {
    padding: 1.5rem 0.75rem;
  }
  
  footer .footer-links {
    gap: 0.5rem;
  }
  
  footer .footer-links a {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
}

/* Medium Mobile Devices (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .hero-content h2 {
    font-size: 2.4rem;
  }
  
  .hero-content p {
    font-size: 1.15rem;
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Touch Device Improvements */
@media (hover: none) and (pointer: coarse) {
  .btn:hover {
    transform: none;
  }
  
  .btn:active {
    transform: scale(0.98);
  }
  
  nav a:hover {
    transform: none;
  }
  
  nav a:active {
    transform: scale(0.98);
  }
  
  .hamburger:hover {
    transform: none;
  }
  
  .hamburger:active {
    transform: scale(0.95);
  }
}

/* High DPI Display Improvements */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .header-bar .logo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* About Us responsive */
  .about-content {
    padding: 20px;
    margin: 10px;
  }
  
  .who-we-are-images {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    padding: 0 25px;
  }
  
  .who-we-are-images img {
    height: 400px;
  }
  
  .mission-statement,
  .israel-legacy-section {
    padding: 2rem 1rem;
  }
  
  /* Duplicate mobile styles removed - using main mobile styles above */
}

@media (max-width: 480px) {
  .about-content {
    padding: 15px;
    margin: 5px;
  }
  
  .who-we-are-images {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 600px;
  }
  
  .who-we-are-images img {
    height: 350px;
  }
  
  .about-content h2 {
    font-size: 1.8rem;
  }
  
  .mission-statement h3,
  .israel-legacy-section h3 {
    font-size: 1.5rem;
  }
  
  /* Features section extra small screen responsive */
  .features-section {
    padding: 1.5rem 0.5rem;
  }
  
  .features-grid {
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .feature-card {
    padding: 1rem;
  }
  
  .feature-card h3 {
    font-size: 1.2rem;
  }
  
  .feature-card p {
    font-size: 0.9rem;
  }
  
  .feature-icon {
    font-size: 2rem;
  }
}

/* 
 * ============================================
 * LOGOUT BUTTON STYLING
 * ============================================
 * 
 * Styles for the logout button that appears when users are authenticated.
 * Matches the overall navigation design while being clearly identifiable.
 */

/* Logout button base styling */
.logout-btn {
  background: #dc2626; /* Brand red color */
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 0 5px;
  font-family: inherit;
}

/* Hover effect for logout button */
.logout-btn:hover {
  background: #b91c1c; /* Darker red on hover */
  transform: translateY(-1px);
}

/* Active state for logout button */
.logout-btn:active {
  transform: translateY(0);
  background: #991b1b;
}

/* Focus state for accessibility */
.logout-btn:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Dark mode logout button */
body.dark-mode .logout-btn {
  background: #dc2626;
  color: white;
}

body.dark-mode .logout-btn:hover {
  background: #b91c1c;
}

/* Mobile responsive logout button */
@media (max-width: 768px) {
  .logout-btn {
    font-size: 13px;
    padding: 6px 12px;
    margin: 5px 0;
    width: 100%;
    text-align: center;
  }
}

/* Logout confirmation message styling */
.logout-message {
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}



/* 
 * ============================================
 * CASE CARDS & LISTINGS
 * ============================================
 * 
 * Styling for case listings and individual case cards.
 * Provides clear information hierarchy and easy scanning.
 */

.case-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 15px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #dc2626;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  color: #374151 !important;
}

.case-card * {
  color: inherit;
}

.case-card h1, .case-card h2, .case-card h3, .case-card h4, .case-card h5, .case-card h6 {
  color: #1f2937 !important;
}

.case-card p {
  color: #374151 !important;
}

.case-card::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #dc2626, #b91c1c);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 4px 10px rgba(0, 0, 0, 0.1);
}

.case-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f3f4f6;
}

.case-header h3 {
  margin: 0;
  color: #1f2937 !important;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  flex: 1;
}

.case-header p {
  color: #374151 !important;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.case-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.case-details div {
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 0.5rem;
  background: #f9fafb;
  border-radius: 8px;
  border-left: 3px solid #dc2626;
  color: #374151 !important;
}

.case-details strong {
  color: #374151 !important;
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.case-details span {
  color: #374151 !important;
  font-weight: 500;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  align-items: center;
}

.status-badge {
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
}

.status-missing {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  border-color: #f59e0b;
}

.status-urgent {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #dc2626;
  border-color: #dc2626;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.status-found {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #065f46;
  border-color: #10b981;
}

.status-safe {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #1e40af;
  border-color: #3b82f6;
}

.tag {
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  color: #374151;
  padding: 0.375rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid #d1d5db;
  transition: all 0.2s ease;
}

.tag:hover {
  background: linear-gradient(135deg, #e5e7eb, #d1d5db);
  transform: translateY(-1px);
}

.dark-mode .case-card {
  background: #2d3748;
  border-left-color: #f56565;
}

.dark-mode .case-header h3 {
  color: #e2e8f0;
}

.dark-mode .case-details strong {
  color: #cbd5e0;
}

.dark-mode .tag {
  background: #4a5568;
  color: #e2e8f0;
}

/* 
 * ============================================
 * ADMIN BUTTON STYLES
 * ============================================
 * 
 * Styling for the admin login button on the main login page.
 */

.admin-link {
  text-align: center;
  margin: 20px 0;
}

.admin-btn {
  display: inline-block;
  background: #dc2626;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.admin-btn:hover {
  background: #b91c1c;
  text-decoration: none;
  color: white;
}

/* Dark mode admin button */
body.dark-mode .admin-btn {
  background: #dc2626;
}

body.dark-mode .admin-btn:hover {
  background: #b91c1c;
}

/* ============================================
 * AUTHENTICATION FORM STYLES
 * ============================================
 * 
 * Styling for login, signup, and admin forms with traffic light theme.
 */

/* Auth Container */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ff0000;
  padding: 20px;
  box-sizing: border-box;
}

.auth-form {
  background: #fff;
  padding: 50px;
  border-radius: 16px;
  max-width: 450px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  margin: 20px;
}

.auth-form h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #000;
  font-size: 2.5rem;
  font-weight: bold;
}

.auth-form .form-group {
  margin-bottom: 25px;
}

.auth-form .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 1rem;
}

.auth-form .form-group input {
  width: 100%;
  padding: 15px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.auth-form .form-group input:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.auth-form .form-group button {
  width: 100%;
  padding: 15px;
  background: #dc2626;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.auth-form .form-group button:hover {
  background: #b91c1c;
}

.auth-form .form-group button:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}

.error-message {
  background: #fee;
  border: 1px solid #fcc;
  color: #c33;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 25px;
  font-size: 0.9rem;
}

.auth-links {
  text-align: center;
  margin-top: 20px;
}

.auth-links a {
  color: #dc2626;
  text-decoration: none;
  font-weight: 500;
  margin: 0 10px;
}

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

/* Error text styling */
.error-text {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 8px;
  display: block;
}

/* Spinner styling for loading states */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Admin link styling */
.admin-link {
  color: #6b7280;
  font-size: 0.9rem;
  opacity: 0.8;
}

.admin-link:hover {
  color: #374151;
  opacity: 1;
}

/* 
 * ============================================
 * ADMIN LOGIN PAGE STYLES
 * ============================================
 * 
 * Styling for the admin login page and form.
 */

.admin-login-container {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  max-width: 480px;
  width: 95%;
  margin: 2rem auto 2rem auto;
  padding: 2.5rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 1px solid rgba(255,255,255,0.1);
}

.admin-header {
  text-align: center;
  margin-bottom: 30px;
}

.admin-header h2 {
  color: #dc2626;
  margin-bottom: 10px;
  font-size: 1.8rem;
  font-weight: 600;
}

.admin-header p {
  color: #6b7280;
  font-size: 14px;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-form .form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}

.admin-form .form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #374151;
  font-size: 0.875rem;
}

.admin-form .form-group input {
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: #fff;
}

.admin-form .form-group input:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.admin-submit-btn {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.admin-submit-btn:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.admin-submit-btn:disabled {
  background: #6b7280;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.back-to-login {
  text-align: center;
  margin-top: 20px;
}

.back-to-login a {
  color: #dc2626;
  text-decoration: none;
  font-weight: 500;
}

.back-to-login a:hover {
  text-decoration: underline;
}

.admin-message {
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 500;
}

.admin-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.admin-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.admin-message.info {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

/* Dark mode admin login support */
body.dark-mode .admin-login-container {
  background: #374151;
  border-color: rgba(255,255,255,0.1);
}

body.dark-mode .admin-header h2 {
  color: #f56565;
}

body.dark-mode .admin-header p {
  color: #9ca3af;
}

body.dark-mode .admin-form .form-group label {
  color: #e2e8f0;
}

body.dark-mode .admin-form .form-group input {
  background: #4a5568;
  border-color: #4a5568;
  color: #e2e8f0;
}

body.dark-mode .admin-form .form-group input:focus {
  border-color: #f56565;
}

body.dark-mode .back-to-login a {
  color: #f56565;
}

/* 
 * ============================================
 * ADMIN DASHBOARD STYLES
 * ============================================
 * 
 * Styling for the admin dashboard page.
 */

.admin-dashboard {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  min-height: 100vh;
}

.admin-dashboard .admin-header {
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  margin-bottom: 30px;
  border: 1px solid #e5e7eb;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.admin-dashboard .admin-header h1 {
  color: #dc2626;
  margin-bottom: 10px;
  font-size: 2.5rem;
  font-weight: 700;
}

.admin-dashboard .admin-header p {
  color: #6b7280;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: #dc2626;
  margin-bottom: 10px;
  display: block;
}

.stat-label {
  color: #6b7280;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.admin-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.admin-section {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.section-header {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  padding: 25px;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-content {
  padding: 25px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.admin-table th,
.admin-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.admin-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #374151;
}

.admin-table tr:hover {
  background: #f8f9fa;
}

.status-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

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

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

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

.admin-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

/* Base Button Styles */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: #fff;
  color: #dc2626;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
  line-height: 1.5;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.admin-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 14px;
}

.btn-primary {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(107, 114, 128, 0.3);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 114, 128, 0.4);
}

.btn-danger {
  background: #dc3545;
  color: white;
}

.btn-danger:hover {
  background: #c82333;
}

.password-change-section {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #374151;
  font-size: 14px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Admin Dashboard Responsive Design */
@media (max-width: 768px) {
  .admin-sections {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .admin-stats {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
  }
  
  .admin-dashboard {
    padding: 15px;
  }
  
  .admin-dashboard .admin-header {
    padding: 25px;
  }
  
  .admin-dashboard .admin-header h1 {
    font-size: 2rem;
  }
}

/* Admin Dashboard Dark Mode Support */
body.dark-mode .admin-dashboard {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

body.dark-mode .admin-dashboard .admin-header,
body.dark-mode .stat-card,
body.dark-mode .admin-section,
body.dark-mode .password-change-section {
  background: #374151;
  border-color: #4b5563;
  color: #e2e8f0;
}

body.dark-mode .admin-dashboard .admin-header h1 {
  color: #f56565;
}

body.dark-mode .admin-dashboard .admin-header p,
body.dark-mode .stat-label {
  color: #9ca3af;
}

body.dark-mode .stat-number {
  color: #f56565;
}

body.dark-mode .form-group label {
  color: #e2e8f0;
}

body.dark-mode .form-group input {
  background: #4b5563;
  border-color: #4b5563;
  color: #e2e8f0;
}

body.dark-mode .form-group input:focus {
  border-color: #f56565;
}

body.dark-mode .admin-table th {
  background: #4b5563;
  color: #e2e8f0;
}

body.dark-mode .admin-table tr:hover {
  background: #4b5563;
}

/* 
 * ============================================
 * DNA TRACKING PAGE STYLES
 * ============================================
 * 
 * Styling for the DNA tracking page to match site design.
 */

.dna-page-wrapper {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 100vh;
  padding: 2rem 0;
}

.dna-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  border: 1px solid #e2e8f0;
}

.dna-hero-section {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
  padding: 3rem 2rem;
  border-radius: 16px;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3);
}

.dna-hero-section h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.dna-hero-section p {
  font-size: 1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.dna-stats-section {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.dna-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.dna-stat-card {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dna-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.dna-stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #8b5cf6;
  margin-bottom: 0.5rem;
  display: block;
}

.dna-stat-label {
  color: #64748b;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.dna-content-section {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.dna-content-section h2 {
  color: #1e293b;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.dna-content-section p {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.dna-nav-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.dna-nav-btn {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.dna-nav-btn:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

/* DNA Tracking Responsive Design */
@media (max-width: 768px) {
  .dna-page-wrapper {
    padding: 1rem 0;
  }
  
  .dna-container {
    padding: 1rem;
    margin: 0 1rem;
  }
  
  .dna-hero-section {
    padding: 2rem 1rem;
  }
  
  .dna-hero-section h1 {
    font-size: 2rem;
  }
  
  .dna-stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }
  
  .dna-nav-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* DNA Tracking Dark Mode Support */
body.dark-mode .dna-page-wrapper {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

body.dark-mode .dna-container {
  background: #374151;
  border-color: #4b5563;
  color: #e2e8f0;
}

body.dark-mode .dna-stats-section,
body.dark-mode .dna-content-section {
  background: #374151;
  border-color: #4b5563;
  color: #e2e8f0;
}

body.dark-mode .dna-content-section h2 {
  color: #f1f5f9;
}

body.dark-mode .dna-content-section p {
  color: #cbd5e1;
}

body.dark-mode .dna-stat-card {
  background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
  border-color: #6b7280;
}

body.dark-mode .dna-stat-number {
  color: #a78bfa;
}

body.dark-mode .dna-stat-label {
  color: #9ca3af;
}

/* DNA Features Grid */
.dna-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.dna-feature-card {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dna-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.dna-feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.dna-feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.dna-feature-description {
  color: #64748b;
  line-height: 1.6;
}

/* DNA Form Section */
.dna-form-section {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* Database Section */
.database-section {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: white;
  padding: 2rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.database-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.database-card {
  background: rgba(255,255,255,0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 1.5rem;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.database-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.database-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.db-stat {
  text-align: center;
  padding: 0.75rem;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
}

.db-stat-number {
  font-size: 1.25rem;
  font-weight: 700;
  display: block;
}

.db-stat-label {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* Labs Section */
.labs-section {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.labs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.lab-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

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

.lab-logo {
  width: 60px;
  height: 60px;
  background: #e5e7eb;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Report Section */
.report-section {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.report-preview {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1rem;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.4;
  white-space: pre-wrap;
  max-height: 400px;
  overflow-y: auto;
}

/* Dark mode DNA features support */
body.dark-mode .dna-feature-card {
  background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
  border-color: #6b7280;
}

body.dark-mode .dna-feature-title {
  color: #f1f5f9;
}

body.dark-mode .dna-feature-description {
  color: #cbd5e1;
}

body.dark-mode .dna-form-section {
  background: #374151;
  border-color: #4b5563;
  color: #e2e8f0;
}

/* Dark mode database and labs support */
body.dark-mode .labs-section {
  background: #374151;
  border-color: #4b5563;
  color: #e2e8f0;
}

body.dark-mode .lab-card {
  background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
  border-color: #6b7280;
}

body.dark-mode .report-section {
  background: #374151;
  border-color: #4b5563;
  color: #e2e8f0;
}

body.dark-mode .report-preview {
  background: #1f2937;
  border-color: #4b5563;
  color: #e2e8f0;
}

/* ============================================
 * MAP DASHBOARD STYLES
 * ============================================
 * 
 * Styling for the interactive map dashboard with traffic light theme.
 */

.dashboard-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.welcome-section {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(220, 38, 38, 0.3);
}

.welcome-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: white;
}

.welcome-section p {
  font-size: 1rem;
  margin-bottom: 1rem;
  opacity: 0.9;
  color: white;
}

.realtime-indicator {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  color: white;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.map-container {
  position: relative;
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  align-items: center;
  justify-content: center;
  padding: 25px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.map-controls button {
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-controls button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
}

.secondary-btn {
  background: linear-gradient(135deg, #374151 0%, #1f2937 100%) !important;
  box-shadow: 0 4px 15px rgba(55, 65, 81, 0.3) !important;
}

.secondary-btn:hover {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%) !important;
  box-shadow: 0 6px 20px rgba(55, 65, 81, 0.4) !important;
}

.map-controls select, .map-controls input {
  padding: 12px 20px;
  border: 2px solid #e1e5e9;
  border-radius: 25px;
  background: white;
  color: #333;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.3s;
  min-width: 150px;
}

.map-controls select:focus, .map-controls input:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box input {
  padding-right: 40px;
  min-width: 250px;
}

.search-icon {
  position: fixed;
  right: 15px;
  color: #6b7280;
  font-size: 1.1rem;
}

.map-info {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  margin-top: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-info h3 {
  color: #1e293b;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

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

.stat-card {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #dc2626;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  color: #64748b;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Map Dashboard Responsive Design */
@media (max-width: 768px) {
  .dashboard-container {
    padding: 1rem;
  }
  
  .welcome-section {
    padding: 1.5rem;
  }
  
  .welcome-section h2 {
    font-size: 2rem;
  }
  
  .map-controls {
    flex-direction: column;
    gap: 15px;
  }
  
  .control-group {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .search-box input {
    min-width: 200px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }
}

/* Map Dashboard Dark Mode Support */
body.dark-mode .map-container {
  background: #374151;
  border-color: #4b5563;
}

body.dark-mode .map-info {
  background: #374151;
  border-color: #4b5563;
  color: #e2e8f0;
}

body.dark-mode .map-info h3 {
  color: #f1f5f9;
}

body.dark-mode .stat-card {
  background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
  border-color: #6b7280;
}

body.dark-mode .stat-number {
  color: #f87171;
}

body.dark-mode .stat-label {
  color: #9ca3af;
}

body.dark-mode .search-icon {
  color: #9ca3af;
}

/* ============================================
 * FORM STYLES
 * ============================================
 * 
 * Styling for forms across the site with traffic light theme.
 */

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #374151;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  background: white;
  color: #374151;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

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

.submit-btn {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.submit-btn:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

/* Form Dark Mode Support */
body.dark-mode .form-label {
  color: #e2e8f0;
}

body.dark-mode .form-input,
body.dark-mode .form-textarea {
  background: #4b5563;
  border-color: #6b7280;
  color: #e2e8f0;
}

body.dark-mode .form-input:focus,
body.dark-mode .form-textarea:focus {
  border-color: #a78bfa;
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.1);
}

body.dark-mode .form-input::placeholder,
body.dark-mode .form-textarea::placeholder {
  color: #9ca3af;
}

/* ============================================
 * CASES PAGE STYLES
 * ============================================
 * 
 * Styling for cases pages with traffic light theme.
 */

/* Cases Hero Section */
.cases-hero {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
    position: relative;
}

.cases-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.my-cases-hero {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
    position: relative;
}

.my-cases-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 120px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    color: white;
    font-weight: 500;
}

/* Filters Section */
.filters-section {
    background: #f8f9fa;
    padding: 2rem 0;
    border-bottom: 1px solid #e9ecef;
}

.filters-container {
    display: flex;
    gap: 1rem;
    align-items: end;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 150px;
}

.filter-group label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.filter-select,
.filter-input {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    min-width: 150px;
    transition: all 0.2s ease;
    background: white;
}

.filter-select:hover,
.filter-input:hover {
    border-color: #dc2626;
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Cases Header */
.cases-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.cases-header h2 {
    color: #1f2937;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

.cases-count {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
    background: #f3f4f6;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* Cases Grid */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Cases Section */
.cases-section {
    padding: 2rem 0;
    background: #fff;
}

.cases-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Loading, Error, and Empty States */
.loading-state,
.error-state,
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin: 2rem 0;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid #dc2626;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-icon,
.empty-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.error-state h3,
.empty-state h3 {
    margin-bottom: 1rem;
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 700;
}

.error-state p,
.empty-state p {
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 500px;
}

/* Load More Container */
.load-more-container {
    text-align: center;
    margin-top: 3rem;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 4rem 0;
    margin-top: 3rem;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: white;
    color: #dc2626;
    border: 2px solid white;
}

.cta-buttons .btn-primary:hover {
    background: transparent;
    color: white;
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: #dc2626;
}

/* Quick Actions Section */
.quick-actions-section {
    padding: 2rem 0;
    background: #f8f9fa;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.action-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    text-align: center;
}

.action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.action-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.action-card h3 {
    margin-bottom: 0.5rem;
    color: #495057;
}

.action-card p {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Responsive Design for Cases Pages */
@media (max-width: 768px) {
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-item {
        min-width: 100px;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .filters-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .filter-select,
    .filter-input {
        min-width: auto;
        width: 100%;
    }
    
    .cases-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .cases-header h2 {
        font-size: 1.5rem;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .case-details {
        grid-template-columns: 1fr;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-item {
        min-width: 80px;
        padding: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .cases-hero,
    .my-cases-hero {
        padding: 2rem 0;
    }
    
    .filters-section {
        padding: 1.5rem 0;
    }
    
    .cases-section {
        padding: 1.5rem 0;
    }
    
    .cta-section {
        padding: 2rem 0;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-content p {
        font-size: 1.2rem;
    }
}

/* Dark Mode Support for Cases Pages */
body.dark-mode .filters-section {
    background: #374151;
    border-bottom-color: #4b5563;
}

body.dark-mode .filter-group label {
    color: #e2e8f0;
}

body.dark-mode .filter-select,
body.dark-mode .filter-input {
    background: #4b5563;
    border-color: #6b7280;
    color: #e2e8f0;
}

body.dark-mode .filter-select:focus,
body.dark-mode .filter-input:focus {
    border-color: #a78bfa;
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.1);
}

body.dark-mode .cases-count {
    color: #9ca3af;
}

body.dark-mode .error-state h3,
body.dark-mode .empty-state h3 {
    color: #e2e8f0;
}

body.dark-mode .error-state p,
body.dark-mode .empty-state p {
    color: #9ca3af;
}

body.dark-mode .quick-actions-section {
    background: #374151;
}

body.dark-mode .action-card {
    background: #4b5563;
    border-color: #6b7280;
    color: #e2e8f0;
}

body.dark-mode .action-card:hover {
    border-color: #a78bfa;
}

body.dark-mode .action-card h3 {
    color: #e2e8f0;
}

body.dark-mode .action-card p {
    color: #9ca3af;
}

/* ============================================
 * RUNNER PROFILE PAGE STYLES
 * ============================================
 * 
 * Styling for the runner profile page with traffic light theme.
 */

/* Profile-specific styles */
.main-content {
  min-height: calc(100vh - 64px - 200px);
  background-color: #f9fafb;
}

/* Loading State */
.loading-state {
  text-align: center;
  padding: 3rem;
}

.loading-spinner-large {
  display: inline-block;
  width: 48px;
  height: 48px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #dc2626;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

.loading-text {
  font-size: 1rem;
  color: #6b7280;
  margin: 0;
}

/* Error State */
.error-state {
  text-align: center;
  padding: 3rem;
}

.error-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.error-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.5rem 0;
}

.error-message {
  font-size: 1rem;
  color: #6b7280;
  margin: 0 0 1.5rem 0;
}

.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Sticky Header */
.runner-header-sticky {
  position: sticky;
  top: 64px;
  z-index: 1000;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.runner-header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.runner-avatar {
  flex-shrink: 0;
}

.runner-avatar-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e5e7eb;
}

.runner-header-info {
  flex: 1;
}

.runner-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.25rem 0;
}

.runner-id {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

.runner-status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.5rem;
}

.runner-status.missing {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #f59e0b;
}

.runner-status.urgent {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #dc2626;
  animation: pulse 2s infinite;
}

.runner-status.found {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #10b981;
}

.runner-status.safe {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #3b82f6;
}

/* Runner Profile Cards */
.runner-profile {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.profile-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 15px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #dc2626;
}

.profile-card h3 {
  color: #1f2937;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.profile-card h3::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dc2626;
}

.profile-info {
  display: grid;
  gap: 0.75rem;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.info-item:last-child {
  border-bottom: none;
}

.info-label {
  font-weight: 600;
  color: #6b7280;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  color: #374151;
  font-weight: 500;
  text-align: right;
}

/* Card Subtitle */
.card-subtitle {
  color: #6b7280;
  font-size: 0.875rem;
  font-style: italic;
  margin-top: 0.5rem;
}

/* ============================================
 * REPORT CASE PAGE STYLES
 * ============================================
 * 
 * Styling for the report case form with traffic light theme.
 */

/* Report Case Container */
.report-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  min-height: 100vh;
  background-color: #f9fafb;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Form Header */
.form-header {
  margin-bottom: 2rem;
  text-align: center;
  width: 100%;
}

.form-header h1 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.5rem 0;
}

.form-header p {
  color: #6b7280;
  margin: 0;
}

/* Progress Bar */
.progress-container {
  margin-bottom: 2rem;
  width: 100%;
  max-width: 600px;
}

.progress-bar {
  width: 100%;
  height: 0.5rem;
  background-color: #e5e7eb;
  border-radius: 0.25rem;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: #dc2626;
  transition: width 0.3s ease;
}

.progress-text {
  text-align: center;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}

/* Form Steps */
.form-step {
  background: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
  display: none;
  width: 100%;
  max-width: 600px;
}

.form-step.active {
  display: block;
}

/* Search Styles */
.search-container {
  display: flex;
  gap: 0.5rem;
}

.search-input {
  flex: 1;
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.search-btn {
  padding: 0.75rem 1.5rem;
  background: #dc2626;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-btn:hover {
  background: #b91c1c;
}

.search-results {
  margin-top: 1rem;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-result-item:hover {
  background-color: #f9fafb;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #6b7280;
  font-weight: 600;
}

.search-result-info {
  flex: 1;
}

.search-result-name {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.search-result-details {
  font-size: 0.875rem;
  color: #6b7280;
}

.search-result-status {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.no-results {
  text-align: center;
  padding: 2rem;
  color: #6b7280;
  font-style: italic;
}

/* ============================================
 * ADMIN DASHBOARD STYLES
 * ============================================
 * 
 * Styling for the admin dashboard with traffic light theme.
 */

/* Enhanced Admin Dashboard */
.admin-dashboard {
  min-height: 100vh;
  background: var(--red-urgent);
  padding: 20px;
  box-sizing: border-box;
}

.dashboard-header {
  background: white;
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.admin-profile {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.admin-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dc2626, #991b1b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3);
}

.admin-info h1 {
  margin: 0;
  color: #1f2937;
  font-size: 2.5rem;
  font-weight: bold;
}

.admin-info p {
  margin: 5px 0 0 0;
  color: #6b7280;
  font-size: 1.1rem;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.stat-card h3 {
  margin: 0 0 10px 0;
  color: #1f2937;
  font-size: 1rem;
  font-weight: 600;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #dc2626;
  margin: 0;
}

.dashboard-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.content-section {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.content-section h2 {
  margin: 0 0 20px 0;
  color: #1f2937;
  font-size: 1.5rem;
  font-weight: 600;
}

/* Admin Modals */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e5e7eb;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.close {
  color: #6b7280;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #dc2626;
}

/* Admin Tables */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.admin-table th,
.admin-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.admin-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #374151;
}

.admin-table tr:hover {
  background: #f8f9fa;
}

/* Admin Search and Filters */
.search-bar {
  margin-bottom: 20px;
}

.search-bar input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.search-bar input:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Admin Action Buttons */
.action-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-edit,
.btn-delete,
.btn-view {
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-edit {
  background: #3b82f6;
  color: white;
}

.btn-edit:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

.btn-delete {
  background: #dc2626;
  color: white;
}

.btn-delete:hover {
  background: #b91c1c;
  transform: translateY(-1px);
}

.btn-view {
  background: #10b981;
  color: white;
}

.btn-view:hover {
  background: #059669;
  transform: translateY(-1px);
}

/* Admin Forms */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

/* ============================================
 * CASES PAGE STYLING
 * ============================================
 * 
 * Styling for cases pages with traffic light theme.
 */

/* Header Bar - Match Main Site Structure */
.cases-hero ~ header .header-bar,
.my-cases-hero ~ header .header-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-top: 15px;
    position: relative;
    width: 100%;
    margin: 0;
}

.cases-hero ~ header .header-bar img,
.my-cases-hero ~ header .header-bar img {
    width: 50px;
    height: 50px;
    border: 2px solid #fff;
}

.cases-hero ~ header .header-bar h1,
.my-cases-hero ~ header .header-bar h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}




/* Hamburger - Match Main Site */

.cases-hero ~ header .hamburger,
.my-cases-hero ~ header .hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 12px;
    top: 50%;
    left: auto;
    transform: translateY(-50%);
    z-index: 1001;
}

.cases-hero ~ header .hamburger span,
.my-cases-hero ~ header .hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 5px 0;
    transition: 0.3s;
}

.cases-hero ~ header .hamburger.active span:nth-child(1),
.my-cases-hero ~ header .hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.cases-hero ~ header .hamburger.active span:nth-child(2),
.my-cases-hero ~ header .hamburger.active span:nth-child(2) {
    opacity: 0;
}

.cases-hero ~ header .hamburger.active span:nth-child(3),
.my-cases-hero ~ header .hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Cases Page Main Content - Match Main Site */
.cases-hero ~ main,
.my-cases-hero ~ main {
    flex: 1;
    padding: 0;
    max-width: none;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    background: #ff0000;
}

/* Fix cases page body to be all black */
body:has(.cases-hero),
body:has(.my-cases-hero) {
    background: #000 !important;
}

/* Ensure header covers full width on cases pages */
.cases-hero ~ header,
.my-cases-hero ~ header {
    background: #000;
    color: #fff;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    margin: 0;
    left: 0;
    right: 0;
}

/* Cases Hero Section - Enhanced */
.cases-hero,
.my-cases-hero {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
    position: relative;
    margin: 0;
}

.cases-hero .hero-content,
.my-cases-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cases-hero .hero-title,
.my-cases-hero .hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.cases-hero .hero-subtitle,
.my-cases-hero .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: white;
}

/* Enhanced Hero Stats */
.cases-hero .hero-stats,
.my-cases-hero .hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.cases-hero .stat-item,
.my-cases-hero .stat-item {
    text-align: center;
    background: white !important;
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    min-width: 120px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cases-hero .stat-number,
.my-cases-hero .stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #dc2626 !important;
}

.cases-hero .stat-label,
.my-cases-hero .stat-label {
    font-size: 0.9rem;
    opacity: 1;
    color: #374151 !important;
    font-weight: 600;
}

/* Enhanced Filters Section */
.cases-hero ~ .filters-section,
.my-cases-hero ~ .filters-section {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    margin: 2rem auto;
    max-width: 1200px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: none;
}

/* Ensure cases page header is black like other sites */
.cases-hero ~ header,
body:has(.cases-hero) header {
    background: #000 !important;
}

.cases-hero ~ header .header-bar,
body:has(.cases-hero) header .header-bar {
    background: #000 !important;
}

/* Center all sections properly */
.cases-hero ~ .cases-section,
.cases-hero ~ .cta-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cases-hero ~ .filters-section .container,
.my-cases-hero ~ .filters-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cases-hero ~ .filters-container,
.my-cases-hero ~ .filters-container {
    display: flex;
    gap: 1rem;
    align-items: end;
    flex-wrap: wrap;
    justify-content: center;
}

.cases-hero ~ .filter-group,
.my-cases-hero ~ .filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 150px;
}

.cases-hero ~ .filter-group label,
.my-cases-hero ~ .filter-group label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.cases-hero ~ .filter-select,
.cases-hero ~ .filter-input,
.my-cases-hero ~ .filter-select,
.my-cases-hero ~ .filter-input {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    min-width: 150px;
    transition: all 0.2s ease;
    background: white;
}

.cases-hero ~ .filter-select:hover,
.cases-hero ~ .filter-input:hover,
.my-cases-hero ~ .filter-select:hover,
.my-cases-hero ~ .filter-input:hover {
    border-color: #dc2626;
}

.cases-hero ~ .filter-select:focus,
.cases-hero ~ .filter-input:focus,
.my-cases-hero ~ .filter-select:focus,
.my-cases-hero ~ .filter-input:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Enhanced Cases Section */
.cases-hero ~ .cases-section,
.my-cases-hero ~ .cases-section {
    padding: 2rem 0;
    background: #fff;
    border-radius: 16px;
    margin: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Ensure case cards are visible on cases pages */
.cases-hero ~ .case-card,
.my-cases-hero ~ .case-card {
    background: white !important;
    color: #374151 !important;
}

.cases-hero ~ .case-card *,
.my-cases-hero ~ .case-card * {
    color: inherit !important;
}

.cases-hero ~ .case-card h1, .cases-hero ~ .case-card h2, .cases-hero ~ .case-card h3, .cases-hero ~ .case-card h4, .cases-hero ~ .case-card h5, .cases-hero ~ .case-card h6,
.my-cases-hero ~ .case-card h1, .my-cases-hero ~ .case-card h2, .my-cases-hero ~ .case-card h3, .my-cases-hero ~ .case-card h4, .my-cases-hero ~ .case-card h5, .my-cases-hero ~ .case-card h6 {
    color: #1f2937 !important;
}

.cases-hero ~ .case-card p,
.my-cases-hero ~ .case-card p {
    color: #374151 !important;
}

.cases-hero ~ .case-details div,
.my-cases-hero ~ .case-details div {
    color: #374151 !important;
}

.cases-hero ~ .case-details strong,
.my-cases-hero ~ .case-details strong {
    color: #374151 !important;
}

.cases-hero ~ .case-details span,
.my-cases-hero ~ .case-details span {
    color: #374151 !important;
}

/* Specific case card element styling */
.case-name {
    color: #1f2937 !important;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.case-id {
    color: #6b7280 !important;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.case-status {
    color: #374151 !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    background: #f3f4f6;
}

/* Source badges for NamUs vs Local cases */
.source-badge {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.namus-badge {
    background: #3b82f6;
    color: white;
}

.local-badge {
    background: #10b981;
    color: white;
}

.urgent-badge {
    color: white !important;
    background: #dc2626;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.detail-item {
    color: #374151 !important;
    margin-bottom: 0.5rem;
}

.detail-label {
    color: #6b7280 !important;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 0.5rem;
}

.detail-value {
    color: #374151 !important;
    font-weight: 500;
}

.case-description {
    color: #374151 !important;
    margin: 1rem 0;
}

.case-description p {
    color: #374151 !important;
    line-height: 1.6;
}

.case-physical {
    color: #374151 !important;
    margin: 1rem 0;
}

.physical-item {
    color: #374151 !important;
    margin-bottom: 0.5rem;
}

.physical-label {
    color: #6b7280 !important;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 0.5rem;
}

.physical-value {
    color: #374151 !important;
    font-weight: 500;
}

.case-marks,
.case-medical {
    color: #374151 !important;
    margin: 1rem 0;
}

.case-marks strong,
.case-medical strong {
    color: #1f2937 !important;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.case-marks p,
.case-medical p {
    color: #374151 !important;
    line-height: 1.6;
}

/* Case action buttons styling */
.case-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.case-actions .btn-primary {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.case-actions .btn-primary:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
    text-decoration: none;
    color: white !important;
}

.case-actions .btn-secondary {
    background: transparent;
    color: #dc2626 !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid #dc2626;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.case-actions .btn-secondary:hover {
    background: #dc2626;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
    text-decoration: none;
}

.cases-hero ~ .cases-section .container,
.my-cases-hero ~ .cases-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.cases-hero ~ .filters-section .container,
.my-cases-hero ~ .filters-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.cases-hero ~ .cta-section .container,
.my-cases-hero ~ .cta-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.cases-hero ~ .cases-header,
.my-cases-hero ~ .cases-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 0;
}

.cases-hero ~ .cases-header h2,
.my-cases-hero ~ .cases-header h2 {
    color: #1f2937;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

.cases-hero ~ .cases-count,
.my-cases-hero ~ .cases-count {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
    background: #f3f4f6;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* Enhanced CTA Section */
.cases-hero ~ .cta-section,
.my-cases-hero ~ .cta-section {
    background: #fff;
    color: #374151;
    padding: 4rem 2rem;
    margin: 2rem;
    text-align: center;
    position: relative;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.cases-hero ~ .cta-content h2,
.my-cases-hero ~ .cta-content h2 {
    color: #1f2937 !important;
}

.cases-hero ~ .cta-content p,
.my-cases-hero ~ .cta-content p {
    color: #374151 !important;
}

.cases-hero ~ .cta-section .container,
.my-cases-hero ~ .cta-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cases-hero ~ .cta-content,
.my-cases-hero ~ .cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cases-hero ~ .cta-content h2,
.my-cases-hero ~ .cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cases-hero ~ .cta-content p,
.my-cases-hero ~ .cta-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: white;
}

.cases-hero ~ .cta-buttons,
.my-cases-hero ~ .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cases-hero ~ .cta-buttons .btn-primary,
.my-cases-hero ~ .cta-buttons .btn-primary {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    border: 2px solid #dc2626;
    font-weight: 700;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.cases-hero ~ .cta-buttons .btn-primary:hover,
.my-cases-hero ~ .cta-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.cases-hero ~ .cta-buttons .btn-secondary,
.my-cases-hero ~ .cta-buttons .btn-secondary {
    background: transparent;
    color: #dc2626;
    border: 2px solid #dc2626;
    font-weight: 700;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.cases-hero ~ .cta-buttons .btn-secondary:hover,
.my-cases-hero ~ .cta-buttons .btn-secondary:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

/* Enhanced Footer Styling for Cases Pages */
.cases-hero ~ footer,
.my-cases-hero ~ footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    margin-top: auto;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

/* Fix footer styling for ALL pages - make consistent */
footer {
    background: #000 !important;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    margin-top: auto;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

footer .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
    margin-bottom: 2rem;
}

footer .footer-section {
    margin-bottom: 1rem;
}

footer .footer-section h3,
footer .footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

footer .footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

footer .footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .footer-section ul li {
    margin-bottom: 0.75rem;
}

footer .footer-section ul li a {
    color: #fff !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

footer .footer-section ul li a:hover {
    color: #dc2626 !important;
    text-decoration: underline !important;
}

footer .footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    margin-top: 2rem;
    text-align: center;
}

footer .footer-bottom p {
    color: #999;
    font-size: 0.9rem;
}

.cases-hero ~ footer .container,
.my-cases-hero ~ footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cases-hero ~ footer .footer-content,
.my-cases-hero ~ footer .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
    margin-bottom: 2rem;
}

.cases-hero ~ footer .footer-section,
.my-cases-hero ~ footer .footer-section {
    margin-bottom: 1rem;
}

.cases-hero ~ footer .footer-section h3,
.my-cases-hero ~ footer .footer-section h3,
.cases-hero ~ footer .footer-section h4,
.my-cases-hero ~ footer .footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.cases-hero ~ footer .footer-section p,
.my-cases-hero ~ footer .footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.cases-hero ~ footer .footer-section ul,
.my-cases-hero ~ footer .footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cases-hero ~ footer .footer-section ul li,
.my-cases-hero ~ footer .footer-section ul li {
    margin-bottom: 0.75rem;
}

.cases-hero ~ footer .footer-section ul li a,
.my-cases-hero ~ footer .footer-section ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.cases-hero ~ footer .footer-section ul li a:hover,
.my-cases-hero ~ footer .footer-section ul li a:hover {
    color: #dc2626;
    text-decoration: underline;
}

.cases-hero ~ footer .footer-bottom,
.my-cases-hero ~ footer .footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    margin-top: 2rem;
    text-align: center;
}

.cases-hero ~ footer .footer-bottom p,
.my-cases-hero ~ footer .footer-bottom p {
    color: #999;
    font-size: 0.9rem;
}

/* Enhanced Responsive Design for Cases Pages */
@media (max-width: 768px) {
    /* Case action buttons responsive */
    .case-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .case-actions .btn-primary,
    .case-actions .btn-secondary {
        width: 100%;
        text-align: center;
    }
    /* Header responsive - Match Main Site */
    .cases-hero ~ header .hamburger,
    .my-cases-hero ~ header .hamburger {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .cases-hero ~ header .header-bar,
    .my-cases-hero ~ header .header-bar {
        flex-direction: row;
        justify-content: flex-start;
        padding: 12px 64px 12px 16px;
        gap: 12px;
    }
    
    .cases-hero ~ header .header-bar h1,
    .my-cases-hero ~ header .header-bar h1 {
        font-size: 1.5rem;
    }
    
    /* Hero responsive */
    .cases-hero .hero-title,
    .my-cases-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .cases-hero .hero-subtitle,
    .my-cases-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .cases-hero .hero-stats,
    .my-cases-hero .hero-stats {
        gap: 2rem;
    }
    
    .cases-hero .stat-item,
    .my-cases-hero .stat-item {
        min-width: 100px;
        padding: 1rem;
    }
    
    .cases-hero .stat-number,
    .my-cases-hero .stat-number {
        font-size: 2rem;
    }
    
    /* Filters responsive */
    .cases-hero ~ .filters-container,
    .my-cases-hero ~ .filters-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .cases-hero ~ .filter-select,
    .cases-hero ~ .filter-input,
    .my-cases-hero ~ .filter-select,
    .my-cases-hero ~ .filter-input {
        min-width: auto;
        width: 100%;
    }
    
    /* Cases header responsive */
    .cases-hero ~ .cases-header,
    .my-cases-hero ~ .cases-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .cases-hero ~ .cases-header h2,
    .my-cases-hero ~ .cases-header h2 {
        font-size: 1.5rem;
    }
    
    /* CTA responsive */
    .cases-hero ~ .cta-content h2,
    .my-cases-hero ~ .cta-content h2 {
        font-size: 2rem;
    }
    
    .cases-hero ~ .cta-buttons,
    .my-cases-hero ~ .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cases-hero ~ .cta-buttons .btn-primary,
    .cases-hero ~ .cta-buttons .btn-secondary,
    .my-cases-hero ~ .cta-buttons .btn-primary,
    .my-cases-hero ~ .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    /* Footer responsive */
    .cases-hero ~ footer .footer-content,
    .my-cases-hero ~ footer .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
}

/* Global Footer Responsive Design */
@media (max-width: 768px) {
    footer .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    footer .container {
        padding: 0 1rem;
    }
    
    footer .footer-section h3,
    footer .footer-section h4 {
        font-size: 1.2rem;
    }
    
    footer .footer-section ul li a {
        font-size: 0.85rem;
    }
}
    /* Header responsive */
    
    /* Hero responsive */
    .cases-hero .hero-title,
    .my-cases-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .cases-hero .hero-subtitle,
    .my-cases-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .cases-hero .hero-stats,
    .my-cases-hero .hero-stats {
        gap: 2rem;
    }
    
    .cases-hero .stat-item,
    .my-cases-hero .stat-item {
        min-width: 100px;
        padding: 1rem;
    }
    
    .cases-hero .stat-number,
    .my-cases-hero .stat-number {
        font-size: 2rem;
    }
    
    /* Filters responsive */
    .cases-hero ~ .filters-container,
    .my-cases-hero ~ .filters-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .cases-hero ~ .filter-select,
    .cases-hero ~ .filter-input,
    .my-cases-hero ~ .filter-select,
    .my-cases-hero ~ .filter-input {
        min-width: auto;
        width: 100%;
    }
    
    /* Cases header responsive */
    .cases-hero ~ .cases-header,
    .my-cases-hero ~ .cases-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .cases-hero ~ .cases-header h2,
    .my-cases-hero ~ .cases-header h2 {
        font-size: 1.5rem;
    }
    
    /* CTA responsive */
    .cases-hero ~ .cta-content h2,
    .my-cases-hero ~ .cta-content h2 {
        font-size: 2rem;
    }
    
    .cases-hero ~ .cta-buttons,
    .my-cases-hero ~ .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cases-hero ~ .cta-buttons .btn-primary,
    .cases-hero ~ .cta-buttons .btn-secondary,
    .my-cases-hero ~ .cta-buttons .btn-primary,
    .my-cases-hero ~ .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    /* Footer responsive */
    .cases-hero ~ footer .footer-content,
    .my-cases-hero ~ footer .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }


@media (max-width: 480px) {
    /* Hero responsive */
    .cases-hero .hero-title,
    .my-cases-hero .hero-title {
        font-size: 2rem;
    }
    
    .cases-hero .hero-subtitle,
    .my-cases-hero .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .cases-hero .hero-stats,
    .my-cases-hero .hero-stats {
        gap: 1rem;
    }
    
    .cases-hero .stat-item,
    .my-cases-hero .stat-item {
        min-width: 80px;
        padding: 0.75rem;
    }
    
    .cases-hero .stat-number,
    .my-cases-hero .stat-number {
        font-size: 1.5rem;
    }
    
    .cases-hero .stat-label,
    .my-cases-hero .stat-label {
        font-size: 0.8rem;
    }
    
    /* Section padding responsive */
    .cases-hero,
    .my-cases-hero {
        padding: 2rem 0;
    }
    
    .cases-hero ~ .filters-section,
    .my-cases-hero ~ .filters-section {
        padding: 1.5rem 0;
    }
    
    .cases-hero ~ .cases-section,
    .my-cases-hero ~ .cases-section {
        padding: 1.5rem 0;
    }
    
    .cases-hero ~ .cta-section,
    .my-cases-hero ~ .cta-section {
        padding: 2rem 0;
    }
    
    /* CTA responsive */
    .cases-hero ~ .cta-content h2,
    .my-cases-hero ~ .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cases-hero ~ .cta-content p,
    .my-cases-hero ~ .cta-content p {
        font-size: 1.2rem;
    }
    
    /* Hero responsive */
    .hero {
        padding: 3rem 0;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Features responsive */
    .features-grid {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
        min-width: auto;
        max-width: 100%;
        margin: 0 auto;
    }
}

/* ============================================
 * CASES PAGE STYLES
 * ============================================
 */

/* Cases page specific styling */
.cases-hero {
  background: var(--red-urgent);
  color: white;
  padding: 4rem 0;
  text-align: center;
  margin: 0;
  border-radius: 0;
}

.cases-hero .hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.cases-hero .hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cases-hero .hero-subtitle {
  font-size: 1.25rem;
  margin: 0 0 2rem 0;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cases-hero .hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cases-hero .stat-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 12px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 120px;
}

.cases-hero .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  color: var(--yellow-bright);
}

.cases-hero .stat-label {
  font-size: 0.875rem;
  margin: 0.5rem 0 0 0;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}



.cases-hero .hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.cases-hero .hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cases-hero .hero-subtitle {
  font-size: 1.25rem;
  margin: 0 0 2rem 0;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cases-hero .hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cases-hero .stat-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 12px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 120px;
}

.cases-hero .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  color: var(--yellow-bright);
}

.cases-hero .stat-label {
  font-size: 0.875rem;
  margin: 0.5rem 0 0 0;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Filters Section */
.filters-section {
  background: white;
  padding: 2rem 0;
  border-bottom: 1px solid var(--gray-200);
  margin: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.filters-container {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
}

.filter-select,
.filter-input {
  padding: 0.75rem;
  border: 2px solid var(--gray-300);
  border-radius: 8px;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  min-width: 150px;
}

.filter-select:focus,
.filter-input:focus {
  outline: none;
  border-color: var(--red-urgent);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Cases Section */
.cases-section {
  padding: 3rem 0;
  background: white;
}

.cases-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

.cases-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0;
}

.cases-count {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* Cases Grid */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.case-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

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

.case-card.urgent {
  border-left: 4px solid var(--red-urgent);
}

.case-card.found {
  border-left: 4px solid var(--green-bright);
}

.case-card.safe {
  border-left: 4px solid var(--green-medium);
}

.case-card.deceased {
  border-left: 4px solid var(--gray-600);
}

.case-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.case-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 0;
}

.case-status {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.case-status.missing {
  background: var(--red-urgent);
  color: white;
}

.case-status.found {
  background: var(--green-bright);
  color: white;
}

.case-status.safe {
  background: var(--green-medium);
  color: white;
}

.case-status.deceased {
  background: var(--gray-600);
  color: white;
}

/* Source badges for NamUs vs Local cases */
.source-badge {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.namus-badge {
  background: #3b82f6;
  color: white;
}

.local-badge {
  background: #10b981;
  color: white;
}

.case-details {
  margin-bottom: 1rem;
}

.case-detail {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.case-detail-label {
  font-weight: 600;
  color: var(--gray-700);
  min-width: 80px;
}

.case-detail-value {
  color: var(--gray-600);
}

.case-description {
  color: var(--gray-700);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.case-actions {
  display: flex;
  gap: 0.75rem;
}

.case-actions .btn {
  flex: 1;
  text-align: center;
}

/* Loading, Error, and Empty States */
.loading-state,
.error-state,
.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--gray-300);
  border-top: 4px solid var(--red-urgent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.error-icon,
.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.error-state h3,
.empty-state h3 {
  color: var(--gray-900);
  margin: 0 0 0.5rem 0;
}

.error-state p,
.empty-state p {
  color: var(--gray-600);
  margin: 0 0 1.5rem 0;
}

/* Load More Container */
.load-more-container {
  text-align: center;
  margin-top: 2rem;
}

/* ============================================
 * CTA SECTION STYLES
 * ============================================
 */

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--red-urgent) 0%, var(--red-medium) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-content p {
  font-size: 1.125rem;
  margin: 0 0 2rem 0;
  opacity: 0.9;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  min-width: 200px;
}

/* ============================================
 * HERO SECTION STYLES
 * ============================================
 */

/* Hero Section */
.hero {
  background: white;
  color: #1f2937;
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}



.hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 0 0 1.5rem 0;
  color: #dc2626;
  text-shadow: none;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  margin: 0 0 2.5rem 0;
  color: #374151;
  opacity: 1;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-actions .btn {
  min-width: 180px;
  font-size: 1.1rem;
  padding: 1rem 2rem;
}


/* Welcome Section */
.welcome-section {
  padding: 4rem 0;
  background: white;
  color: #1f2937;
}

.welcome-section .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.welcome-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #dc2626;
  margin: 0 0 1.5rem 0;
}

.welcome-section p {
  font-size: 1.125rem;
  color: #374151;
  line-height: 1.6;
  margin: 0;
  opacity: 1;
}

/* ============================================
 * FEATURES SECTION STYLES
 * ============================================
 */

/* Duplicate styles removed - using main features section styles above */

/* ============================================
 * GLOBAL CARD STYLES
 * ============================================
 */

/* Ensure ALL cards are white with consistent styling */
.card,
.feature-card,
.case-card,
.stat-card,
.profile-card,
.auth-card,
.action-card,
.quick-actions .action-card,
.features-grid .feature-card,
.cases-grid .case-card,
.dashboard-stats .stat-card,
.admin-dashboard .stat-card,
.admin-dashboard .content-section,
.admin-dashboard .dashboard-header {
  background: white !important;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200);
  padding: 2rem;
  margin: 1rem 0;
  transition: all 0.3s ease;
}

/* Card hover effects */
.card:hover,
.feature-card:hover,
.case-card:hover,
.stat-card:hover,
.action-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* ============================================
 * ABOUT PAGE STYLES
 * ============================================
 */

/* About page container */
.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.about-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2rem;
  text-align: center;
}

/* Mission statement and sections */
.mission-statement,
.israel-legacy-section,
.what-we-do-section {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200);
  text-align: left;
}

.mission-statement h3,
.israel-legacy-section h3,
.what-we-do-section h3 {
  color: var(--red-urgent);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

.mission-statement p,
.israel-legacy-section p,
.what-we-do-section p {
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.team-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
  text-align: center;
}

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

.team-card img {
  width: 100%;
  height: 500px;
  border-radius: 20px !important;
  object-fit: cover;
  object-position: center top;
  margin-bottom: 1rem;
  border: 4px solid #e5e7eb;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.image-caption {
  font-weight: 600;
  color: var(--gray-900);
  font-size: 1rem;
}

/* ============================================
 * CTA BUTTON STYLES
 * ============================================
 */

/* CTA Secondary Button - Transparent with white border */
.cta-secondary-btn {
  background: transparent !important;
  color: white !important;
  border: 2px solid white !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  display: inline-block !important;
}

.cta-secondary-btn:hover {
  background: white !important;
  color: var(--red-urgent) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* Report Runner Button */
.report-runner-btn {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    color: white !important;
    font-weight: bold !important;
    padding: 12px 20px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3) !important;
    border: 2px solid transparent !important;
}

.report-runner-btn:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4) !important;
    color: white !important;
}

.report-runner-btn:focus {
    outline: 3px solid rgba(220, 38, 38, 0.3) !important;
    outline-offset: 2px !important;
}
/* === PayPal Button Styles === */
.center-paypal {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-top: 1em;
}
/* Cache bust: Sat Oct 18 16:39:27 EDT 2025 */
