/* Scoped styles shared by the website's consent controls. */
.nz-cookie-panel,
.nz-cookie-settings {
  box-sizing: border-box;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  color: #1c2434;
  background: #fff;
  border: 1px solid #8793a8;
  box-shadow: 0 6px 24px rgb(9 13 24 / 20%);
  z-index: 10000;
}

.nz-cookie-panel[hidden],
.nz-cookie-settings[hidden] {
  display: none !important;
}

.nz-cookie-settings {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  min-height: 44px;
  padding: 9px 16px;
  border-radius: 8px;
  cursor: pointer;
}

.nz-cookie-panel {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  width: min(620px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100svh - 32px);
  overflow: auto;
  padding: 24px;
  border-radius: 12px;
}

.nz-cookie-panel h2 {
  margin: 0 0 12px;
  font: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: #1c2434;
  letter-spacing: normal;
  text-transform: none;
}

.nz-cookie-panel p {
  margin: 0 0 12px;
  font: inherit;
  color: #1c2434;
}

.nz-cookie-panel .nz-cookie-status {
  font-weight: 600;
}

.nz-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
}

.nz-cookie-actions button {
  flex: 1 1 180px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #647086;
  border-radius: 8px;
  background: #f3f5f8;
  color: #1c2434;
  font: inherit;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}

.nz-cookie-panel a,
.nz-cookie-inline {
  color: #174b8c;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.nz-cookie-inline {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
}

.nz-cookie-panel .nz-cookie-details {
  margin-bottom: 0;
}

.nz-cookie-settings:hover,
.nz-cookie-actions button:hover {
  background: #e8ecf2;
}

.nz-cookie-settings:focus-visible,
.nz-cookie-panel button:focus-visible,
.nz-cookie-panel a:focus-visible,
.nz-cookie-inline:focus-visible {
  outline: 3px solid #174b8c;
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .nz-cookie-panel { padding: 18px; }
  .nz-cookie-actions { gap: 10px; }
  .nz-cookie-actions button { flex-basis: 100%; }
}
