/* 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;
  padding: var(--spacing-md);
  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(--radius-xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-2xl);
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-consent-header {
  padding: var(--spacing-xl);
  border-bottom: 1px solid var(--color-bg-tertiary);
}

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

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

.cookie-consent-body {
  padding: var(--spacing-xl);
  max-height: 60vh;
  overflow-y: auto;
}

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

.cookie-category:last-child {
  margin-bottom: 0;
}

.cookie-category-header {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-sm);
}

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

.cookie-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--color-primary);
}

.cookie-checkbox:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

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

.cookie-required {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-normal);
}

.cookie-description {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
  margin: 0;
  padding-left: 36px;
}

.cookie-consent-footer {
  padding: var(--spacing-xl);
  border-top: 1px solid var(--color-bg-tertiary);
  display: flex;
  gap: var(--spacing-md);
  justify-content: flex-end;
}

@media (max-width: 767px) {
  .cookie-consent-modal {
    max-width: 100%;
    margin: var(--spacing-md);
  }
  
  .cookie-consent-footer {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .cookie-consent-footer .btn,
  .cookie-consent-footer a.btn {
    width: 100%;
    margin-left: 0 !important;
  }
  
  .cookie-description {
    padding-left: 0;
  }
  
  .cookie-description a {
    word-break: break-word;
  }
}
