/* Cookie Banner & Settings Styles */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--background-color);
  padding: 20px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cookie-content h3 {
  margin-bottom: 5px;
}

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

/* Cookie Settings Modal */
.cookie-settings {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  display: none;
}

.cookie-settings.show {
  display: flex;
}

.cookie-settings-content {
  background-color: var(--background-color);
  padding: 30px;
  border-radius: var(--border-radius);
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-settings-options {
  margin: 30px 0;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
}

.cookie-option:last-child {
  border-bottom: none;
}

.cookie-option h4 {
  margin-bottom: 5px;
}

.cookie-option p {
  margin-bottom: 0;
  color: var(--light-text);
  font-size: 0.9rem;
}

.cookie-settings-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

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

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

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: var(--transition);
  border-radius: 24px;
}

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

input:checked + .slider {
  background-color: var(--primary-color);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--primary-color);
}

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

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

/* Media Queries */
@media (max-width: 768px) {
  .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-buttons button {
    width: 100%;
  }
  
  .cookie-option {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .cookie-settings-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .cookie-settings-buttons button {
    width: 100%;
  }
}
