/* ============================================
   ENTERPRISE COOKIE CONSENT SYSTEM
   OneTrust-Inspired Professional Design
   ============================================ */

:root {
  color-scheme: light dark;
  
  /* Premium Brand Colors */
  --brand-primary: #2563eb;
  --brand-primary-hover: #1d4ed8;
  --brand-primary-light: #eff6ff;
  --brand-primary-dark: #1e40af;
  
  --brand-success: #059669;
  --brand-success-hover: #047857;
  --brand-success-light: #d1fae5;
  
  --brand-accent: #7c3aed;
  --brand-accent-hover: #6d28d9;
  
  /* Premium Neutral Palette */
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-400: #94a3b8;
  --neutral-500: #64748b;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;
  
  /* Light Mode Theme */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-elevated: #ffffff;
  --bg-overlay: rgba(15, 23, 42, 0.65);
  
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-tertiary: #475569;
  --text-inverse: #ffffff;
  
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-strong: #94a3b8;
  
  /* Premium Shadow System */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.08), 0 1px 2px -1px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
  --shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, 0.2);
  --shadow-banner: 0 -4px 24px rgba(15, 23, 42, 0.08), 0 0 1px rgba(15, 23, 42, 0.1);
  --shadow-modal: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 1px rgba(15, 23, 42, 0.1);
  
  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  
  /* Typography Scale */
  --text-xs: 0.6875rem;
  --text-sm: 0.8125rem;
  --text-base: 0.875rem;
  --text-md: 0.9375rem;
  --text-lg: 1rem;
  --text-xl: 1.125rem;
  --text-2xl: 1.25rem;
  --text-3xl: 1.5rem;
  --text-4xl: 1.875rem;
  
  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 120ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Z-index */
  --z-banner: 99999;
  --z-modal: 100000;
  --z-floating: 99998;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-elevated: #1e293b;
    --bg-overlay: rgba(0, 0, 0, 0.75);
    
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    
    --border-light: #334155;
    --border-medium: #475569;
    --border-strong: #64748b;
    
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.4), 0 1px 2px -1px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    --shadow-banner: 0 -4px 24px rgba(0, 0, 0, 0.5), 0 0 1px rgba(0, 0, 0, 0.8);
    --shadow-modal: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 1px rgba(0, 0, 0, 0.9);
  }
  
  .privacy-notice {
    background: rgba(30, 58, 138, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-left: 4px solid #3b82f6;
  }
  
  .privacy-notice p {
    color: #93c5fd;
  }
  
  .privacy-notice strong {
    color: #bfdbfe;
  }
  
  .info-icon {
    color: #60a5fa;
  }
}

/* Base Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ============================================
   COOKIE BANNER - Bottom Banner Style
   ============================================ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-light);
  box-shadow: var(--shadow-banner);
  z-index: var(--z-banner);
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
}

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

.cookie-banner-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-6);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-8);
  align-items: center;
}

.cookie-banner-main {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
}

.cookie-icon-wrapper {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--brand-primary);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.cookie-icon {
  width: 24px;
  height: 24px;
  color: var(--text-inverse);
}

.cookie-banner-text {
  flex: 1;
}

.cookie-banner-title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
}

.cookie-banner-description {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  max-width: 65ch;
}

.cookie-banner-description strong {
  color: var(--text-primary);
  font-weight: var(--font-bold);
}

.cookie-banner-footer {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-sm);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.text-link {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: var(--font-medium);
  transition: color var(--transition-fast);
}

.text-link:hover {
  color: var(--brand-primary-hover);
  text-decoration: underline;
}

.separator {
  color: var(--border-medium);
}

.cookie-banner-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* ============================================
   BUTTONS - Premium Style
   ============================================ */

.btn {
  font-family: inherit;
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  line-height: 1;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  min-height: 44px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--brand-success);
  color: var(--text-inverse);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--brand-success-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--border-medium);
}

.btn-outline:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  background: var(--bg-secondary);
  transform: translateY(-1px);
}

