/* styles.css - Modern Design with Navigation */

/* Base Styles */
:root {
  --primary-blue: #001f3f;
  --primary-red: #b22234;
  --accent-blue: #00bfff;
  --dark-bg: #0c0c0e;
  --card-bg: #00000066;
  --border-light: #ffffff33;
  --text-light: #e0e0e0;
  --text-bright: #ffffff;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-light);
  line-height: 1.6;
}

/* Header Styles */
.hero-section {
  text-align: center;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  padding: 3rem 1rem;
  position: relative;
  border-bottom: 2px solid var(--border-light);
}

.logo {
  max-width: 200px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px #00ffff99);
}

.site-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--text-bright);
  text-shadow: 0 0 6px #ff0000aa;
  margin: 0.5rem 0;
}

.tagline {
  font-size: 1.2rem;
  color: #eeeeeecc;
  margin-top: 0.5rem;
}

/* Modern Navigation */
.main-nav {
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
}

.main-nav ul {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav li {
  position: relative;
  margin: 0;
}

.main-nav li::before {
  content: none;
}

.main-nav a {
  display: block;
  padding: 1rem 1.25rem;
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
}

.main-nav a:hover {
  color: var(--accent-blue);
}

.main-nav a.active {
  color: var(--accent-blue);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15%;
  width: 70%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-toggle i {
  margin-left: 5px;
  transition: transform 0.3s;
}

.dropdown.show-dropdown .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  min-width: 200px;
  border: 1px solid var(--border-light);
  border-radius: 0 0 8px 8px;
  padding: 0.5rem 0;
  display: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 1001;
}

.dropdown.show-dropdown .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  display: block;
  width: 100%;
}

.dropdown-menu a {
  padding: 0.75rem 1.5rem;
}

.soon-badge {
  font-size: 0.7rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  padding: 2px 6px;
  border-radius: 12px;
  margin-left: 5px;
  color: white;
}

/* Alert Banner */
.alert-banner {
  background: linear-gradient(135deg, #b22234aa, #b22234);
  padding: 0.75rem;
  text-align: center;
  color: white;
  font-weight: 500;
}

.alert-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
}

.alert-banner i {
  font-size: 1.2rem;
}

.alert-banner a {
  color: white;
  text-decoration: underline;
  font-weight: bold;
}

.alert-banner a:hover {
  text-decoration: none;
}

/* Mobile Navigation Toggle */
.nav-toggle {
  display: none;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
}

/* Section Styles */
section {
  padding: 3rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  color: var(--text-bright);
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
}

/* Resources Section */
.featured-resources-section {
  background: linear-gradient(135deg, #00143080, #b2223480);
  padding: 3rem 1rem;
  text-align: center;
  border-top: 1px solid var(--border-light);
}

.resources-intro {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.resources-form-container {
  background-color: var(--card-bg);
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.form-intro {
  margin-bottom: 1rem;
}

input[type="email"],
input[type="password"],
input[type="text"],
textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  background-color: #ffffff11;
  color: var(--text-bright);
  border-bottom: 2px solid var(--accent-blue);
  font-size: 1rem;
  border-radius: 4px;
  transition: all 0.3s;
}

input:focus,
textarea:focus {
  outline: none;
  background-color: #ffffff22;
  box-shadow: 0 0 0 2px rgba(0, 191, 255, 0.2);
}

input::placeholder,
textarea::placeholder {
  color: #ffffff77;
}

.access-button,
.learn-more-button {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 1rem;
  border-radius: 4px;
  transition: all 0.3s;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.access-button:hover,
.learn-more-button:hover {
  filter: brightness(1.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.privacy-note {
  font-size: 0.8rem;
  color: #cccccc;
  margin-top: 1rem;
}

/* Content Tabs */
.content-tabs {
  background-color: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  margin: 2rem auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-light);
}

.tab-navigation {
  display: flex;
  border-bottom: 1px solid var(--border-light);
  background-color: rgba(0, 0, 0, 0.3);
}

.tab-button {
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  flex: 1;
  text-align: center;
  position: relative;
}

.tab-button:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--accent-blue);
}

.tab-button.active {
  color: var(--accent-blue);
  background-color: rgba(0, 31, 63, 0.3);
}

.tab-button.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
}

.tab-content {
  padding: 2rem;
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.tab-content h2 {
  text-align: left;
  margin-top: 0;
}

.tab-content h2::after {
  left: 0;
  transform: none;
  width: 100px;
}

.tab-content ul {
  list-style: none;
  padding-left: 0;
  text-align: left;
}

.tab-content li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.tab-content li::before {
  content: "🛡️";
  position: absolute;
  left: 0;
  color: var(--accent-blue);
}

/* Issue Highlights */
.issue-highlights {
  padding-bottom: 4rem;
}

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

.issue-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.issue-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--accent-blue);
}

