/* Cookie Consent Banner Styles */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  padding: 1.25rem;
  border-top: 3px solid var(--primary-blue);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-consent-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-consent-text {
  flex: 2;
  font-size: 0.875rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.cookie-consent-text a {
  color: var(--primary-blue);
  text-decoration: underline;
}

.cookie-consent-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.cookie-btn-accept {
  background: var(--primary-blue);
  color: white;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.cookie-btn-accept:hover {
  background: var(--primary-blue-dark);
  transform: scale(1.02);
}

.cookie-btn-reject {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--text-muted);
  padding: 0.6rem 1.5rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.cookie-btn-reject:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.cookie-btn-settings {
  background: transparent;
  color: var(--primary-blue);
  border: 1px solid var(--primary-blue);
  padding: 0.6rem 1.5rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.cookie-btn-settings:hover {
  background: rgba(97,146,239,0.1);
}

/* Cookie Settings Modal (for changing preferences) */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.cookie-modal.active {
  display: flex;
}

.cookie-modal-content {
  background: white;
  border-radius: 24px;
  max-width: 500px;
  width: 90%;
  padding: 2rem;
  position: relative;
  animation: modalSlideIn 0.3s ease;
}

.cookie-modal-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

.cookie-option {
  margin: 1.25rem 0;
  padding: 1rem;
  background: var(--light-grey);
  border-radius: 12px;
}

.cookie-option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cookie-option-title {
  font-weight: 700;
  color: var(--primary-navy);
}

.cookie-option-status {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}

.cookie-option-status.necessary {
  background: #e0e0e0;
  color: #555;
}

.cookie-option-status.analytics {
  background: var(--primary-blue);
  color: white;
}

.toggle-switch {
  width: 44px;
  height: 24px;
  background: #ccc;
  border-radius: 30px;
  display: inline-block;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}

.toggle-switch.active {
  background: var(--primary-blue);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  top: 2px;
  left: 3px;
  transition: left 0.2s;
}

.toggle-switch.active::after {
  left: 21px;
}

.cookie-modal-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: flex-end;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .cookie-consent-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-consent-buttons {
    justify-content: center;
  }
}