/* Cookie consent chrome — self-contained button styles (ignore page .btn / .btn-primary) */

.sv-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  padding: 16px;
  pointer-events: none;
}

.sv-consent-banner__inner {
  pointer-events: auto;
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(18, 18, 22, 0.96);
  color: #f2f2f4;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.sv-consent-banner__text {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.45;
}

.sv-consent-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sv-consent-panel {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.55);
}

.sv-consent-panel[hidden] {
  display: none !important;
}

.sv-consent-panel__dialog {
  width: min(100%, 480px);
  max-height: min(90vh, 640px);
  overflow: auto;
  padding: 20px 22px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #141418;
  color: #f2f2f4;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.sv-consent-panel__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.sv-consent-panel__intro {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(242, 242, 244, 0.82);
}

.sv-consent-category {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sv-consent-category:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.sv-consent-category__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.sv-consent-category__hint {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(242, 242, 244, 0.72);
}

.sv-consent-category__toggle {
  flex: 0 0 auto;
  margin-top: 2px;
}

.sv-consent-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

/* Shared action button chrome — same shape/size for all consent actions */
.sv-consent-banner__actions .btn,
.sv-consent-panel__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  background: #ffffff;
  color: #0a0a0c;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transform: none;
  opacity: 1;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sv-consent-banner__actions .btn:hover:not(:disabled),
.sv-consent-panel__actions .btn:hover:not(:disabled) {
  background: #f0f0f2;
  border-color: #ffffff;
  color: #0a0a0c;
  box-shadow: none;
  transform: none;
  opacity: 1;
}

.sv-consent-banner__actions .btn:focus-visible,
.sv-consent-panel__actions .btn:focus-visible {
  outline: 2px solid rgba(87, 227, 255, 0.85);
  outline-offset: 2px;
}

/* Primary CTA — cyan accent */
.sv-consent-banner__actions .btn-primary,
.sv-consent-panel__actions .btn-primary {
  background: #57e3ff;
  border-color: #57e3ff;
  color: #0a0a0c;
  font-weight: 600;
}

.sv-consent-banner__actions .btn-primary:hover:not(:disabled),
.sv-consent-panel__actions .btn-primary:hover:not(:disabled) {
  background: #7aebff;
  border-color: #7aebff;
  color: #0a0a0c;
  box-shadow: none;
  transform: none;
  opacity: 1;
}

.sv-consent-banner__actions .btn-primary:active:not(:disabled),
.sv-consent-panel__actions .btn-primary:active:not(:disabled) {
  background: #3ad6f5;
  border-color: #3ad6f5;
  transform: none;
  box-shadow: none;
}

@media (max-width: 560px) {
  .sv-consent-banner__actions,
  .sv-consent-panel__actions {
    flex-direction: column;
  }

  .sv-consent-banner__actions .btn,
  .sv-consent-panel__actions .btn {
    width: 100%;
  }
}
