.notis-consent[hidden],
.notis-consent-manage[hidden],
[data-cookie-settings][hidden] {
  display: none !important;
}

.notis-consent {
  position: fixed;
  inset: auto 0 0;
  z-index: 2200;
  padding: 0.75rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
  font-family: "Onest", system-ui, sans-serif;
  color: #0a2540;
  background: linear-gradient(180deg, transparent, rgba(10, 37, 64, 0.18));
}

.notis-consent__panel {
  width: min(72rem, 100%);
  margin: 0 auto;
  padding: 1rem;
  display: grid;
  gap: 1rem;
  border: 1px solid rgba(99, 91, 255, 0.2);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 60px rgba(10, 37, 64, 0.24);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.notis-consent__title {
  margin: 0 0 0.35rem;
  color: #0a2540;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.35;
}

.notis-consent__text {
  margin: 0;
  color: #425466;
  font-size: 0.875rem;
  line-height: 1.6;
}

.notis-consent__policy {
  color: #5b53e8;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.notis-consent__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.notis-consent__choice {
  min-height: 2.9rem;
  padding: 0.7rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  color: #fff;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease;
}

.notis-consent__choice:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.notis-consent__choice:focus-visible,
.notis-consent-manage:focus-visible,
[data-cookie-settings]:focus-visible {
  outline: 3px solid rgba(99, 91, 255, 0.5);
  outline-offset: 3px;
}

.notis-consent__choice--reject {
  background: #334e68;
  box-shadow: 0 5px 16px rgba(51, 78, 104, 0.2);
}

.notis-consent__choice--accept {
  background: linear-gradient(135deg, #635bff, #7c3aed);
  box-shadow: 0 5px 18px rgba(99, 91, 255, 0.3);
}

.notis-consent__check {
  font-size: 1rem;
  line-height: 1;
}

.notis-consent-manage {
  position: fixed;
  left: 0.75rem;
  bottom: calc(0.75rem + env(safe-area-inset-bottom));
  z-index: 1100;
  padding: 0.55rem 0.75rem;
  border: 1px solid #d7dce5;
  border-radius: 999px;
  color: #334e68;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 5px 18px rgba(10, 37, 64, 0.14);
  font: 650 0.75rem/1.2 "Onest", system-ui, sans-serif;
  cursor: pointer;
}

@media (min-width: 768px) {
  .notis-consent {
    padding: 1rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  }

  .notis-consent__panel {
    grid-template-columns: minmax(0, 1fr) minmax(21rem, 0.42fr);
    align-items: center;
    padding: 1.15rem 1.25rem;
  }
}

@media (max-width: 420px) {
  .notis-consent__actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .notis-consent__choice {
    transition: none;
  }
}
