/* Cookie Consent Styles */
.cookie-consent-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg-overlay);
  backdrop-filter: blur(5px);
  z-index: var(--z-modal-backdrop);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 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(--radius-xl);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-2xl);
  padding: var(--spacing-xl);
  position: relative;
}

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

.cookie-consent-header h2 {
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-sm);
}

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

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

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

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

.cookie-label input[type="checkbox"] {
  display: none;
}

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

.cookie-label input[type="checkbox"]:checked + .cookie-checkbox {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.cookie-label input[type="checkbox"]:checked + .cookie-checkbox::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.cookie-label input[type="checkbox"]:disabled + .cookie-checkbox {
  background: var(--color-bg-tertiary);
  border-color: var(--color-border);
  cursor: not-allowed;
}

.cookie-label input[type="checkbox"]:disabled:checked + .cookie-checkbox {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.cookie-info {
  flex: 1;
}

.cookie-info strong {
  display: block;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-xs);
  font-weight: var(--font-weight-semibold);
}

.cookie-info p {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  margin: 0;
}

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

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