.vanilla-cookie-consent {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 9999;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  max-width: 58rem;
  margin: 0 auto;
  padding: 1rem;
  color: #ffffff;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.5rem;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.vanilla-cookie-consent[hidden],
.vanilla-cookie-consent-toggle[hidden] {
  display: none;
}

.vanilla-cookie-consent__copy {
  min-width: 0;
}

.vanilla-cookie-consent__copy strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1rem;
  line-height: 1.35;
}

.vanilla-cookie-consent__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.45;
}

.vanilla-cookie-consent__copy a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.vanilla-cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: flex-end;
}

.vanilla-cookie-consent__button,
.vanilla-cookie-consent-toggle {
  min-height: 2.75rem;
  padding: 0.72rem 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1;
  border-radius: 0.35rem;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.vanilla-cookie-consent__button--primary {
  color: #111111;
  background: #ffffff;
  border: 1px solid #ffffff;
}

.vanilla-cookie-consent__button--secondary {
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.vanilla-cookie-consent__button--primary:hover,
.vanilla-cookie-consent__button--primary:focus-visible {
  background: rgba(255, 255, 255, 0.86);
}

.vanilla-cookie-consent__button--secondary:hover,
.vanilla-cookie-consent__button--secondary:focus-visible {
  border-color: #ffffff;
}

.vanilla-cookie-consent-toggle {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 9998;
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
}

.vanilla-cookie-consent-toggle:hover,
.vanilla-cookie-consent-toggle:focus-visible {
  background: #2a2a2a;
}

.vanilla-cookie-consent-toggle__icon {
  position: relative;
  display: inline-block;
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  background: currentColor;
  border-radius: 50%;
}

.vanilla-cookie-consent-toggle__icon::before,
.vanilla-cookie-consent-toggle__icon::after {
  content: "";
  position: absolute;
  background: #111111;
  border-radius: 50%;
}

.vanilla-cookie-consent-toggle__icon::before {
  top: 0.25rem;
  left: 0.28rem;
  width: 0.22rem;
  height: 0.22rem;
  box-shadow: 0.45rem 0.13rem 0 #111111, 0.18rem 0.58rem 0 #111111;
}

.vanilla-cookie-consent-toggle__icon::after {
  right: -0.04rem;
  top: -0.04rem;
  width: 0.42rem;
  height: 0.42rem;
}

@media (max-width: 720px) {
  .vanilla-cookie-consent {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .vanilla-cookie-consent__actions {
    justify-content: stretch;
  }

  .vanilla-cookie-consent__button {
    flex: 1 1 10rem;
  }

  .vanilla-cookie-consent-toggle {
    width: 2.75rem;
    min-height: 2.75rem;
    padding: 0;
    border-radius: 999px;
  }

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

  .vanilla-cookie-consent-toggle__icon {
    width: 1.35rem;
    height: 1.35rem;
  }
}
