/**
 * Skórka Cookie Consent v1 — niezadrogastrona.pl
 * Tokeny z app/globals.css i przycisków portalu (kwadrat, navy, Source Sans / Serif).
 */

.cc-root {
  --cc-bg: #fffcf7;
  --cc-text: #1c1917;
  --cc-text-muted: #57534e;
  --cc-border: #d6d0c4;
  --cc-border-width: 1px;

  --cc-accent: #1e3a5f;
  --cc-accent-text: #f8fafc;
  --cc-link: #1e40af;
  --cc-link-decoration: underline;
  --cc-link-hover: #1e3a5f;

  --cc-font-family: inherit;
  --cc-font-family-title: var(--font-serif), "Source Serif 4", Georgia, serif;
  --cc-font-size: 0.9375rem;
  --cc-font-size-title: 1.25rem;
  --cc-font-size-desc: 0.8125rem;
  --cc-font-weight: 400;
  --cc-font-weight-title: 700;
  --cc-line-height: 1.5;

  --cc-radius: 0;
  --cc-radius-btn: 0;
  --cc-shadow: 0 12px 32px rgba(28, 25, 23, 0.12);

  --cc-space: 1.25rem;
  --cc-space-sm: 0.5rem;
  --cc-space-lg: 1.5rem;
  --cc-padding: 1.25rem;
  --cc-gap: 0.75rem;

  --cc-max-width: 40rem;
  --cc-max-height: 75vh;
  --cc-max-height-mobile: 70vh;
  --cc-z-index: 2147483000;
  --cc-position-top: auto;
  --cc-position-bottom: 1rem;
  --cc-position-left: 1rem;
  --cc-position-right: 1rem;
  --cc-position-bottom-mobile: 0.75rem;
  --cc-position-left-mobile: 0.75rem;
  --cc-position-right-mobile: 0.75rem;
  --cc-justify: center;
  --cc-align: flex-end;

  --cc-btn-min-height: 2.75rem;
  --cc-btn-padding-y: 0.7rem;
  --cc-btn-padding-x: 1.25rem;
  --cc-btn-font-size: 0.875rem;
  --cc-btn-font-weight: 600;
  --cc-btn-border-width: 2px;

  --cc-btn-primary-bg: #1e3a5f;
  --cc-btn-primary-text: #f8fafc;
  --cc-btn-primary-border: #1e3a5f;
  --cc-btn-primary-bg-hover: #2c5282;
  --cc-btn-primary-text-hover: #f8fafc;
  --cc-btn-primary-border-hover: #2c5282;

  --cc-btn-secondary-bg: #fffcf7;
  --cc-btn-secondary-text: #1e3a5f;
  --cc-btn-secondary-border: #1e3a5f;
  --cc-btn-secondary-bg-hover: #e8e4dc;
  --cc-btn-secondary-text-hover: #1e3a5f;
  --cc-btn-secondary-border-hover: #1e3a5f;

  --cc-btn-tertiary-bg: transparent;
  --cc-btn-tertiary-text: #1e3a5f;
  --cc-btn-tertiary-border: transparent;
  --cc-btn-tertiary-bg-hover: #e8e4dc;
  --cc-btn-tertiary-text-hover: #1e3a5f;
  --cc-btn-tertiary-border-hover: transparent;
  --cc-btn-tertiary-min-height: 2.75rem;
  --cc-btn-tertiary-font-weight: 600;

  --cc-focus-ring: #1e3a5f;
  --cc-focus-ring-width: 2px;
  --cc-focus-ring-offset: 2px;

  --cc-toggle-on: #1e3a5f;
  --cc-toggle-off: #a8a29e;
  --cc-toggle-knob-bg: #fffcf7;
  --cc-toggle-width: 2.5rem;
  --cc-toggle-height: 1.4rem;
  --cc-toggle-knob: 1.05rem;
  --cc-toggle-radius: 999px;

  --cc-category-bg: #ebe7df;
  --cc-category-border: #d6d0c4;
  --cc-category-border-width: 1px;
  --cc-category-padding: 0.75rem 0.85rem;
  --cc-category-radius: 0;

  --cc-badge-bg: transparent;
  --cc-badge-text: #57534e;
  --cc-badge-border: #d6d0c4;
  --cc-badge-font-size: 0.7rem;
  --cc-badge-radius: 0;
}

/* Dłuższe etykiety zostają w jednej linii, więc oba przyciski mają tę samą wysokość. */
.cc-root .cc-btn-primary,
.cc-root .cc-btn-secondary {
  white-space: nowrap;
}
