/* stylelint-disable */
.sampora-cookie-banner,
.sampora-cookie-modal,
.sampora-cookie-button,
.sampora-cookie-switch {
  box-sizing: border-box;
}

.sampora-cookie-banner {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  left: max(16px, env(safe-area-inset-left));
  z-index: 430;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  width: min(1040px, calc(100vw - 32px));
  margin: 0 auto;
  border: 1px solid rgba(128, 181, 220, .22);
  border-radius: 8px;
  padding: 14px;
  background: rgba(5, 13, 26, .86);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .34);
  color: #edf6ff;
  font-family: var(--sans, "Inter", "Noto Sans SC", Arial, sans-serif);
  backdrop-filter: blur(16px) saturate(140%);
}

.sampora-cookie-banner__copy {
  min-width: 0;
}

.sampora-cookie-banner__copy strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  line-height: 1.25;
}

.sampora-cookie-banner__copy p {
  margin: 0;
  color: rgba(224, 236, 248, .78);
  font-size: 12px;
  line-height: 1.55;
}

.sampora-cookie-banner__actions,
.sampora-cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.sampora-cookie-button {
  min-height: 36px;
  border: 1px solid rgba(126, 184, 224, .22);
  border-radius: 8px;
  padding: 0 13px;
  background: rgba(255, 255, 255, .06);
  color: #eaf6ff;
  font: 700 12px/1 var(--sans, "Inter", "Noto Sans SC", Arial, sans-serif);
  letter-spacing: 0;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease;
}

.sampora-cookie-button:hover,
.sampora-cookie-button:focus-visible {
  border-color: rgba(87, 213, 255, .56);
  background: rgba(92, 203, 255, .12);
  outline: none;
}

.sampora-cookie-button:active {
  transform: translateY(1px);
}

.sampora-cookie-button--primary {
  border-color: rgba(76, 216, 169, .45);
  background: linear-gradient(135deg, rgba(55, 207, 151, .94), rgba(49, 176, 231, .92));
  color: #03131d;
}

.sampora-cookie-button--primary:hover,
.sampora-cookie-button--primary:focus-visible {
  border-color: rgba(166, 250, 220, .78);
  background: linear-gradient(135deg, rgba(89, 229, 182, .98), rgba(91, 205, 252, .98));
  color: #03131d;
}

.sampora-cookie-button--ghost {
  color: #88e7ff;
}

.sampora-cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 440;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 8, 17, .68);
  backdrop-filter: blur(12px) saturate(140%);
}

.sampora-cookie-modal-backdrop.is-open {
  display: flex;
}

.sampora-cookie-modal {
  width: min(680px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border: 1px solid rgba(126, 184, 224, .24);
  border-radius: 8px;
  padding: 20px;
  background: rgba(5, 15, 31, .94);
  box-shadow: 0 30px 78px rgba(0, 0, 0, .52);
  color: #edf6ff;
  font-family: var(--sans, "Inter", "Noto Sans SC", Arial, sans-serif);
}

.sampora-cookie-modal__header {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.sampora-cookie-modal h2 {
  margin: 0;
  color: #f4fbff;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

.sampora-cookie-icon-button {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(126, 184, 224, .22);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  color: #dff5ff;
  font: 800 13px/1 var(--sans, "Inter", Arial, sans-serif);
  cursor: pointer;
}

.sampora-cookie-icon-button:hover,
.sampora-cookie-icon-button:focus-visible {
  border-color: rgba(87, 213, 255, .56);
  background: rgba(92, 203, 255, .12);
  outline: none;
}

.sampora-cookie-modal__intro {
  margin: 10px 0 16px;
  color: rgba(224, 236, 248, .78);
  font-size: 13px;
  line-height: 1.6;
}

.sampora-cookie-category {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(126, 184, 224, .15);
  border-radius: 8px;
  padding: 15px;
  background: rgba(255, 255, 255, .045);
}

.sampora-cookie-category + .sampora-cookie-category {
  margin-top: 10px;
}

.sampora-cookie-category strong {
  display: block;
  margin-bottom: 5px;
  color: #f3fbff;
  font-size: 14px;
  line-height: 1.3;
}

.sampora-cookie-category p {
  margin: 0;
  color: rgba(224, 236, 248, .76);
  font-size: 12px;
  line-height: 1.6;
}

.sampora-cookie-switch {
  display: inline-grid;
  grid-template-columns: 46px minmax(64px, auto);
  gap: 8px;
  align-items: center;
  justify-content: start;
  justify-items: start;
  justify-self: end;
  width: 118px;
  color: #aeefff;
  font: 800 11px/1 var(--sans, "Inter", "Noto Sans SC", Arial, sans-serif);
  cursor: pointer;
  user-select: none;
}

.sampora-cookie-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.sampora-cookie-switch span {
  position: relative;
  display: block;
  width: 46px;
  height: 26px;
  border: 1px solid rgba(126, 184, 224, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  transition: background .16s ease, border-color .16s ease;
}

.sampora-cookie-switch span::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #d7e7f8;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .34);
  content: "";
  transition: transform .16s ease, background .16s ease;
}

.sampora-cookie-switch input:checked + span {
  border-color: rgba(76, 216, 169, .52);
  background: rgba(76, 216, 169, .28);
}

.sampora-cookie-switch input:checked + span::after {
  transform: translateX(20px);
  background: #8cf7c6;
}

.sampora-cookie-switch input:focus-visible + span {
  outline: 2px solid rgba(87, 213, 255, .58);
  outline-offset: 2px;
}

.sampora-cookie-switch em {
  font-style: normal;
  min-width: 64px;
  text-align: left;
  white-space: nowrap;
}

.sampora-cookie-switch.is-disabled {
  cursor: default;
  opacity: .78;
}

.sampora-cookie-modal__actions {
  margin-top: 16px;
}

@media (max-width: 760px) {
  .sampora-cookie-banner {
    grid-template-columns: 1fr;
  }

  .sampora-cookie-banner__actions,
  .sampora-cookie-modal__actions {
    justify-content: stretch;
  }

  .sampora-cookie-button {
    flex: 1 1 150px;
  }
}

@media (max-width: 520px) {
  .sampora-cookie-modal-backdrop {
    align-items: flex-end;
    padding: 12px;
  }

  .sampora-cookie-modal {
    max-height: calc(100vh - 24px);
    padding: 16px;
  }

  .sampora-cookie-category {
    grid-template-columns: 1fr;
  }

  .sampora-cookie-button {
    width: 100%;
  }
}
