/* Cookie Banner Styles - GDPR Compliant */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26, 11, 46, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 217, 255, 0.2);
  padding: 24px 0;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -8px 32px rgba(26, 11, 46, 0.3);
}

.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 h4 {
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.cookie-banner-text p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  margin: 0 0 12px 0;
}

.cookie-banner-text a {
  color: #00D9FF;
  text-decoration: underline;
}

.cookie-banner-text a:hover {
  color: #33E1FF;
}

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

.cookie-btn {
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cookie-btn-accept {
  background: linear-gradient(135deg, #00D9FF 0%, #6B4EAE 100%);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 217, 255, 0.2);
}

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

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

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

.cookie-btn-customize {
  background: rgba(107, 78, 174, 0.2);
  color: #FFFFFF;
  border: 1px solid rgba(107, 78, 174, 0.4);
}

.cookie-btn-customize:hover {
  background: rgba(107, 78, 174, 0.3);
  border-color: rgba(107, 78, 174, 0.6);
}

/* 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(8px);
  z-index: 1001;
  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 24px 64px rgba(26, 11, 46, 0.2);
}

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

.cookie-settings-header h3 {
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #1A0B2E;
  margin-bottom: 8px;
}

.cookie-settings-header p {
  color: #4A4A6A;
  line-height: 1.6;
}

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

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

.cookie-category h4 {
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #1A0B2E;
  margin: 0;
}

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  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: #D4D4E0;
  transition: 0.2s;
  border-radius: 24px;
}

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

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: linear-gradient(135deg, #00D9FF 0%, #6B4EAE 100%);
}

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

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

.cookie-category p {
  color: #6B6B8D;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

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

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

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

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

.cookie-settings-btn-secondary {
  background: transparent;
  color: #6B6B8D;
  border: 1px solid #D4D4E0;
}

.cookie-settings-btn-secondary:hover {
  background: #F7F7FA;
  border-color: #B1B1C7;
}

/* 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: center;
    max-width: none;
  }
  
  .cookie-banner-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .cookie-btn {
    flex: 1;
    min-width: 120px;
  }
  
  .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;
    gap: 8px;
  }
  
  .cookie-btn {
    width: 100%;
  }
  
  .cookie-category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}