/* Card styling adapted from Uiverse.io by vinodjangid07. */
.cookies-card {
  position: fixed; inset: auto auto 48px 16px; z-index: 10000;
  display: flex; flex-direction: column; align-items: flex-start; gap: 15px;
  box-sizing: border-box; width: min(280px, calc(100vw - 32px)); padding: 20px;
  background: rgba(25, 25, 25, .48); border: 1px solid rgba(255, 255, 255, .45); border-radius: 18px;
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  font-family: Arial, Helvetica, sans-serif; box-shadow: inset 0 1px 0 #ffffff66, 0 8px 24px #00000024;
}
.cookies-card[hidden] { display: none; }
.cookie-heading { margin: 0; color: #fff; font-size: 16px; font-weight: 800; }
.cookie-para { margin: 0; color: #fff; font-size: 11px; line-height: 1.5; }
.cookies-card .button-wrapper { display: flex; gap: 20px; width: 100%; }
.cookie-button { width: 50%; padding: 8px 0; border: 0; border-radius: 999px; cursor: pointer; }
.cookie-button.accept { background: #ffffff38; color: #fff; }
.cookie-button.reject { background: #ffffff1a; color: #fff; }
.cookie-button.accept:hover { background: #ffffff52; }
.cookie-button.reject:hover, .cookie-exit:hover { background: #ffffff38; }
.cookie-exit { position: absolute; top: 14px; right: 14px; width: 24px; height: 24px; border: 0; border-radius: 999px; background: transparent; color: #fff; cursor: pointer; }
.policy-download { position: fixed; bottom: 12px; left: 16px; z-index: 9999; padding: 5px 8px; border-radius: 999px; background: rgba(25, 25, 25, .48); border: 1px solid #ffffff73; -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); color: #fff; font: 11px Arial, sans-serif; text-decoration: underline; }
.cookies-card a { color: #fff; text-decoration: underline; }

.cookies-card {
  inset-inline: clamp(12px, 3vw, 48px);
  width: auto;
  padding-block: 32px;
  border-radius: 18px;
  padding-inline: clamp(20px, 4vw, 64px);
}
.cookies-card .button-wrapper { max-width: 240px; }
@media (min-width: 700px) {
  .cookies-card {
    flex-direction: row;
    align-items: center;
    gap: 24px;
    padding-inline-end: 60px;
  }
  .cookies-card .button-wrapper { margin-inline-start: auto; }
}

.cookie-settings {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