.issue-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent-blue);
  height: 70px;
  width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 191, 255, 0.1);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
}

.issue-card h3 {
  margin: 0 0 1rem;
  color: var(--text-bright);
}

.coming-soon-label {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* Footer */
.footer {
  background-color: #111;
  padding: 3rem 1rem 1rem;
  color: #aaa;
  font-size: 0.9rem;
}

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

.footer-section h3 {
  color: var(--text-bright);
  margin-top: 0;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
}

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

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

.footer-section a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--accent-blue);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #ffffff11;
  border-radius: 50%;
  transition: all 0.3s;
}

.social-icon:hover {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #333;
  margin: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .tab-navigation {
    flex-wrap: wrap;
  }
  
  .tab-button {
    flex: 1 0 auto;
    min-width: 120px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .main-nav ul {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
    display: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  
  .main-nav ul.show {
    display: block;
  }
  
  .main-nav li {
    width: 100%;
  }
  
  .main-nav a {
    padding: 0.8rem 1.5rem;
  }
  
  .main-nav a.active::after {
    width: 30px;
    left: 1.5rem;
  }
  
  .dropdown-menu {
    position: static;
    width: 100%;
    border: none;
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: none;
    padding: 0;
  }
  
  .dropdown-menu a {
    padding-left: 3rem;
  }
  
  .tab-content {
    padding: 1.5rem;
  }
  
  .issue-cards {
    grid-template-columns: 1fr;
  }
}

/* Fix for dropdown menu transparency and overlap - EMERGENCY FIX */
.dropdown-menu {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  background-color: #000000 !important; /* Solid black background */
  min-width: 200px !important;
  display: none !important; /* Hidden by default */
  z-index: 9999 !important; /* Very high to ensure it's on top */
  opacity: 1 !important; /* Fully opaque */
  padding: 8px 0 !important;
  border: 1px solid #333 !important;
  border-radius: 0 0 4px 4px !important;
}

/* Display the dropdown when parent has show-dropdown class */
.dropdown.show-dropdown .dropdown-menu {
  display: block !important;
}

/* Ensure each menu item has solid background */
.dropdown-menu li {
  background-color: #000000 !important;
  display: block !important;
  width: 100% !important;
}

.dropdown-menu a {
  padding: 8px 15px !important;
  display: block !important;
  color: #e0e0e0 !important;
  text-decoration: none !important;
}

.dropdown-menu a:hover {
  background-color: #333 !important;
}

/* ==========================================================================
   MEDIA DIRECTORY STYLES - Extension for styles.css
   ========================================================================== */

/* Media Page Header - Balanced layout with flanking logos */
.media-page-header {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  padding: 2rem 1rem;
  color: var(--text-bright);
  border-bottom: 2px solid var(--border-light);
}

.header-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  gap: 2rem;
}

.header-logo {
  max-width: 80px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
  transition: transform 0.3s ease;
}

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

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
  color: var(--text-bright);
  text-align: center;
  flex: 1;
}

