/* Passwortsperre — Vorschau-Overlay.
   Farben aus tailwind.config.js: brand #a0ba79, brand.dark #577810, Text #747474. */
html.sps-locked body { overflow: hidden; }

#sps-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: #f9f9f9;
  font-family: "Roboto Condensed", "MS Sans Serif", Geneva, sans-serif;
  /* html steht waehrend der Sperre auf visibility:hidden (gegen das Aufblitzen);
     visibility vererbt sich, das Overlay muss sich ausdruecklich zurueckholen. */
  visibility: visible;
}

.sps-gate-card {
  width: 100%;
  max-width: 420px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e4e4e4;
  border-radius: 4px;
  box-shadow: 0 18px 50px -20px rgba(87, 120, 16, 0.22);
  padding: 2.6rem 2.2rem;
}

.sps-gate-eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #a0ba79;
  margin-bottom: .9rem;
}

#sps-gate h1 {
  font-size: 21px;
  line-height: 1.35;
  color: #6f727b;
  margin: 0 0 .8rem;
  font-weight: 400;
}

#sps-gate p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #747474;
  margin: 0 0 1.6rem;
}

#sps-gate-form {
  display: flex;
  gap: .5rem;
  justify-content: center;
  flex-wrap: wrap;
}

#sps-gate-input {
  flex: 1 1 180px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #d8d8d8;
  border-radius: 3px;
  font-size: 15px;
  color: #747474;
  background: #fff;
}

#sps-gate-input:focus {
  outline: none;
  border-color: #a0ba79;
  box-shadow: 0 0 0 3px rgba(160, 186, 121, .18);
}

#sps-gate-form button {
  padding: 10px 22px;
  border: 1px solid #a0ba79;
  border-radius: 3px;
  background: #a0ba79;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

#sps-gate-form button:hover { background: #577810; border-color: #577810; }

.sps-gate-error {
  margin: 1rem 0 0 !important;
  color: #b3261e;
  font-size: 13.5px;
}
