:root {
  --fx-red: #c80000;
  --fx-charcoal: #252a2d;
  --fx-card-gray: #e7e4f1;
  --fx-mid-gray: #969b95;
  --fx-white: #ffffff;
}

.fluidx-consent-banner {
  position: fixed;
  right: 16px;
  left: 16px;
  bottom: 16px;
  z-index: 1200;
  display: none;
  max-width: 960px;
  margin: 0 auto;
  background:
    radial-gradient(circle at top right, rgba(200, 0, 0, 0.15), transparent 38%),
    linear-gradient(145deg, #1f242d 0%, var(--fx-charcoal) 60%, #20252c 100%);
  border: 1px solid rgba(231, 228, 241, 0.22);
  border-radius: 14px;
  color: var(--fx-white);
  box-shadow: 0 18px 44px rgba(10, 12, 16, 0.48);
}
.fluidx-consent-banner.is-visible { display: block; }
.fluidx-consent-banner__content { padding: 18px; }
.fluidx-consent-banner__title {
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--fx-white);
}
.fluidx-consent-banner__text {
  margin: 0;
  color: rgba(231, 228, 241, 0.92);
}

.fluidx-consent-banner__legal,
.fluidx-consent-modal__legal {
  margin: 14px 0 0;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: rgba(231, 228, 241, 0.9);
}

.fluidx-consent-banner__legal a,
.fluidx-consent-modal__legal a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fluidx-consent-banner__legal a:hover,
.fluidx-consent-modal__legal a:hover {
  color: #ffffff;
}

.fluidx-consent-modal__legal {
  margin-top: 20px;
  margin-bottom: 10px;
}

.fluidx-consent-modal__legal--top {
  margin: 0;
  justify-content: flex-end;
}
.fluidx-consent-banner__actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fluidx-consent-banner__actions button,
.fluidx-consent-modal__actions button {
  border: 1px solid rgba(231, 228, 241, 0.24);
  background: #313846;
  color: var(--fx-white);
  border-radius: 9px;
  padding: 9px 13px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
  white-space: nowrap;
}

.fluidx-consent-banner__actions button[data-action='accept'],
.fluidx-consent-modal__actions button[data-action='save'],
.fluidx-consent-modal__actions button[data-action='accept-all'],
.fluidx-consent-modal__actions button[data-action='essential-only'] {
  background: linear-gradient(180deg, #dd1010 0%, var(--fx-red) 100%);
  border-color: rgba(255, 255, 255, 0.2);
}

.fluidx-consent-banner__actions button[data-action='reject'] {
  background: rgba(37, 42, 45, 0.95);
  border-color: rgba(231, 228, 241, 0.35);
}

.fluidx-consent-banner__actions button[data-action='customize'],
.fluidx-consent-modal__actions button[data-action='cancel'],
.fluidx-consent-modal__actions button[data-action='reset'] {
  background: #3b4251;
}

.fluidx-consent-banner__actions button:hover,
.fluidx-consent-modal__actions button:hover {
  background: #465066;
  border-color: rgba(231, 228, 241, 0.44);
}

.fluidx-consent-banner__actions button[data-action='accept']:hover,
.fluidx-consent-modal__actions button[data-action='save']:hover,
.fluidx-consent-modal__actions button[data-action='accept-all']:hover,
.fluidx-consent-modal__actions button[data-action='essential-only']:hover {
  background: linear-gradient(180deg, #e41818 0%, #b10000 100%);
}

.fluidx-consent-banner__actions button:active,
.fluidx-consent-modal__actions button:active {
  transform: translateY(1px);
}

.fluidx-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
}
.fluidx-consent-modal.is-visible { display: block; }
.fluidx-consent-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(21, 25, 33, 0.78);
}
.fluidx-consent-modal__dialog {
  position: relative;
  max-width: 860px;
  width: min(100%, 860px);
  margin: 0 auto;
  background:
    radial-gradient(circle at top right, rgba(200, 0, 0, 0.14), transparent 42%),
    linear-gradient(158deg, #202530 0%, var(--fx-charcoal) 62%, #21262f 100%);
  border: 1px solid rgba(231, 228, 241, 0.22);
  border-radius: 14px;
  padding: 22px;
  color: var(--fx-white);
  box-shadow: 0 24px 56px rgba(10, 12, 16, 0.5);
}

.fluidx-consent-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 8px;
}

.fluidx-consent-modal__header-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.fluidx-consent-modal__brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 242, 246, 0.92) 100%);
  box-shadow: 0 10px 24px rgba(8, 11, 15, 0.22);
}