/* ============================================
   MODAL - Professional Overlay
   ============================================ */

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cookie-modal-overlay {
  position: absolute;
  inset: 0;
  background: var(--bg-overlay);
  backdrop-filter: blur(8px);
}

.cookie-modal-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 85vh;
  background: var(--bg-elevated);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-modal);
  display: flex;
  flex-direction: column;
  animation: scaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border-light);
}

@keyframes scaleIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.cookie-modal-header {
  padding: var(--space-8);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-6);
  background: var(--bg-secondary);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.modal-title {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-1);
}

.modal-subtitle {
  font-size: var(--text-base);
  color: var(--text-secondary);
  font-weight: var(--font-normal);
}

.close-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-medium);
  transform: rotate(90deg);
}

.cookie-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-8);
}

/* Custom Scrollbar */
.cookie-modal-body::-webkit-scrollbar {
  width: 12px;
}

.cookie-modal-body::-webkit-scrollbar-track {
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  margin: var(--space-2);
}

.cookie-modal-body::-webkit-scrollbar-thumb {
  background: var(--brand-primary);
  border-radius: var(--radius-full);
  border: 3px solid var(--bg-tertiary);
}

.cookie-modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--brand-primary-hover);
}

.cookie-modal-footer {
  padding: var(--space-6) var(--space-8);
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  background: var(--bg-secondary);
  border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
}

.footer-buttons {
  display: flex;
  gap: var(--space-3);
}

/* ============================================
   PRIVACY NOTICE - Info Card
   ============================================ */

.privacy-notice {
  background: #eff6ff;
  border: 1px solid #93c5fd;
  border-left: 4px solid var(--brand-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin-bottom: var(--space-8);
  display: flex;
  gap: var(--space-4);
}

.info-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--brand-primary);
  margin-top: 2px;
}

.privacy-notice p {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: #1e40af;
  margin-bottom: var(--space-3);
}

.privacy-notice p:last-child {
  margin-bottom: 0;
}

.privacy-notice strong {
  color: #1e3a8a;
  font-weight: var(--font-bold);
}

.legislation-intro {
  font-weight: var(--font-semibold);
  color: #1e40af; /* Blue color that works in both modes */
  font-size: var(--text-base);
}

.regulations-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.regulation-tag {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
  cursor: default;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.regulation-tag.active {
  background: var(--brand-primary);
  color: var(--text-inverse);
  border-color: transparent;
  box-shadow: var(--shadow-sm);
  font-weight: var(--font-bold);
}

.regulation-tag:not(.active):hover {
  background: var(--bg-secondary);
  border-color: var(--border-medium);
}

/* ============================================
   COOKIE CATEGORIES - Accordion Style
   ============================================ */

.cookie-category {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-4);
  transition: all var(--transition-base);
}

.cookie-category:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.category-title-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex: 1;
}

.category-title {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.category-description {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  width: 52px;
  height: 28px;
  flex-shrink: 0;
  cursor: pointer;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--neutral-300);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background: var(--text-inverse);
  border-radius: 50%;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--brand-success);
  box-shadow: inset 0 2px 4px rgba(5, 150, 105, 0.3);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(24px);
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.4);
}

.toggle-switch:hover .toggle-slider {
  background: var(--neutral-400);
}

.toggle-switch:hover input:checked + .toggle-slider {
  background: var(--brand-success-hover);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-required {
  background: var(--brand-success);
  color: var(--text-inverse);
  box-shadow: var(--shadow-xs);
}

/* Expand Button */
.expand-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.expand-btn:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-medium);
  transform: translateY(-1px);
}

.expand-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.expand-btn svg {
  transition: transform var(--transition-base);
}

.category-details {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-light);
}

.cookie-list {
  list-style: none;
  margin-bottom: var(--space-4);
}

.cookie-list li {
  padding: var(--space-3) 0;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--text-secondary);
  position: relative;
  padding-left: var(--space-5);
}

.cookie-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--brand-primary);
  font-weight: var(--font-bold);
}

.cookie-list strong {
  color: var(--text-primary);
  font-weight: var(--font-semibold);
}

.retention-info,
.third-party-info {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-top: var(--space-3);
  padding: var(--space-3);
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
}

