/* VHB Waterkwaliteit — gate styles */

/* Verberg body-inhoud tot ontgrendeld */
html.is-locked body > *:not(#vhb-gate) {
  visibility: hidden !important;
}
html.is-locked {
  overflow: hidden;
}
html.is-locked body {
  /* voorkom flash van content */
  background: #f4f6f8;
}

#vhb-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(36, 76, 130, 0.08), transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(36, 76, 130, 0.06), transparent 55%),
    linear-gradient(180deg, #f6f8fa 0%, #eef2f6 100%);
  font-family: 'IBM Plex Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: #1b2733;
  padding: 24px;
  animation: vhb-gate-fade 240ms ease-out;
}

@keyframes vhb-gate-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.vhb-gate-inner {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border: 1px solid rgba(27, 39, 51, 0.08);
  border-radius: 12px;
  padding: 40px 36px 32px;
  box-shadow:
    0 1px 2px rgba(27, 39, 51, 0.04),
    0 12px 32px rgba(27, 39, 51, 0.10);
}

.vhb-gate-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.vhb-gate-mark {
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #244c82;
  padding: 4px 8px;
  border: 1px solid #244c82;
  border-radius: 3px;
  font-size: 12px;
}

.vhb-gate-meta {
  color: #5a6877;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.10em;
}

.vhb-gate-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 8px;
  color: #1b2733;
  letter-spacing: -0.01em;
}

.vhb-gate-sub {
  font-size: 14px;
  line-height: 1.5;
  color: #5a6877;
  margin: 0 0 28px;
}

.vhb-gate-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vhb-gate-label {
  font-size: 12px;
  font-weight: 500;
  color: #1b2733;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: -4px;
}

.vhb-gate-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: #1b2733;
  background: #f6f8fa;
  border: 1px solid #d6dde4;
  border-radius: 6px;
  transition: border-color 120ms ease, background 120ms ease, box-shadow 120ms ease;
}

.vhb-gate-input:focus {
  outline: none;
  border-color: #244c82;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(36, 76, 130, 0.12);
}

.vhb-gate-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #5a6877;
  cursor: pointer;
  user-select: none;
  margin-top: 4px;
}

.vhb-gate-remember input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: #244c82;
  cursor: pointer;
}

.vhb-gate-btn {
  margin-top: 12px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: #ffffff;
  background: #244c82;
  border: 1px solid #244c82;
  border-radius: 6px;
  cursor: pointer;
  transition: background 120ms ease, transform 80ms ease;
  letter-spacing: 0.02em;
}

.vhb-gate-btn:hover:not(:disabled) {
  background: #1d3e6b;
}

.vhb-gate-btn:active:not(:disabled) {
  transform: translateY(1px);
}

.vhb-gate-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.vhb-gate-error {
  margin: 4px 0 0;
  min-height: 18px;
  font-size: 13px;
  color: #b3261e;
  line-height: 1.4;
}

.vhb-gate-footer {
  margin: 32px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(27, 39, 51, 0.08);
  font-size: 11px;
  color: #8a96a3;
  text-align: center;
  letter-spacing: 0.04em;
}

@media (max-width: 480px) {
  .vhb-gate-inner {
    padding: 32px 24px 28px;
  }
  .vhb-gate-title {
    font-size: 20px;
  }
}