.fluidx-consent-modal__logo {
  width: clamp(120px, 18vw, 170px);
  height: auto;
  object-fit: contain;
}

.fluidx-consent-modal__tagline {
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2b3037;
}

.fluidx-consent-modal__dialog h2 {
  margin: 0 0 10px;
  color: var(--fx-white);
}

.fluidx-consent-modal__dialog p {
  margin-top: 0;
  color: rgba(231, 228, 241, 0.9);
}

.fluidx-consent-modal__dialog label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
  color: rgba(255, 255, 255, 0.95);
}

.fluidx-consent-modal__dialog input[type='checkbox'] {
  accent-color: var(--fx-red);
}

.fluidx-consent-modal__actions { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }

.fluidx-consent-modal__actions button {
  width: 100%;
}


.fluidx-consent-modal__inventory {
  margin-top: 14px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(231, 228, 241, 0.2);
}

.fluidx-consent-modal__inventory-head {
  margin-bottom: 10px;
}

.fluidx-consent-modal__inventory-title {
  margin: 0;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.97);
}

.fluidx-consent-modal__inventory-subtitle {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: rgba(231, 228, 241, 0.84);
}

.fluidx-consent-modal__tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.fluidx-consent-modal__tabs button {
  border: 1px solid rgba(231, 228, 241, 0.24);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(231, 228, 241, 0.96);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 600;
}

.fluidx-consent-modal__tabs button.is-active {
  background: linear-gradient(180deg, #dd1010 0%, var(--fx-red) 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.fluidx-consent-modal__toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.fluidx-consent-modal__toolbar input[type='search'] {
  border: 1px solid rgba(231, 228, 241, 0.35);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.fluidx-consent-modal__toolbar input[type='search']::placeholder {
  color: rgba(231, 228, 241, 0.64);
}

.fluidx-consent-modal__count {
  font-size: 0.86rem;
  color: rgba(231, 228, 241, 0.76);
  text-align: right;
}

.fluidx-consent-modal__bulk-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
}

.fluidx-consent-modal__bulk-actions button {
  border: 1px solid rgba(231, 228, 241, 0.24);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(231, 228, 241, 0.96);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
}

.fluidx-consent-modal__history {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.82rem;
  color: rgba(231, 228, 241, 0.74);
}

.fluidx-consent-modal__empty {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px dashed rgba(231, 228, 241, 0.28);
  color: rgba(231, 228, 241, 0.82);
  font-size: 0.9rem;
}
.fluidx-consent-modal__inventory-list {
  display: grid;
  gap: 8px;
}

.fluidx-consent-service {
  border: 1px solid rgba(231, 228, 241, 0.2);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(19, 24, 31, 0.45);
}

.fluidx-consent-service__summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
}

.fluidx-consent-service__name {
  margin: 0;
  font-weight: 600;
  color: #ffffff;
}

.fluidx-consent-service__meta {
  margin: 4px 0 0;
  font-size: 0.86rem;
  color: rgba(231, 228, 241, 0.78);
}

.fluidx-consent-service__toggle {
  border: 1px solid rgba(231, 228, 241, 0.26);
  background: #3b4251;
  color: #fff;
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
  white-space: nowrap;
  font-size: 0.86rem;
}

.fluidx-consent-service__toggle:hover {
  background: #465066;
}

.fluidx-consent-service__actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.fluidx-consent-service__switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(231, 228, 241, 0.26);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(231, 228, 241, 0.96);
  font-size: 0.84rem;
  white-space: nowrap;
}

.fluidx-consent-service__switch input[type='checkbox'] {
  width: 18px;
  height: 18px;
  accent-color: var(--fx-red);
}

.fluidx-consent-service__switch input[type='checkbox']:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.fluidx-consent-service__details {
  border-top: 1px solid rgba(231, 228, 241, 0.18);
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
}

.fluidx-consent-service__details p {
  margin: 0 0 6px;
  color: rgba(231, 228, 241, 0.92);
  font-size: 0.9rem;
}

.fluidx-consent-service__details p:last-child {
  margin-bottom: 0;
}

.fluidx-consent-service__details code {
  font-size: 0.9em;
  color: #ffffff;
}

.fluidx-cookie-fab {
  position: fixed;
  left: 16px;
  bottom: 16px;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(231, 228, 241, 0.35);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent 45%),
    linear-gradient(155deg, #313846 0%, var(--fx-charcoal) 100%);
  color: var(--fx-white);
  box-shadow: 0 10px 28px rgba(7, 10, 14, 0.42);
  z-index: 1190;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.fluidx-cookie-fab:hover {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.28), transparent 45%),
    linear-gradient(155deg, #3a4354 0%, #2b3039 100%);
}