/* ============================================
   PROVIDER INFORMATION CARDS (OneTrust Style)
   ============================================ */

.provider-section {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 2px solid var(--border-light);
}

.provider-section-title {
  font-size: var(--text-md);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.provider-section-title::before {
  content: '';
  width: 4px;
  height: 18px;
  background: var(--brand-primary);
  border-radius: var(--radius-sm);
}

.provider-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-5);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-xs);
}

.provider-card:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.provider-card:last-child {
  margin-bottom: 0;
}

.provider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-light);
}

.provider-name {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin: 0;
}

.provider-category-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.provider-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.provider-detail-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: var(--space-5);
  font-size: var(--text-sm);
  line-height: 1.6;
  align-items: start;
  padding: var(--space-2) 0;
}

.detail-label {
  font-weight: var(--font-semibold);
  color: var(--text-tertiary);
  font-size: var(--text-sm);
}

.detail-value {
  color: var(--text-primary);
  word-break: break-word;
}

.detail-value a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-block;
  word-break: break-all;
}

.detail-value a:hover {
  color: var(--brand-primary-hover);
  text-decoration: underline;
}

.detail-value a[href^="mailto:"] {
  word-break: break-word;
}

.detail-value a[href^="http"]::after {
  content: '↗';
  font-size: var(--text-xs);
  margin-left: 4px;
  opacity: 0.6;
}

/* Mobile Responsive for Provider Cards */
@media (max-width: 768px) {
  .provider-section {
    margin-top: var(--space-5);
    padding-top: var(--space-5);
  }
  
  .provider-detail-row {
    grid-template-columns: 1fr;
    gap: var(--space-2);
    padding: var(--space-3) 0;
  }
  
  .detail-label {
    font-size: var(--text-sm);
    margin-bottom: var(--space-1);
  }
  
  .detail-value {
    font-size: var(--text-sm);
  }
  
  .provider-card {
    padding: var(--space-5);
    margin-bottom: var(--space-4);
  }
  
  .provider-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
  }
  
  .provider-name {
    font-size: var(--text-lg);
  }
  
  .provider-category-badge {
    align-self: flex-start;
  }
}

/* ============================================
   FLOATING BUTTON
   ============================================ */

.floating-prefs-btn {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 56px;
  height: 56px;
  background: var(--brand-primary);
  color: var(--text-inverse);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: var(--shadow-xl);
  z-index: var(--z-floating);
  transition: all var(--transition-smooth);
  display: none;
  align-items: center;
  justify-content: center;
}

.floating-prefs-btn:hover {
  transform: scale(1.1) rotate(90deg);
  box-shadow: var(--shadow-2xl);
}