/* Modern Search Interface Container */
.media-search-container {
  background-color: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2.5rem;
  margin: 2rem auto;
  max-width: 1400px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

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

.search-field-group {
  display: flex;
  flex-direction: column;
}

.field-label {
  font-size: 0.95rem;
  color: var(--accent-blue);
  margin-bottom: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Modern Combo Box Styling */
.combo-select {
  position: relative;
  width: 100%;
}

.combo-button {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 31, 63, 0.4), rgba(0, 31, 63, 0.6));
  color: var(--text-bright);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.combo-button:hover, 
.combo-button.active {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.2);
  background: linear-gradient(135deg, rgba(0, 31, 63, 0.6), rgba(0, 31, 63, 0.8));
  transform: translateY(-2px);
}

.combo-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  border: 2px solid var(--accent-blue);
  border-radius: 8px;
  padding: 1rem;
  display: none;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  max-height: 400px;
  overflow-y: auto;
  backdrop-filter: blur(15px);
}

.combo-dropdown.show {
  display: block;
  animation: dropdownShow 0.3s ease;
}

@keyframes dropdownShow {
  from { 
    opacity: 0; 
    transform: translateY(-10px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

/* Dropdown Header Controls */
.dropdown-header {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.select-control {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  background: rgba(0, 31, 63, 0.6);
  color: var(--text-light);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.select-control:hover, 
.select-control.active {
  background: var(--accent-blue);
  color: white;
  transform: translateY(-2px);
}

.select-control.crisis {
  background: var(--primary-red);
  color: white;
}

.select-control.crisis:hover {
  background: #ff4444;
}

/* Checkbox Grid Layout */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.checkbox-item:hover {
  background: rgba(0, 191, 255, 0.1);
  transform: translateX(3px);
}

.checkbox-item input[type="checkbox"] {
  margin-right: 0.5rem;
  accent-color: var(--accent-blue);
  transform: scale(1.1);
}

.checkbox-item label {
  font-size: 0.85rem;
  color: var(--text-light);
  cursor: pointer;
  flex: 1;
  transition: color 0.3s ease;
}

.checkbox-item:hover label {
  color: var(--accent-blue);
}

/* Text Input with Combo Functionality */
.text-input-combo {
  position: relative;
}

.text-combo-input {
  width: 100%;
  padding: 14px 50px 14px 18px;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 31, 63, 0.4), rgba(0, 31, 63, 0.6));
  color: var(--text-bright);
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-sizing: border-box;
}

.text-combo-input:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.2);
  background: linear-gradient(135deg, rgba(0, 31, 63, 0.6), rgba(0, 31, 63, 0.8));
}

.text-combo-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.combo-dropdown-trigger {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--accent-blue);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.combo-dropdown-trigger:hover {
  background: rgba(0, 191, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

/* Date Range Controls */
.date-range-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
}

.date-input {
  padding: 14px 18px;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 31, 63, 0.4), rgba(0, 31, 63, 0.6));
  color: var(--text-bright);
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.date-input:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.2);
}

.date-separator {
  color: var(--text-light);
  font-weight: 600;
  text-align: center;
  font-size: 1.1rem;
}

/* Search Action Buttons */
.search-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.search-button {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-button:hover {
  filter: brightness(1.2);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.clear-button {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--border-light);
  color: var(--text-light);
}

.clear-button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--accent-blue);
  color: var(--text-bright);
  filter: none;
}

/* Results Container */
.results-container {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(0, 31, 63, 0.2);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  min-height: 200px;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
  gap: 1rem;
}

.results-count {
  font-size: 1.1rem;
  color: var(--accent-blue);
  font-weight: 600;
}

.results-filters {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.sort-select {
  padding: 8px 12px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  background: rgba(0, 31, 63, 0.6);
  color: var(--text-bright);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sort-select:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 2px rgba(0, 191, 255, 0.2);
}

/* Results Grid */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1.5rem;
}

.result-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.result-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-blue);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.result-org-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-bright);
  margin: 0;
}

