/* Cookie Banner Styles - GDPR Compliant */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 14, 39, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

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

.cookie-banner__content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.cookie-banner__text {
  flex: 1;
  max-width: 600px;
}

.cookie-banner__text h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
  font-family: 'Space Grotesk', sans-serif;
}

.cookie-banner__text p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin: 0 0 12px 0;
}

.cookie-banner__text a {
  color: #00D9FF;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.cookie-banner__text a:hover {
  color: #4FFFB0;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 12px 20px;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  min-width: 100px;
  text-align: center;
}

.cookie-btn--accept {
  background: linear-gradient(135deg, #00D9FF 0%, #00B8E6 100%);
  color: #0A0E27;
}

.cookie-btn--accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 217, 255, 0.3);
}

.cookie-btn--reject {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.cookie-btn--customize {
  background: transparent;
  color: #00D9FF;
  border: 1px solid #00D9FF;
}

.cookie-btn--customize:hover {
  background: rgba(0, 217, 255, 0.1);
}

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

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

.cookie-settings-content {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 32px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cookie-settings-header {
  margin-bottom: 24px;
}

.cookie-settings-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0A0E27;
  margin-bottom: 8px;
  font-family: 'Space Grotesk', sans-serif;
}

.cookie-settings-header p {
  color: #4A5568;
  line-height: 1.5;
}

.cookie-category {
  margin-bottom: 24px;
  padding: 20px;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
}

.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cookie-category-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0A0E27;
}

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

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

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #CBD5E0;
  transition: 0.3s;
  border-radius: 24px;
}

.cookie-toggle-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-toggle-slider {
  background-color: #00D9FF;
}

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

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

.cookie-category-description {
  color: #4A5568;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.cookie-settings-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #E2E8F0;
}

.cookie-settings-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-settings-btn--primary {
  background: linear-gradient(135deg, #00D9FF 0%, #00B8E6 100%);
  color: #0A0E27;
}

.cookie-settings-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 217, 255, 0.3);
}

.cookie-settings-btn--secondary {
  background: #F7FAFC;
  color: #4A5568;
  border: 1px solid #E2E8F0;
}

.cookie-settings-btn--secondary:hover {
  background: #EDF2F7;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cookie-banner__content {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 0 16px;
  }

  .cookie-banner__text {
    text-align: left;
    max-width: none;
  }

  .cookie-banner__actions {
    justify-content: stretch;
    gap: 8px;
  }

  .cookie-btn {
    flex: 1;
    min-width: auto;
  }

  .cookie-settings-content {
    padding: 24px;
    margin: 10px;
  }

  .cookie-settings-actions {
    flex-direction: column;
  }

  .cookie-settings-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .cookie-banner__actions {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }

  .cookie-category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}