.floating-prefs-btn:active {
  transform: scale(0.95) rotate(90deg);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  .cookie-banner-content {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .cookie-banner-actions {
    justify-content: stretch;
  }
  
  .cookie-banner-actions .btn {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .cookie-modal {
    padding: var(--space-4);
    align-items: flex-end;
  }
  
  .cookie-modal-container {
    max-height: 92vh;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }
  
  .cookie-modal-header,
  .cookie-modal-body,
  .cookie-modal-footer {
    padding: var(--space-6);
  }
  
  .modal-title {
    font-size: var(--text-2xl);
  }
  
  .cookie-banner-content {
    padding: var(--space-6) var(--space-4);
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .cookie-banner-main {
    flex-direction: row;
    align-items: flex-start;
  }
  
  .cookie-icon-wrapper {
    width: 40px;
    height: 40px;
  }
  
  .cookie-icon {
    width: 20px;
    height: 20px;
  }
  
  .cookie-banner-title {
    font-size: var(--text-lg);
  }
  
  .cookie-banner-description {
    font-size: var(--text-sm);
  }
  
  .cookie-banner-actions {
    width: 100%;
  }
  
  .cookie-banner-actions .btn {
    flex: 1;
    min-width: 0;
  }
  
  .cookie-modal-footer {
    flex-direction: column-reverse;
    gap: var(--space-3);
  }
  
  .footer-buttons {
    width: 100%;
    flex-direction: column;
  }
  
  .footer-buttons .btn {
    width: 100%;
  }
  
  .floating-prefs-btn {
    width: 52px;
    height: 52px;
    bottom: var(--space-4);
    right: var(--space-4);
  }
}

@media (max-width: 480px) {
  .cookie-banner-actions {
    flex-direction: column;
  }
  
  .cookie-banner-actions .btn {
    width: 100%;
  }
  
  .cookie-modal-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .close-btn {
    align-self: flex-end;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus Styles */
*:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

.btn:focus-visible {
  outline-offset: 4px;
}

/* ============================================
   CONSENT TOAST - Premium Confirmation
   ============================================ */

.consent-toast {
  position: fixed;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-4) var(--space-6);
  box-shadow: var(--shadow-2xl);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  z-index: calc(var(--z-modal) + 1);
  opacity: 0;
  transition: all var(--transition-smooth);
  max-width: 400px;
  min-width: 300px;
}

.consent-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.consent-toast svg {
  flex-shrink: 0;
  color: var(--brand-success);
}

.consent-toast span {
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  color: var(--text-primary);
}

/* ============================================
   CONSENT RECEIPT LINK
   ============================================ */

.consent-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.consent-receipt-btn {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-decoration: none;
  display: none; /* Hidden by default until consent is given */
  align-items: center;
  gap: var(--space-2);
  transition: color var(--transition-fast);
  font-weight: var(--font-medium);
}

.consent-receipt-btn.active {
  display: inline-flex; /* Show when user has given consent */
}

.consent-receipt-btn:hover {
  color: var(--brand-primary);
}

.consent-receipt-btn svg {
  width: 16px;
  height: 16px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   DETAILED COOKIE LIST BY VENDOR
   OneTrust-style cookie catalog display
   ============================================ */

.detailed-cookie-section {
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-light);
}

.section-header-with-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
}

.section-title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin: 0;
}

.section-description {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin: 0 0 var(--space-6) 0;
  line-height: 1.5;
}

.toggle-section-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.toggle-section-btn:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-medium);
}

.toggle-section-btn .toggle-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-base);
}

.toggle-section-btn[aria-expanded="true"] .toggle-icon {
  transform: rotate(180deg);
}

.detailed-cookies-container {
  animation: slideDown var(--transition-smooth);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Vendor Group Styles */
.vendor-group {
  margin-bottom: var(--space-6);
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.vendor-group:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.vendor-header {
  padding: var(--space-5) var(--space-6);
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition-fast);
}

.vendor-header:hover {
  background: var(--bg-secondary);
}

.vendor-info {
  flex: 1;
}

.vendor-name-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}

