/* Yeti-Anmeldung. Gilt nur für die Karte, das Dashboard bleibt unverändert.
   Der Raster-Hintergrund der Seite bleibt sichtbar. */

.wrap:has(.yeti-shell) {
  width: 100%;
  margin: 0;
  padding: 0;
}

.yeti-shell {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: safe center;
  box-sizing: border-box;
  padding: 1.5rem 1rem 2.5rem;
}

.yeti-form {
  width: min(420px, 100%);
  margin: 0;
  padding: 1.6rem 1.7rem 1.35rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0.5em;
  box-shadow: 0 12px 32px rgba(33, 112, 147, 0.08);
  font-family: var(--font);
}

.yeti-kicker {
  margin: 0 0 0.85rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #217093;
}

.yeti-form .tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 0.35rem;
  border: 2px solid #217093;
  border-radius: 4px;
  overflow: hidden;
}

.yeti-form .tabs button {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #f3fafd;
  color: #217093;
  width: 100%;
  height: auto;
  padding: 0.7rem 0.4rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.yeti-form .tabs button + button {
  border-left: 2px solid #217093;
}

.yeti-form .tabs button.active {
  background: #217093;
  color: #fff;
}

.yeti-form .svgContainer {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0.35rem auto 0.85rem;
  border-radius: 50%;
  pointer-events: none;
}

.yeti-form .svgContainer div {
  position: relative;
  width: 100%;
  height: 0;
  overflow: hidden;
  border-radius: 50%;
  padding-bottom: 100%;
}

.yeti-form .svgContainer .mySVG {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.yeti-form .svgContainer:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: inherit;
  height: inherit;
  box-sizing: border-box;
  border: solid 2.5px #217093;
  border-radius: 50%;
}

.yeti-legend {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  color: #5a6874;
}

.yeti-form .inputGroup {
  margin: 0 0 1.15rem;
  padding: 0;
  position: relative;
}

.yeti-form .inputGroup3 {
  margin-bottom: 0.35rem;
}

.yeti-form label {
  margin: 0 0 10px;
  display: block;
  font-size: 1.15rem;
  color: #217093;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0;
}

.yeti-form .req {
  color: #b42318;
}

.yeti-form input[type="email"],
.yeti-form input[type="text"],
.yeti-form input[type="password"] {
  display: block;
  margin: 0;
  padding: 0.875em 1em 0;
  background-color: #f3fafd;
  border: solid 2px #217093;
  border-radius: 4px;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 100%;
  height: 65px;
  font-size: 1.25rem;
  color: #353538;
  font-weight: 600;
  font-family: inherit;
  transition: box-shadow 0.2s linear, border-color 0.25s ease-out;
}

.yeti-form input[type="email"]:focus,
.yeti-form input[type="text"]:focus,
.yeti-form input[type="password"]:focus {
  outline: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: solid 2px #4eb8dd;
}

.yeti-form button[type="submit"] {
  display: block;
  margin: 0;
  padding: 0.65em 1em;
  background-color: #4eb8dd;
  border: none;
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: none;
  width: 100%;
  height: 65px;
  font-size: 1.25rem;
  color: #fff;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.2s ease-out;
}

.yeti-form button[type="submit"]:hover,
.yeti-form button[type="submit"]:active {
  background-color: #217093;
}

.yeti-form button[type="submit"]:disabled {
  opacity: 0.65;
  cursor: wait;
}

.yeti-form .inputGroup1 .helper {
  position: absolute;
  z-index: 1;
  font-family: inherit;
}

.yeti-form .inputGroup1 .helper1 {
  top: 0;
  left: 0;
  transform: translate(1em, 2.55em) scale(1);
  transform-origin: 0 0;
  color: #217093;
  font-size: 1.25rem;
  font-weight: 400;
  opacity: 0.65;
  pointer-events: none;
  transition: transform 0.2s ease-out, opacity 0.2s linear;
  margin: 0;
  max-width: calc(100% - 2em);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yeti-form .inputGroup1.focusWithText .helper {
  /* Kleines Label oben im Feld, der eingegebene Text rutscht darunter. */
  transform: translate(0.85rem, 2.4rem) scale(0.55);
  opacity: 0.85;
}

.yeti-form .inputGroup1.focusWithText input[type="email"],
.yeti-form .inputGroup1.focusWithText input[type="text"] {
  padding-top: 1.7rem;
  line-height: 1.15;
}

.yeti-form .inputGroup2 input[type="password"],
.yeti-form .inputGroup2 input[type="text"] {
  padding: 0.7em 1em 0.45em;
}

.yeti-form .inputGroup2 #showPasswordToggle {
  display: block;
  padding: 0 0 0 1.45em;
  position: absolute;
  top: 0.15em;
  right: 0;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #217093;
  cursor: pointer;
}

.yeti-form .inputGroup2 #showPasswordToggle input {
  position: absolute;
  z-index: -1;
  opacity: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
}

.yeti-form .inputGroup2 #showPasswordToggle .indicator {
  position: absolute;
  top: 0.1em;
  left: 0;
  height: 0.95em;
  width: 0.95em;
  background-color: #f3fafd;
  border: solid 2px #217093;
  border-radius: 3px;
  box-sizing: border-box;
}

.yeti-form .inputGroup2 #showPasswordToggle .indicator:after {
  content: "";
  position: absolute;
  left: 0.22em;
  top: 0.02em;
  width: 0.22em;
  height: 0.5em;
  border: solid #217093;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  visibility: hidden;
}

.yeti-form .inputGroup2 #showPasswordToggle input:checked ~ .indicator:after {
  visibility: visible;
}

.yeti-form .inputGroup2 #showPasswordToggle input:focus ~ .indicator,
.yeti-form .inputGroup2 #showPasswordToggle input:hover ~ .indicator {
  border-color: #4eb8dd;
}

.yeti-hint {
  margin: 0.4rem 0 0;
  color: #5a6874;
  font-size: 0.82rem;
  line-height: 1.35;
}

.yeti-note {
  margin: 0.7rem 0 0;
  text-align: center;
  color: #5a6874;
  font-size: 0.82rem;
  line-height: 1.35;
}

.yeti-legal {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
}

.yeti-legal a {
  color: #217093;
  font-weight: 700;
  text-decoration: none;
}

.yeti-legal a:hover {
  text-decoration: underline;
}

.legal-footer a {
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
}

.legal-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .yeti-form {
    padding: 1.15rem 1rem 1.1rem;
  }

  .yeti-form .svgContainer {
    width: 160px;
    height: 160px;
  }

  .yeti-form input[type="email"],
  .yeti-form input[type="text"],
  .yeti-form input[type="password"],
  .yeti-form button[type="submit"] {
    height: 58px;
    font-size: 1.05rem;
  }
}
