/* Light Attractive Filter Section */

/* Filter Section Background */
.filter-section-light {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f1f3f4 100%);
  position: relative;
  overflow: hidden;
}

.filter-section-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="1" fill="rgba(76,175,80,0.03)"/><circle cx="90" cy="20" r="1.5" fill="rgba(13,110,253,0.03)"/><circle cx="30" cy="80" r="1.2" fill="rgba(255,193,7,0.03)"/><circle cx="70" cy="70" r="0.8" fill="rgba(76,175,80,0.03)"/></svg>');
  pointer-events: none;
}

/* Light Filter Card */
.filter-card-light {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.9));
  border-radius: 20px;
  border: 2px solid rgba(76, 175, 80, 0.1);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.filter-card-light:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 20px 45px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-color: rgba(76, 175, 80, 0.2);
}

/* Filter Content */
.filter-content {
  padding: 2rem;
  position: relative;
  z-index: 2;
}

/* Filter Header */
.filter-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.filter-icon-wrapper {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #28a745, #20c997);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 6px 15px rgba(40, 167, 69, 0.3);
  transition: all 0.3s ease;
}

.filter-card-light:hover .filter-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(40, 167, 69, 0.4);
}

.filter-title {
  flex-grow: 1;
}

/* Light Select Styling */
.select-wrapper {
  position: relative;
}

.form-select-light {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(76, 175, 80, 0.15);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-weight: 500;
  color: #495057;
  transition: all 0.3s ease;
  appearance: none;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.form-select-light:focus {
  border-color: rgba(76, 175, 80, 0.4);
  box-shadow: 
    0 0 0 0.2rem rgba(76, 175, 80, 0.15),
    0 6px 15px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 1);
  outline: none;
}

.form-select-light:hover {
  border-color: rgba(76, 175, 80, 0.25);
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.select-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  transition: all 0.3s ease;
}

.select-wrapper:hover .select-icon {
  transform: translateY(-50%) rotate(180deg);
}

/* Light Apply Button */
.btn-apply-light {
  background: linear-gradient(135deg, #28a745, #20c997);
  border: none;
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
  cursor: pointer;
}

.btn-apply-light:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(40, 167, 69, 0.4);
}

.btn-apply-light:active {
  transform: translateY(-1px) scale(1.01);
}

.btn-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-apply-light:hover .btn-glow {
  opacity: 1;
  animation: btnShine 1.5s ease-in-out infinite;
}

@keyframes btnShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Filter Decoration */
.filter-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #28a745, #007bff, #ffc107);
  border-radius: 20px 20px 0 0;
}

/* Entrance Animation */
.filter-card-light {
  animation: filterSlideDown 0.6s ease-out 0.8s both;
}

@keyframes filterSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .filter-header {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  .filter-content {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .filter-content {
    padding: 1.25rem;
  }
  
  .filter-icon-wrapper {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  
  .form-select-light {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .btn-apply-light {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .filter-header {
    margin-bottom: 1rem;
  }
  
  .select-wrapper,
  .btn-apply-light {
    margin-bottom: 0.75rem;
  }
  
  .form-select-light,
  .btn-apply-light {
    width: 100%;
  }
}

/* Focus States for Accessibility */
.form-select-light:focus,
.btn-apply-light:focus {
  outline: 3px solid rgba(76, 175, 80, 0.5);
  outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .filter-card-light {
    border: 3px solid #000;
    background: white;
  }
  
  .form-select-light {
    border: 2px solid #000;
    background: white;
  }
  
  .btn-apply-light {
    border: 2px solid #000;
  }
  
  .filter-icon-wrapper {
    border: 2px solid #000;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .filter-card-light,
  .form-select-light,
  .btn-apply-light,
  .filter-icon-wrapper {
    animation: none;
    transition: none;
  }
  
  .filter-card-light:hover,
  .form-select-light:hover,
  .btn-apply-light:hover {
    transform: none;
  }
  
  .btn-glow {
    animation: none;
  }
}

/* Print Styles */
@media print {
  .filter-section-light {
    background: white !important;
  }
  
  .filter-card-light {
    background: white !important;
    border: 2px solid #000 !important;
    box-shadow: none !important;
  }
  
  .form-select-light,
  .btn-apply-light {
    border: 1px solid #000 !important;
    background: white !important;
    color: #000 !important;
  }
}