.vendor-name {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.vendor-icon {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
}

/* Category-specific vendor icons */
.vendor-icon.analytics {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.vendor-icon.marketing {
  background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

.vendor-icon.preferences {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.vendor-icon.necessary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.vendor-icon.uncategorized {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

.vendor-company {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  margin: 0;
}

.vendor-category-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

/* Category-specific badge colors */
.vendor-category-badge.analytics {
  background: #eff6ff;
  color: #1e40af;
  border-color: #bfdbfe;
}

.vendor-category-badge.marketing {
  background: #fdf2f8;
  color: #9f1239;
  border-color: #fbcfe8;
}

.vendor-category-badge.preferences {
  background: #f5f3ff;
  color: #6d28d9;
  border-color: #ddd6fe;
}

.vendor-category-badge.necessary {
  background: #d1fae5;
  color: #065f46;
  border-color: #6ee7b7;
}

.vendor-category-badge.uncategorized {
  background: #f3f4f6;
  color: #374151;
  border-color: #d1d5db;
}

.vendor-cookie-count {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: var(--font-medium);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.vendor-cookie-count svg {
  width: 18px;
  height: 18px;
  color: var(--text-tertiary);
}

.vendor-expand-icon {
  width: 20px;
  height: 20px;
  color: var(--text-tertiary);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.vendor-header[aria-expanded="true"] .vendor-expand-icon {
  transform: rotate(180deg);
}

/* Cookie Items List */
.vendor-cookies-list {
  padding: var(--space-5) var(--space-6);
  background: var(--bg-primary);
  display: none;
}

.vendor-header[aria-expanded="true"] + .vendor-cookies-list {
  display: block;
  animation: slideDown var(--transition-smooth);
}

.cookie-item {
  padding: var(--space-5);
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  transition: all var(--transition-fast);
}

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

.cookie-item:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.cookie-item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
}

.cookie-name-section {
  flex: 1;
}

.cookie-name {
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Courier New', monospace;
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  background: var(--bg-elevated);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  display: inline-block;
  margin-bottom: var(--space-2);
}

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

.cookie-duration-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: var(--text-secondary);
  white-space: nowrap;
}

.cookie-duration-badge svg {
  width: 14px;
  height: 14px;
}

.cookie-description {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 var(--space-3) 0;
}

.cookie-meta {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.cookie-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

.cookie-meta-label {
  font-weight: var(--font-medium);
  color: var(--text-secondary);
}

.cookie-popularity {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-2);
  background: var(--brand-primary-light);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  color: var(--brand-primary-dark);
  font-weight: var(--font-medium);
}

.cookie-popularity svg {
  width: 12px;
  height: 12px;
}

/* Loading State */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-12);
  gap: var(--space-4);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-light);
  border-top-color: var(--brand-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-state p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin: 0;
}

/* Empty State */
.empty-state {
  padding: var(--space-12);
  text-align: center;
}

.empty-state svg {
  width: 64px;
  height: 64px;
  color: var(--text-tertiary);
  margin-bottom: var(--space-4);
}

.empty-state p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin: 0;
}

/* Category Filter Tabs (Optional) */
.category-filter {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.category-filter-btn {
  padding: var(--space-2) var(--space-4);
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.category-filter-btn:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-medium);
}

.category-filter-btn.active {
  background: var(--brand-primary);
  color: var(--text-inverse);
  border-color: var(--brand-primary);
}

.category-filter-btn.active:hover {
  background: var(--brand-primary-hover);
  border-color: var(--brand-primary-hover);
}

/* Responsive Design */
@media (max-width: 768px) {
  .vendor-header {
    padding: var(--space-4);
  }
  
  .vendor-name-row {
    flex-wrap: wrap;
  }
  
  .vendor-cookies-list {
    padding: var(--space-4);
  }
  
  .cookie-item-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-duration-badge {
    align-self: flex-start;
  }
  
  .cookie-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .vendor-group {
    background: var(--bg-secondary);
  }
  
  .cookie-item {
    background: var(--neutral-800);
    border-color: var(--neutral-700);
  }
  
  .cookie-item:hover {
    border-color: var(--neutral-600);
  }
  
  .cookie-name {
    background: var(--neutral-900);
    border-color: var(--neutral-700);
  }
}

/* ============================================
   COOKIE TABLES STYLING
   Professional table design for cookie details
   ============================================ */

.cookies-table-container {
  margin: var(--space-6) 0;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.cookies-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-elevated);
  font-size: var(--text-sm);
}

.cookies-table thead {
  background: linear-gradient(135deg, var(--neutral-100) 0%, var(--neutral-50) 100%);
  border-bottom: 2px solid var(--border-medium);
}

.cookies-table thead th {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  font-weight: var(--font-bold);
  color: var(--text-primary);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.025em;
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 10;
  background: inherit;
}

.cookies-table thead th:first-child {
  border-top-left-radius: var(--radius-lg);
}

.cookies-table thead th:last-child {
  border-top-right-radius: var(--radius-lg);
}

.cookies-table tbody tr {
  border-bottom: 1px solid var(--border-light);
  transition: background-color var(--transition-fast);
}

.cookies-table tbody tr:last-child {
  border-bottom: none;
}

.cookies-table tbody tr:hover {
  background: var(--bg-secondary);
}

.cookies-table tbody td {
  padding: var(--space-4) var(--space-5);
  color: var(--text-secondary);
  line-height: 1.6;
  vertical-align: top;
}

.cookies-table tbody td:first-child {
  font-weight: var(--font-semibold);
  color: var(--text-primary);
}

/* Cookie name code styling */
.cookies-table code {
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Courier New', monospace;
  font-size: var(--text-sm);
  background: var(--bg-secondary);
  color: var(--brand-primary);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  white-space: nowrap;
  font-weight: var(--font-semibold);
}

/* Service name styling */
.cookies-table tbody td:nth-child(2) {
  font-weight: var(--font-medium);
  color: var(--text-primary);
  white-space: nowrap;
}

/* Purpose column - main content */
.cookies-table tbody td:nth-child(3) {
  min-width: 300px;
  max-width: 500px;
}

/* Duration column */
.cookies-table tbody td:nth-child(4) {
  white-space: nowrap;
  font-weight: var(--font-medium);
  color: var(--text-secondary);
}

/* Responsive table */
@media (max-width: 1024px) {
  .cookies-table {
    font-size: var(--text-xs);
  }
  
  .cookies-table thead th,
  .cookies-table tbody td {
    padding: var(--space-3) var(--space-4);
  }
  
  .cookies-table tbody td:nth-child(3) {
    min-width: 250px;
  }
}

@media (max-width: 768px) {
  /* Stack table on mobile */
  .cookies-table-container {
    border: none;
    border-radius: 0;
    box-shadow: none;
  }
  
  .cookies-table,
  .cookies-table thead,
  .cookies-table tbody,
  .cookies-table tr,
  .cookies-table td {
    display: block;
  }
  
  .cookies-table thead {
    display: none; /* Hide header on mobile */
  }
  
  .cookies-table tbody tr {
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
    padding: var(--space-4);
    box-shadow: var(--shadow-sm);
  }
  
  .cookies-table tbody tr:last-child {
    margin-bottom: 0;
  }
  
  .cookies-table tbody td {
    padding: var(--space-2) 0;
    border: none;
    text-align: left;
    position: relative;
    padding-left: 40%;
  }
  
  .cookies-table tbody td:before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    width: 38%;
    padding-right: var(--space-2);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.025em;
  }
  
  /* Override specific column styles for mobile */
  .cookies-table tbody td:nth-child(3) {
    min-width: auto;
    max-width: none;
  }
  
  .cookies-table tbody td:nth-child(4) {
    white-space: normal;
  }
  
  /* Add data labels via JavaScript or inline HTML */
  .cookies-table tbody td:nth-child(1):before {
    content: 'Cookie Name';
  }
  
  .cookies-table tbody td:nth-child(2):before {
    content: 'Service';
  }
  
  .cookies-table tbody td:nth-child(3):before {
    content: 'Purpose';
  }
  
  .cookies-table tbody td:nth-child(4):before {
    content: 'Duration';
  }
}

