/* Klaro consent UI overrides — match LiThoughts visual style.
 * Klaro v0.7 exposes its theming via CSS custom properties on the .klaro container.
 */

.klaro {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --green1: #0A66C2;          /* primary action / accept */
  --green2: #084d94;          /* primary action hover */
  --green3: #0A66C2;
  --blue1:  #0A66C2;
  --blue2:  #084d94;
  --blue3:  #0A66C2;
  --red1:   #b91c1c;          /* decline */
  --red2:   #991b1b;
  --red3:   #b91c1c;
  --light1: #ffffff;
  --light2: #f8fafc;
  --light3: #e2e8f0;
  --light4: #cbd5e1;
  --light5: #94a3b8;
  --dark1:  #0f172a;
  --dark2:  #1e293b;
  --dark3:  #334155;
  --dark4:  #475569;
  --button-text-color: #ffffff;
}

/* Banner positioning + sizing */
.klaro .cookie-notice:not(.cookie-modal-notice) {
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.4);
}

@media (min-width: 720px) {
  .klaro .cookie-notice:not(.cookie-modal-notice) {
    left: auto;
    right: 24px;
    bottom: 24px;
    max-width: 460px;
  }
}

.klaro .cookie-notice .cn-body {
  padding: 20px 22px 18px;
}

.klaro .cookie-notice .cn-body p,
.klaro .cookie-modal .cm-body p {
  font-size: 14px;
  line-height: 1.55;
}

.klaro .cookie-notice .cn-body p.cn-changes {
  font-size: 13px;
  opacity: 0.7;
}

.klaro .cookie-notice .cn-ok {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.klaro .cookie-notice button.cm-btn,
.klaro .cookie-modal button.cm-btn {
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  letter-spacing: 0;
  transition: background-color 150ms ease, transform 150ms ease;
}

.klaro .cookie-notice button.cm-btn:hover,
.klaro .cookie-modal button.cm-btn:hover {
  transform: translateY(-1px);
}

.klaro .cookie-notice button.cm-btn-success,
.klaro .cookie-modal button.cm-btn-success {
  background: #0A66C2;
}

.klaro .cookie-notice button.cm-btn-success:hover,
.klaro .cookie-modal button.cm-btn-success:hover {
  background: #084d94;
}

/* Modal */
.klaro .cookie-modal .cm-modal {
  border-radius: 14px;
  max-width: 640px;
}

.klaro .cookie-modal .cm-header h1 {
  font-size: 1.25rem;
  font-weight: 700;
}

.klaro .cookie-modal .cm-purpose {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.klaro .cookie-modal .cm-purpose:last-child {
  border-bottom: none;
}

/* Make the "powered by Klaro" attribution less loud */
.klaro .cookie-notice .cn-powered-by,
.klaro .cookie-modal .cm-powered-by {
  font-size: 11px;
  opacity: 0.45;
}

/* Print stylesheet — hide Klaro UI when printing (e.g., DPA print to PDF) */
@media print {
  .klaro,
  .klaro .cookie-notice,
  .klaro .cookie-modal {
    display: none !important;
  }
}
