/* === Login-Seite === */
.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 1rem;
}

.login-box {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  padding: 2rem;
  width: 100%;
  max-width: 420px;
}

.login-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.logo {
  display: flex;
  justify-content: center;  /* horizontal */
  align-items: center;      /* vertikal */
  height: 70px;            /* oder feste Hoehe */
}

.logo img {
  height: 70px;
  width: auto;
}

.login-box h1 {
  margin: 0.5rem 0;
  font-size: 1.5rem;
  text-align: center;
}

.subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.error-box {
  background: #ffe5e5;
  color: #b30000;
  border: 1px solid #ffb3b3;
  border-radius: var(--radius);
  padding: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.login-form label {
  font-size: 0.9rem;
  color: var(--text);
}

.login-form input {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.form-options a {
  text-decoration: none;
  color: var(--accent);
}

.form-options a:hover {
  text-decoration: underline;
}

.btn-login {
  display: flex;              /* wichtig */
  justify-content: center;    /* horizontal */
  align-items: center;        /* vertikal */

  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0.75rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;

  text-decoration: none;      /* fuer <a> */
  width: 100%;                /* optional, wenn volle Breite */
  height: 40px;
}


.btn-login:hover {
  background: color-mix(in srgb, var(--accent) 80%, black);
}
