/* Cookie Consent Styles */
.cookie-consent-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: var(--z-modal-overlay);
  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(--bg-card);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
}

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

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

.cookie-consent-header p {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
}

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

.cookie-category {
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-lg);
  background: rgba(0, 188, 212, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

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

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

.cookie-checkbox {
  display: none;
}

.cookie-checkbox-custom {
  width: 24px;
  height: 24px;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-sm);
  position: relative;
  transition: all var(--transition-base);
  flex-shrink: 0;
}

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

.cookie-checkbox:checked + .cookie-checkbox-custom::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 6px;
  height: 12px;
  border: solid var(--bg-primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.cookie-checkbox:disabled + .cookie-checkbox-custom {
  opacity: 0.5;
  cursor: not-allowed;
}

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

.cookie-category-description {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  margin-top: var(--spacing-sm);
  margin-bottom: 0;
}

.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(--radius-lg);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: all var(--transition-base);
}

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

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

.cookie-btn-save {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.cookie-btn-save:hover {
  background: var(--color-accent);
  color: var(--text-primary);
}

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