.static-cookie-consent {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  left: max(1rem, env(safe-area-inset-left, 0px));
  z-index: 2200;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.static-cookie-consent__content {
  width: min(100%, 920px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
  max-height: min(82vh, 520px);
  overflow-y: auto;
  padding: 1rem;
  border: 1px solid rgba(15, 76, 92, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  color: #0f172a;
  pointer-events: auto;
}

.static-cookie-consent__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 800;
}

.static-cookie-consent__description,
.static-cookie-consent__note {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.static-cookie-consent__note {
  margin-top: 0.35rem;
  color: #475569;
  font-size: 0.82rem;
}

.static-cookie-consent__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.65rem;
}

.static-cookie-consent__links a,
.static-cookie-settings-link {
  color: #0f766e;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.static-cookie-settings-link {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.static-cookie-consent__options {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  padding-top: 0.25rem;
}

.static-cookie-consent__option {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.75rem;
  border: 1px solid #dbe7e5;
  border-radius: 8px;
  background: #f8fafc;
  cursor: pointer;
}

.static-cookie-consent__option input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.15rem;
  accent-color: #0f766e;
  flex: 0 0 auto;
}

.static-cookie-consent__option strong,
.static-cookie-consent__option small {
  display: block;
}

.static-cookie-consent__option small {
  margin-top: 0.2rem;
  color: #475569;
  font-size: 0.78rem;
  line-height: 1.45;
}

.static-cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
  min-width: 270px;
}

.static-cookie-consent__button,
.static-cookie-consent__text-button {
  min-height: 40px;
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.static-cookie-consent__button--primary {
  border: 1px solid #0f766e;
  background: #0f766e;
  color: #fff;
}

.static-cookie-consent__button--secondary {
  border: 1px solid #dbe7e5;
  background: #fff;
  color: #0f172a;
}

.static-cookie-consent__text-button {
  border: 1px solid transparent;
  background: transparent;
  color: #0f766e;
}

.static-cookie-consent__button:focus-visible,
.static-cookie-consent__text-button:focus-visible,
.static-cookie-consent__links a:focus-visible,
.static-cookie-settings-link:focus-visible,
.static-cookie-consent__option:focus-within {
  outline: 3px solid rgba(20, 184, 166, 0.34);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .static-cookie-consent__content {
    grid-template-columns: 1fr;
  }

  .static-cookie-consent__actions {
    justify-content: stretch;
    min-width: 0;
  }

  .static-cookie-consent__button,
  .static-cookie-consent__text-button {
    flex: 1 1 140px;
  }

  .static-cookie-consent__options {
    grid-template-columns: 1fr;
  }
}
