@charset "UTF-8";
/* Consent layer (consent/consent.js) — the CMP's own box is suppressed, so this
   is the only surface the visitor sees. Same layer as smart-gyms.com, in the
   MY FITNESSBOX colours (black, orange #ee8d36; Poppins). */
.consent-root {
  --loc-soft: #141414;
  --loc-card: #1e1e1e;
  --loc-mint: #ee8d36;
  --loc-mint-action: #f5a25a;
  --loc-text: #ffffff;
  --loc-muted: rgba(255, 255, 255, 0.62);
  --loc-line: rgba(255, 255, 255, 0.12);
  --loc-shadow: 0 36px 90px rgba(0, 0, 0, 0.42);
  --primary-font: "Poppins", system-ui, sans-serif;
}

.consent-root[hidden] {
  display: none;
}

.consent-backdrop {
  position: fixed;
  inset: 0;
  /* Above everything the page brings along, the chat button included. */
  z-index: 2147483000;
  background: rgba(3, 9, 11, 0.72);
  backdrop-filter: blur(6px);
}

.consent-layer {
  position: fixed;
  z-index: 2147483001;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(560px, 100vw - 40px);
  max-height: min(84vh, 720px);
  padding: 30px;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: var(--loc-soft);
  box-shadow: var(--loc-shadow);
  color: var(--loc-text);
  font-family: var(--primary-font);
  text-align: start;
}

.consent-layer:focus {
  outline: none;
}

.consent-layer *,
.consent-layer *::before,
.consent-layer *::after {
  box-sizing: border-box;
}

/* In the settings view only the list of purposes scrolls, so the buttons stay
   where the visitor can reach them without scrolling to the end. */
.consent-layer.is-settings {
  width: min(680px, 100vw - 40px);
  overflow: hidden;
}

.is-settings .consent-purposes {
  flex: 1 1 auto;
  min-height: 0;
  padding-inline-end: 4px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.consent-layer h2 {
  margin: 0;
  color: var(--loc-text);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.consent-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.55;
}

.consent-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.consent-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid var(--loc-line);
  border-radius: 10px;
  background: transparent;
  color: var(--loc-muted);
  cursor: pointer;
}

.consent-close:hover {
  border-color: var(--loc-mint);
  color: var(--loc-mint);
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.consent-btn {
  flex: 1 1 160px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

/* Reject and accept carry the same weight, as the law asks for. */
.consent-btn.primary {
  border: 0;
  background: var(--loc-mint);
  color: #000000;
}

.consent-btn.primary:hover {
  background: var(--loc-mint-action);
}

.consent-btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: var(--loc-text);
}

.consent-btn.ghost:hover {
  border-color: var(--loc-mint);
  color: var(--loc-mint);
}

.consent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
}

.consent-links a,
.consent-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--loc-muted);
  font-family: inherit;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.consent-links a:hover,
.consent-link:hover {
  color: var(--loc-mint);
}

.consent-purposes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.consent-purpose {
  padding: 16px;
  border: 1px solid var(--loc-line);
  border-radius: 16px;
  background: var(--loc-card);
}

.consent-purpose__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.consent-purpose__copy h3 {
  margin: 0 0 4px;
  color: var(--loc-text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.3;
  text-transform: none;
}

.consent-purpose__copy p {
  margin: 0;
  color: var(--loc-muted);
  font-size: 13px;
  line-height: 1.5;
}

.consent-purpose__toggle {
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--loc-mint);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.consent-vendors {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--loc-line);
  list-style: none;
}

.consent-vendors li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.consent-switch {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--loc-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.consent-switch.small {
  width: 40px;
  height: 24px;
}

.consent-switch.on {
  border-color: transparent;
  background: var(--loc-mint);
}

.consent-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.2s;
}

.consent-switch.small .consent-knob {
  width: 16px;
  height: 16px;
}

.consent-switch.on .consent-knob {
  transform: translateX(20px);
}

.consent-switch.small.on .consent-knob {
  transform: translateX(16px);
}

/* Arabic: the switch runs right to left like the rest of the page. */
[dir=rtl] .consent-knob {
  right: 3px;
  left: auto;
}

[dir=rtl] .consent-switch.on .consent-knob {
  transform: translateX(-20px);
}

[dir=rtl] .consent-switch.small.on .consent-knob {
  transform: translateX(-16px);
}

.consent-always-on {
  flex-shrink: 0;
  color: var(--loc-mint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

/* Phones: a bottom sheet instead of a centred card. */
@media (max-width: 767px) {
  .consent-layer,
  .consent-layer.is-settings {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 88vh;
    padding: 22px 18px calc(22px + env(safe-area-inset-bottom));
    transform: none;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 16px 16px 0 0;
  }
  .consent-btn {
    flex: 1 1 100%;
  }
  /* Reject and accept share a row so the purposes keep the height they need. */
  .is-settings .consent-actions .consent-btn {
    flex: 1 1 calc(50% - 5px);
  }
  .is-settings .consent-actions .consent-btn.save {
    order: 1;
    flex: 1 1 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .consent-knob,
  .consent-btn {
    transition: none;
  }
}
.consent-switch.on .consent-knob {
  background: #000000;
}

/* The site styles headings globally; keep the layer's own sizes. */
.consent-root .consent-layer h2 {
  margin: 0;
  font-family: var(--primary-font);
  font-size: 22px;
  line-height: 1.25;
  text-transform: none;
}

.consent-root .consent-layer h3 {
  margin: 0 0 4px;
  font-family: var(--primary-font);
  font-size: 16px;
  line-height: 1.3;
  text-transform: none;
}

/* Close button over the CMP's cookie table. */
.consent-details-close {
  position: fixed;
  z-index: 2147483647;
  top: 14px;
  right: 14px;
  padding: 10px 16px;
  border: 0;
  border-radius: 6px;
  background: #ee8d36;
  color: #000000;
  font: 700 14px/1 "Poppins", system-ui, sans-serif;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.consent-details-close[hidden] {
  display: none;
}
