/* Cookie Consent Banner Styles */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: none;
}

.cookie-consent-banner.active {
  display: block;
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.cookie-consent-content h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #333;
}

.cookie-consent-content p {
  margin-bottom: 20px;
  font-size: 0.95rem;
  color: #666;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-btn {
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.accept-all {
  background-color: #4a8f43;
  color: white;
}

.accept-all:hover {
  background-color: #3a7035;
}

.accept-necessary {
  background-color: #f8f9fa;
  color: #333;
  border: 1px solid #dee2e6;
}

.accept-necessary:hover {
  background-color: #e9ecef;
}

.settings {
  background-color: transparent;
  color: #666;
  text-decoration: underline;
}

.settings:hover {
  color: #333;
}

/* Cookie Settings Panel */
.cookie-settings-panel {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  border-top: 1px solid #dee2e6;
  display: none;
}

.cookie-settings-panel.active {
  display: block;
}

.cookie-settings-panel h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
  color: #333;
}

.cookie-option {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 15px;
}

.cookie-option h4 {
  margin-bottom: 5px;
  font-size: 1rem;
  color: #333;
}

.cookie-option p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: #666;
}

/* Toggle Switch */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  margin-top: 2px;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .cookie-slider {
  background-color: #4a8f43;
}

input:disabled + .cookie-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

input:checked + .cookie-slider:before {
  transform: translateX(26px);
}

.save-settings {
  background-color: #4a8f43;
  color: white;
  padding: 10px 20px;
  margin-top: 10px;
}

.save-settings:hover {
  background-color: #3a7035;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
    text-align: center;
  }
  
  .cookie-option {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-switch {
    margin-bottom: 10px;
  }
}