.fluidx-cookie-fab:focus-visible {
  outline: 2px solid var(--fx-red);
  outline-offset: 3px;
}

.fluidx-cookie-fab svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.consent-embed {
  position: relative;
  min-height: 220px;
  border-radius: inherit;
  border: 1px dashed rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.04);
  color: #334155;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
}
.consent-embed::before {
  content: 'External media is blocked until you accept external media cookies in Cookie Settings.';
  max-width: 36ch;
}
.consent-embed[data-activated='1']::before { content: ''; }
.consent-embed iframe {
  width: 100%;
  min-height: 280px;
  border: 0;
  border-radius: inherit;
}

.contact-location__map .consent-embed {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  min-height: 280px;
  padding: 0;
}

.contact-location__map .consent-embed::before {
  content: 'Map is blocked until you accept external media cookies in Cookie Settings.';
  max-width: 34ch;
  padding: 0 24px;
  color: #4e545c;
}

.contact-location__map .consent-embed[data-activated='1']::before {
  content: '';
}

.contact-location__map .consent-embed iframe {
  height: 280px;
}

@media (max-width: 760px) {
  .contact-location__map .consent-embed,
  .contact-location__map .consent-embed iframe {
    min-height: 240px;
    height: 240px;
  }
}


@media (max-width: 760px) {
  .fluidx-consent-modal {
    padding: max(8px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom));
  }

  .fluidx-consent-modal__dialog {
    width: 100%;
    padding: 16px;
  }

  .fluidx-consent-modal__actions {
    grid-template-columns: 1fr;
  }

  .fluidx-consent-modal__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .fluidx-consent-modal__header-side {
    align-items: flex-start;
  }

  .fluidx-consent-modal__legal--top {
    justify-content: flex-start;
  }

  .fluidx-consent-modal__brand {
    align-items: flex-start;
    gap: 5px;
    padding: 8px 10px;
  }

  .fluidx-consent-modal__logo {
    width: min(52vw, 170px);
  }
  .fluidx-consent-modal__tabs {
    grid-template-columns: 1fr;
  }

  .fluidx-consent-modal__toolbar {
    grid-template-columns: 1fr;
  }

  .fluidx-consent-modal__count {
    text-align: left;
  }

  .fluidx-consent-modal__bulk-actions {
    flex-wrap: wrap;
  }

  .fluidx-consent-modal__bulk-actions button {
    flex: 1 1 100%;
  }


  .fluidx-consent-service__summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .fluidx-consent-service__actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .fluidx-consent-service__toggle {
    width: 100%;
    text-align: center;
  }

  .fluidx-consent-service__switch {
    width: 100%;
    justify-content: center;
  }

  .fluidx-provider-row__head {
    flex-direction: column;
  }

  .fluidx-provider-row__toggle {
    width: 100%;
  }

  .fluidx-cookie-fab {
    width: 56px;
    height: 56px;
    left: max(12px, env(safe-area-inset-left));
    bottom: max(12px, env(safe-area-inset-bottom));
  }
}


.fluidx-provider-row {
  border: 1px solid rgba(231, 228, 241, 0.2);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(19, 24, 31, 0.45);
}

.fluidx-consent-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.fluidx-consent-history-table th,
.fluidx-consent-history-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(231, 228, 241, 0.16);
  color: rgba(231, 228, 241, 0.92);
  vertical-align: top;
}

.fluidx-consent-history-table th {
  font-weight: 600;
  color: #fff;
}


.fluidx-provider-row__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.fluidx-provider-row__toggle {
  border: 1px solid rgba(231, 228, 241, 0.26);
  background: #3b4251;
  color: #fff;
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
  white-space: nowrap;
  font-size: 0.86rem;
}

.fluidx-provider-row__details {
  margin-top: 10px;
  border-top: 1px solid rgba(231, 228, 241, 0.18);
  padding-top: 10px;
}

.fluidx-provider-row__label {
  margin: 0 0 8px;
  font-weight: 600;
  color: #fff;
}

.fluidx-provider-info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.fluidx-provider-info-table th,
.fluidx-provider-info-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(231, 228, 241, 0.14);
  color: rgba(231, 228, 241, 0.92);
  vertical-align: top;
}

.fluidx-provider-info-table th {
  width: 220px;
  color: #fff;
}

.fluidx-provider-info-table a {
  color: #ffd8d8;
}
