/* Cookie Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--dark-indigo) 0%, var(--indigo) 100%);
  color: white;
  padding: 20px;
  box-shadow: 0 -4px 16px rgba(45, 27, 105, 0.2);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-text {
  flex: 1;
}

.cookie-text p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-text a {
  color: var(--gold);
  text-decoration: underline;
}

.cookie-text a:hover {
  color: white;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-btn-accept {
  background-color: var(--vermilion);
  color: white;
}

.cookie-btn-accept:hover {
  background-color: #c50010;
}

.cookie-btn-reject {
  background-color: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-reject:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cookie-btn-customize {
  background-color: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.cookie-btn-customize:hover {
  background-color: var(--gold);
  color: var(--dark-indigo);
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.cookie-modal-content {
  background: white;
  border-radius: 12px;
  padding: 32px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.cookie-modal h3 {
  color: var(--indigo);
  margin-bottom: 24px;
  font-family: var(--font-display);
}

.cookie-category {
  margin-bottom: 24px;
  padding: 20px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
}

.cookie-category h4 {
  color: var(--charcoal);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cookie-category p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.cookie-toggle 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: 0.3s;
  border-radius: 24px;
}

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

.cookie-toggle input:checked + .cookie-slider {
  background-color: var(--vermilion);
}

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

.cookie-toggle input:disabled + .cookie-slider {
  background-color: var(--gold);
  cursor: not-allowed;
}

.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.cookie-modal-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-modal-btn-save {
  background-color: var(--vermilion);
  color: white;
}

.cookie-modal-btn-save:hover {
  background-color: #c50010;
}

.cookie-modal-btn-cancel {
  background-color: transparent;
  color: var(--charcoal);
  border: 1px solid var(--border-light);
}

.cookie-modal-btn-cancel:hover {
  background-color: var(--soft-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  
  .cookie-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .cookie-btn {
    flex: 1;
    min-width: 120px;
  }
  
  .cookie-modal-content {
    padding: 24px;
    margin: 20px;
  }
  
  .cookie-modal-actions {
    flex-direction: column;
  }
  
  .cookie-modal-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .cookie-banner {
    padding: 16px;
  }
  
  .cookie-banner .container {
    padding: 0 16px;
  }
  
  .cookie-actions {
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
  
  .cookie-modal {
    padding: 10px;
  }
  
  .cookie-modal-content {
    padding: 20px;
  }
}