/* Table animation when expanding */
@keyframes tableSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.category-details[style*="block"] .cookies-table-container {
  animation: tableSlideIn var(--transition-smooth);
}

/* Zebra striping for better readability */
.cookies-table tbody tr:nth-child(odd) {
  background: var(--bg-elevated);
}

.cookies-table tbody tr:nth-child(even) {
  background: var(--bg-secondary);
}

.cookies-table tbody tr:nth-child(odd):hover,
.cookies-table tbody tr:nth-child(even):hover {
  background: var(--bg-tertiary);
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .cookies-table {
    background: var(--neutral-900);
  }
  
  .cookies-table thead {
    background: linear-gradient(135deg, var(--neutral-800) 0%, var(--neutral-900) 100%);
    border-bottom-color: var(--neutral-700);
  }
  
  .cookies-table tbody tr {
    border-bottom-color: var(--neutral-800);
  }
  
  .cookies-table tbody tr:hover {
    background: var(--neutral-800);
  }
  
  .cookies-table code {
    background: var(--neutral-800);
    border-color: var(--neutral-700);
    color: #60a5fa; /* Lighter blue for dark mode */
  }
  
  .cookies-table tbody tr:nth-child(odd) {
    background: var(--neutral-900);
  }
  
  .cookies-table tbody tr:nth-child(even) {
    background: var(--neutral-850);
  }
  
  .cookies-table tbody tr:nth-child(odd):hover,
  .cookies-table tbody tr:nth-child(even):hover {
    background: var(--neutral-800);
  }
}