.result-priority {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.priority-urgent {
  background: var(--primary-red);
  color: white;
  animation: pulse 2s infinite;
}

.priority-high {
  background: #ff8800;
  color: white;
}

.priority-normal {
  background: #00aa44;
  color: white;
}

.result-description {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.result-platforms {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.platform-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.platform-youtube {
  background: rgba(255, 0, 0, 0.2);
  color: #ff6b6b;
  border: 1px solid rgba(255, 0, 0, 0.4);
}

.platform-twitter {
  background: rgba(29, 161, 242, 0.2);
  color: #1da1f2;
  border: 1px solid rgba(29, 161, 242, 0.4);
}

.platform-facebook {
  background: rgba(24, 119, 242, 0.2);
  color: #1877f2;
  border: 1px solid rgba(24, 119, 242, 0.4);
}

.platform-website {
  background: rgba(0, 191, 255, 0.2);
  color: #00bfff;
  border: 1px solid rgba(0, 191, 255, 0.4);
}

.platform-badge:hover {
  transform: translateY(-2px);
  filter: brightness(1.2);
}

/* Loading and Empty States */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  color: var(--text-light);
}

.loading-state i {
  font-size: 3rem;
  color: var(--accent-blue);
  margin-bottom: 1rem;
  animation: spin 2s linear infinite;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-light);
}

.empty-state i {
  font-size: 3rem;
  color: var(--accent-blue);
  margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .checkbox-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .search-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 992px) {
  .header-layout {
    flex-direction: column;
    gap: 1rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .header-logo {
    max-width: 60px;
  }
  
  .checkbox-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .media-search-container {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .page-title {
    font-size: 1.6rem;
  }
  
  .search-grid {
    grid-template-columns: 1fr;
  }
  
  .checkbox-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .date-range-container {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .date-separator {
    display: none;
  }
  
  .results-grid {
    grid-template-columns: 1fr;
  }
  
  .results-header {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .search-button,
  .clear-button {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .media-search-container {
    padding: 1.5rem;
    margin: 1rem auto;
  }
  
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
  
  .combo-dropdown {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    right: auto;
    max-width: 90vw;
    max-height: 80vh;
  }
  
  .dropdown-header {
    flex-direction: column;
    gap: 0.5rem;
  }
}
/* CSS Fix for Dropdown Overlap Issue
   Add this to your styles.css file */

/* Ensure dropdowns have higher z-index than footer */
.combo-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid var(--accent-blue);
    border-radius: 8px;
    padding: 1rem;
    display: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    z-index: 9999; /* Higher than footer */
    max-height: 400px;
    overflow-y: auto;
    overflow-x: auto; /* Allow horizontal scrolling */
    backdrop-filter: blur(15px);
}

/* Ensure footer doesn't interfere with dropdowns */
.footer {
    position: relative;
    z-index: 100; /* Lower than dropdowns */
}

/* Fix for horizontal scrolling in checkbox grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
    min-width: 100%;
    overflow-x: auto;
}

/* Ensure dropdown container allows proper scrolling */
.combo-dropdown::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.combo-dropdown::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.combo-dropdown::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 4px;
}

.combo-dropdown::-webkit-scrollbar-thumb:hover {
    background: #0099cc;
}

/* Alternative fix: Reduce footer height near dropdowns */
@media (max-height: 800px) {
    .footer {
        padding: 1.5rem 1rem 0.5rem;
    }
}

/* Emergency fix: Ensure dropdowns can extend above footer if needed */
.combo-dropdown.show {
    display: block;
    animation: dropdownShow 0.3s ease;
    position: fixed; /* Use fixed positioning to avoid footer interference */
    z-index: 10000;
}

/* For fixed positioning, we need to calculate position relative to button */
.combo-select.active .combo-dropdown {
    position: absolute; /* Keep absolute for most cases */
}

/* Only use fixed positioning when dropdown would conflict with footer */
.combo-select.footer-conflict .combo-dropdown {
    position: fixed;
    z-index: 10000;
}