/* Cookie consent — one shared banner across all pages. Finsweet owns display. */
[data-remodal-id="cookie"] .remodal__container {
  border-radius: .75rem;
}

[data-remodal-id="cookie"] .cookie-modal__body > .dropdown.mod--cookie-form:last-child {
  border-bottom: none;
}

/* Suisse's uppercase glyphs sit above the centered line box. Keep the existing
   text-swap animation and compensate only the cookie control labels. */
[data-remodal-id="cookie"] .button .button__txt {
  top: .063rem;
}

/* Keep the modal's button reset on utility pages too. */
[data-remodal-id="cookie"] .remodal__close button.button-close {
  background-color: transparent;
  border: none;
  padding: 0;
}

[data-remodal-id="cookie"] [fs-cc="preferences"] {
  display: block !important;
}

[data-remodal-id="cookie"] [fs-cc-checkbox].hide {
  display: block !important;
  float: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

[data-remodal-id="cookie"] [fs-cc-checkbox]:focus-visible + .cookie-form__checkbox-span {
  outline: .125rem solid #02021e;
  outline-offset: .125rem;
}

.banner-cookie[fs-cc="banner"] {
  min-height: 3.5rem;
  padding: .75rem 1rem;
  background-color: #02021e;
  color: #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.banner-cookie .container.mod--banner-terms {
  gap: 1.5rem;
}

.banner-cookie .banner-terms__copy {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-width: 0;
}

.banner-cookie .banner-terms__icon {
  display: block;
  flex: 0 0 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
}

.banner-cookie .banner-terms__text {
  max-width: none;
  color: #fff;
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
}

.banner-cookie .button-wrap.mod--banner-terms {
  gap: .5rem;
  flex: none;
}

.banner-cookie .button.is-tiny-simple,
.banner-cookie .button.is-tiny-simple.is-deny {
  height: 2rem;
  padding: 0 1rem;
  border: .0625rem solid rgba(255, 255, 255, .3);
  border-radius: 6.25rem;
  background-color: transparent;
  color: #fff;
  font-size: .875rem;
  letter-spacing: .05em;
}

.banner-cookie .button.is-tiny-simple:hover,
.banner-cookie .button.is-tiny-simple:focus-visible {
  background-color: #fff;
  color: #02021e;
}

.banner-cookie .button.is-tiny-simple[fs-cc="allow"] {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--blue-dark);
}

@media screen and (min-width: 48rem) and (max-width: 61.9375rem) {
  .banner-cookie .button .button__txt {
    top: .063rem;
  }
}

@media screen and (max-width: 61.9375rem) {
  [data-remodal-id="cookie"] .remodal__container {
    border-radius: .5rem;
  }

  .banner-cookie[fs-cc="banner"] {
    min-height: 4.75rem;
    padding: 1rem 1.875rem;
  }

  .banner-cookie .container.mod--banner-terms {
    justify-content: space-between;
  }

  .banner-cookie .banner-terms__copy {
    align-items: flex-start;
    gap: .75rem;
  }

  .banner-cookie .banner-terms__text {
    max-width: 20.625rem;
    font-size: .875rem;
    text-align: left;
  }

  .banner-cookie .button.is-tiny-simple,
  .banner-cookie .button.is-tiny-simple.is-deny {
    height: 2.5rem;
    padding: 0 1.25rem;
    font-size: .75rem;
  }
}

@media screen and (max-width: 47.9375rem) {
  .banner-cookie[fs-cc="banner"] {
    min-height: 6.375rem;
    padding: .75rem 1rem;
  }

  .banner-cookie .container.mod--banner-terms {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .75rem;
    min-height: 4.5rem;
  }

  .banner-cookie .banner-terms__copy {
    display: block;
    width: 100%;
  }

  .banner-cookie .banner-terms__icon {
    display: none;
  }

  .banner-cookie .banner-terms__text {
    max-width: 100%;
    font-size: .75rem;
    line-height: 1.4;
    text-align: center;
  }

  .banner-cookie .button.is-tiny-simple,
  .banner-cookie .button.is-tiny-simple.is-deny {
    height: 2rem;
    padding: 0 1rem;
    font-size: .625rem;
  }
}