/* Print styles for tables */
@media print {
  .cookies-table-container {
    border: 1px solid #000;
    box-shadow: none;
  }
  
  .cookies-table {
    font-size: 10pt;
  }
  
  .cookies-table thead {
    background: #f0f0f0 !important;
  }
  
  .cookies-table tbody tr {
    page-break-inside: avoid;
  }
  
  .cookies-table code {
    background: #f5f5f5;
    border: 1px solid #ddd;
  }
}

/* Accessibility: Focus styles for keyboard navigation */
.cookies-table:focus-within {
  outline: 2px solid var(--brand-primary);
  outline-offset: 4px;
  border-radius: var(--radius-lg);
}

/* Scrollbar styling for table container */
.cookies-table-container::-webkit-scrollbar {
  height: 8px;
}

.cookies-table-container::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
}

.cookies-table-container::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: var(--radius-sm);
}

.cookies-table-container::-webkit-scrollbar-thumb:hover {
  background: var(--border-strong);
}

/* ========================================
   GEOLOCATION RULES - STRICT CONSENT MODE
   For GDPR, Quebec Law 25, UK-DPA regions
   ======================================== */

.cookie-banner.strict-consent-mode {
    /* Red border removed - keeping only subtle shadow */
    box-shadow: 0 10px 40px rgba(220, 38, 38, 0.1);
}

/* Padlock emoji removed per user request */

/* Strict mode indicator badge */
.cookie-banner.strict-consent-mode .cookie-banner-title::after {
    content: "GDPR";
    font-size: 0.625rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 12px;
    vertical-align: middle;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
}

/* Do Not Sell link styling (CCPA) */
#doNotSellLink {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 4px;
    transition: all var(--transition-fast);
}

#doNotSellLink:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: translateY(-1px);
}

#doNotSellLink::before {
    content: "🚫";
    font-size: 1rem;
}

/* Quebec French requirement indicator */
.cookie-banner[data-region="QC"] .cookie-banner-title::after {
    content: "Loi 25";
}

/* Strict mode: Emphasize Customize button */
.cookie-banner.strict-consent-mode #customizeBtn {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
    border: 2px solid #1e40af;
}

.cookie-banner.strict-consent-mode #customizeBtn:hover {
    background: linear-gradient(135deg, #1e3a8a, #1e293b);
    box-shadow: 0 6px 16px rgba(30, 64, 175, 0.4);
    transform: translateY(-2px);
}

/* Strict mode: De-emphasize Accept All button */
.cookie-banner.strict-consent-mode #acceptAllBtn {
    opacity: 0.85;
}

/* Geo rules indicator in modal */
.geo-rules-indicator {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border-left: 4px solid #dc2626;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.875rem;
    line-height: 1.5;
}

.geo-rules-indicator strong {
    color: #991b1b;
    font-weight: 600;
}

.geo-rules-indicator svg {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

/* Dark mode support for strict consent */
@media (prefers-color-scheme: dark) {
    .cookie-banner.strict-consent-mode {
        /* Red border removed in dark mode too */
        box-shadow: 0 10px 40px rgba(239, 68, 68, 0.15);
    }
    
    .geo-rules-indicator {
        background: linear-gradient(135deg, #7f1d1d, #991b1b);
        border-left-color: #ef4444;
    }
    
    .geo-rules-indicator strong {
        color: #fca5a5;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .cookie-banner.strict-consent-mode .cookie-banner-title::after {
        display: block;
        margin-left: 0;
        margin-top: 8px;
        width: fit-content;
    }
    
    #doNotSellLink {
        display: block;
        margin-bottom: 8px;
    }
}

/* Print styles */
@media print {
    .cookie-banner.strict-consent-mode .cookie-banner-title::after {
        background: #000;
        color: #fff;
    }
}

