/* Login vesta CRM: 1:1 die Login-Seite von agents.vesta-consult.de (Waldgrün/Mint, Lato,
   Video-Hintergrund). Lato und Video werden selbst ausgeliefert, keine externen Quellen. */

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/lato-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/lato-700.woff2') format('woff2');
}

:root {
  --green-deep: #001b19;
  --green-dark: #052e2c;
  --green-mid:  #456457;
  --mint:       #01faae;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

.login-body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  background: radial-gradient(ellipse at 20% -10%, #0a3a35 0%, var(--green-deep) 60%);
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
}

.login-body a { color: var(--mint); text-decoration: none; }
.login-body a:hover { text-decoration: underline; }

.arrow { font-size: 0.9em; margin-left: 0.35em; }

/* Video-Hintergrund wie auf den vesta-consult.de-Unterseiten.
   Gradient bleibt Fallback, solange das Video lädt oder blockiert ist. */
.login-video {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.login-veil {
  position: fixed; inset: 0;
  background: linear-gradient(#001b19, rgba(0, 27, 25, 0.62), #001b19);
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .login-video { display: none; }
}

.login-wrap {
  position: relative;
  z-index: 2;
  width: min(420px, 92vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 48px 0;
}

/* vesta-Wortmarke ist schwarz → auf Dunkelgrün weiß invertieren */
.logo-vesta { filter: invert(1); height: 34px; width: auto; }

.login-card {
  width: 100%;
  background: var(--green-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 36px;
}

.login-card .kicker {
  color: var(--mint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.login-card h1 { font-size: 28px; font-weight: 400; margin-bottom: 6px; }

.login-card .intro {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  margin-bottom: 26px;
}

.login-card label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin: 18px 0 6px;
}

.login-card input {
  width: 100%;
  background: var(--green-deep);
  border: 1px solid var(--green-mid);
  color: #ffffff;
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border-radius: 0;
  outline: none;
}

.login-card input:focus { border-color: var(--mint); }

.login-card button {
  width: 100%;
  margin-top: 28px;
  background: var(--mint);
  color: #001b19;
  border: 0;
  border-radius: 0;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  padding: 14px;
  cursor: pointer;
}

.login-card button:hover { background: #00e09c; }

.error {
  background: rgba(198, 40, 40, 0.18);
  border: 1px solid rgba(198, 40, 40, 0.55);
  color: #ffcdd2;
  font-size: 14px;
  padding: 10px 14px;
  margin-bottom: 8px;
}

.login-footer {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  text-align: center;
}
