/* ForHost cookie / privacy banner (CMP) */
#forhost-cmp-root {
  --cmp-navy: #001839;
  --cmp-magenta: #ff077f;
  --cmp-radius: 12px;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  color: #0f172a;
}

#forhost-cmp-root *,
#forhost-cmp-root *::before {
  box-sizing: border-box;
}

.forhost-cmp-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.forhost-cmp-overlay.forhost-cmp--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (min-width: 640px) {
  .forhost-cmp-overlay {
    align-items: center;
    padding: 24px;
  }
}

.forhost-cmp-dialog {
  width: 100%;
  max-width: 520px;
  max-height: min(88vh, 640px);
  overflow: auto;
  background: #fff;
  border-radius: var(--cmp-radius);
  box-shadow: 0 25px 50px -12px rgba(0, 24, 57, 0.35);
  border: 1px solid rgba(0, 24, 57, 0.08);
  transform: translateY(12px);
  transition: transform 0.25s ease;
}

.forhost-cmp-overlay.forhost-cmp--open .forhost-cmp-dialog {
  transform: translateY(0);
}

.forhost-cmp-dialog__inner {
  padding: 22px 22px 18px;
}

.forhost-cmp-title {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--cmp-navy);
  letter-spacing: -0.02em;
}

.forhost-cmp-text {
  margin: 0 0 14px;
  color: #475569;
  font-size: 0.9375rem;
}

.forhost-cmp-text a {
  color: var(--cmp-magenta);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.forhost-cmp-text a:hover {
  color: #cc0066;
}

.forhost-cmp-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

@media (min-width: 480px) {
  .forhost-cmp-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .forhost-cmp-actions .forhost-cmp-btn--primary {
    flex: 1 1 auto;
    min-width: 140px;
  }
}

.forhost-cmp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.forhost-cmp-btn:focus-visible {
  outline: 3px solid rgba(255, 7, 127, 0.45);
  outline-offset: 2px;
}

.forhost-cmp-btn--primary {
  background: var(--cmp-magenta);
  color: #fff;
  border-color: var(--cmp-magenta);
}

.forhost-cmp-btn--primary:hover {
  filter: brightness(1.05);
}

.forhost-cmp-btn--secondary {
  background: #fff;
  color: var(--cmp-navy);
  border-color: rgba(0, 24, 57, 0.2);
}

.forhost-cmp-btn--secondary:hover {
  background: #f8fafc;
}

.forhost-cmp-btn--ghost {
  background: transparent;
  color: var(--cmp-navy);
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  padding-left: 8px;
  padding-right: 8px;
}

.forhost-cmp-btn--ghost:hover {
  color: var(--cmp-magenta);
}

.forhost-cmp-details {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.forhost-cmp-details[hidden] {
  display: none !important;
}

.forhost-cmp-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.forhost-cmp-row:last-child {
  border-bottom: 0;
}

.forhost-cmp-row__label {
  flex: 1;
}

.forhost-cmp-row__label strong {
  display: block;
  color: var(--cmp-navy);
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.forhost-cmp-row__label span {
  font-size: 0.8125rem;
  color: #64748b;
}

.forhost-cmp-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 28px;
  flex-shrink: 0;
  cursor: pointer;
}

.forhost-cmp-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.forhost-cmp-switch__ui {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background 0.2s ease;
}

.forhost-cmp-switch__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.forhost-cmp-switch input:checked ~ .forhost-cmp-switch__ui {
  background: var(--cmp-magenta);
}

.forhost-cmp-switch input:checked ~ .forhost-cmp-switch__ui .forhost-cmp-switch__thumb {
  transform: translateX(20px);
}

.forhost-cmp-switch input:disabled ~ .forhost-cmp-switch__ui {
  opacity: 0.55;
  cursor: not-allowed;
}

.forhost-cmp-reopen {
  position: fixed;
  z-index: 2147482000;
  left: 16px;
  bottom: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 24, 57, 0.12);
  background: #fff;
  color: var(--cmp-navy);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 24, 57, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.forhost-cmp-reopen.forhost-cmp--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.forhost-cmp-reopen:hover {
  border-color: var(--cmp-magenta);
  color: var(--cmp-magenta);
}

.forhost-cmp-reopen:focus-visible {
  outline: 3px solid rgba(255, 7, 127, 0.45);
  outline-offset: 2px;
}
