/* static/css/events.css - EVENTS PAGE SPECIFIC STYLES */
.events-hero-bg {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #b8860b 100%);
  position: relative;
}

.events-hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/static/img/events-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

/* Event card styles */
.event-card {
  transition: all 0.3s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Event filter styles */
.event-filter {
  cursor: pointer;
  transition: all 0.2s ease;
}

.event-filter.active {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: white;
}

/* Search input styles */
.search-input {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(30, 58, 138, 0.1);
}

.search-input:focus {
  background: white;
  border-color: #1e3a8a;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

/* Single event view styles */
.single-event {
  display: none;
}

.single-event.active {
  display: block;
}

.events-grid.hidden {
  display: none;
}
.events-grid:not(.hidden) {
  display: grid;
}
/* Event status badges */
.event-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.event-status.upcoming {
  background: linear-gradient(135deg, #10b981, #059669);
}

.event-status.past {
  background: linear-gradient(135deg, #6b7280, #4b5563);
}

/* Glass card effect */
.glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Lightbox styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

/* Map container */
.map-container {
  background-image: url('https://public.readdy.ai/gen_page/map_placeholder_1280x720.png');
  background-size: cover;
  background-position: center;
}

/* Form input styles */
.form-input {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(30, 58, 138, 0.1);
  transition: all 0.2s ease;
}

.form-input:focus {
  background: white;
  border-color: #1e3a8a;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
  outline: none;
}

/* Custom checkbox styles */
.custom-checkbox {
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid #d1d5db;
  border-radius: 0.25rem;
  background: white;
  cursor: pointer;
  position: relative;
}

.custom-checkbox:checked {
  background: #1e3a8a;
  border-color: #1e3a8a;
}

.custom-checkbox:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
}

/* Custom radio button styles */
.custom-radio {
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  position: relative;
}

.custom-radio:checked {
  border-color: #1e3a8a;
}

.custom-radio:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.5rem;
  height: 0.5rem;
  background: #1e3a8a;
  border-radius: 50%;
}

/* Events page specific responsive adjustments */
@media (max-width: 768px) {
  .events-hero-bg::before {
    opacity: 0.1;
  }
  
  .event-card:hover {
    transform: translateY(-2px);
  }
  
  .event-status {
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.625rem;
    padding: 0.125rem 0.5rem;
  }
  
  .lightbox img {
    max-width: 95%;
    max-height: 95%;
  }
}