/* Cookie Consent Styles */
.cookie-consent-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: var(--z-modal-backdrop);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.cookie-consent-overlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cookie-consent-modal {
  background: var(--color-bg-primary);
  border-radius: var(--border-radius-xl);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  z-index: var(--z-modal);
  padding: var(--spacing-2xl);
}

.cookie-consent-header {
  margin-bottom: var(--spacing-xl);
}

.cookie-consent-title {
  font-size: var(--font-size-2xl);
  color: var(--color-text-heading);
  margin-bottom: var(--spacing-md);
}

.cookie-consent-intro {
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
}

.cookie-consent-content {
  margin-bottom: var(--spacing-xl);
}

.cookie-category {
  padding: var(--spacing-lg);
  border: var(--border-width) solid var(--color-border);
  border-radius: var(--border-radius-md);
  margin-bottom: var(--spacing-md);
  background: var(--color-bg-secondary);
}

.cookie-category-header {
  margin-bottom: var(--spacing-sm);
}

.cookie-category-label {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  cursor: pointer;
}

.cookie-checkbox {
  display: none;
}

.cookie-checkbox-custom {
  width: 24px;
  height: 24px;
  border: 2px solid var(--color-border-dark);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.cookie-checkbox:checked + .cookie-checkbox-custom {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.cookie-checkbox:checked + .cookie-checkbox-custom::after {
  content: '✓';
  color: white;
  font-weight: bold;
}

.cookie-checkbox:disabled + .cookie-checkbox-custom {
  background: var(--color-bg-tertiary);
  border-color: var(--color-border-dark);
  cursor: not-allowed;
}

.cookie-checkbox:disabled:checked + .cookie-checkbox-custom {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.cookie-category-name {
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-heading);
}

.cookie-category-desc {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
  margin-top: var(--spacing-sm);
}

.cookie-consent-actions {
  display: flex;
  gap: var(--spacing-md);
  justify-content: flex-end;
}

.cookie-btn {
  padding: var(--spacing-md) var(--spacing-xl);
  border: none;
  border-radius: var(--border-radius-md);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: all var(--transition-base);
  font-size: var(--font-size-base);
}

.cookie-btn-accept-all {
  background: var(--gradient-primary);
  color: var(--color-text-light);
}

.cookie-btn-accept-all:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cookie-btn-save {
  background: var(--color-bg-secondary);
  color: var(--color-text-primary);
  border: var(--border-width) solid var(--color-border);
}

.cookie-btn-save:hover {
  background: var(--color-bg-tertiary);
}

@media (max-width: 767px) {
  .cookie-consent-modal {
    padding: var(--spacing-lg);
    width: 95%;
  }
  
  .cookie-consent-actions {
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
}
