/* Nur von Pages/Account/Login.cshtml eingebunden (kein Bootstrap).
   Halbtransparente Glas-Karte mittig auf dem Hintergrundbild. */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    background-color: #1c2a36;
    background-size: cover;
    background-position: center;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #fff;
}

.login-card {
    width: 100%;
    max-width: 420px;
    padding: 2.5rem 2.5rem 2rem;
    border-radius: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background-color: rgba(10, 18, 26, 0.62);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.35);
}

.login-logo {
    text-align: center;
    margin-bottom: 1.25rem;
}

.login-logo img {
    height: 80px;
}

.login-title {
    margin: 0;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
}

.login-subtitle {
    margin: 0.4rem 0 1.75rem;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.6);
}

/* Fehlermeldung (falsche Anmeldedaten, gesperrtes Konto …) als Hinweiskasten über den Feldern */
.login-message {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    padding: 0.7rem 0.9rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 107, 120, 0.45);
    background-color: rgba(220, 53, 69, 0.18);
    color: #ffd7db;
    font-size: 0.9rem;
}

.login-message-icon {
    flex-shrink: 0;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.1rem;
    fill: #ff8a95;
}

.login-message-text ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.login-field {
    margin-bottom: 1.1rem;
}

/* Beschriftung und Feldmeldung in einer Zeile: „Passwort • Pflichtfeld“ */
.login-field-header {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
}

.login-field label {
    display: inline;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.85);
}

.login-field input {
    display: block;
    width: 100%;
    padding: 0.7rem 1rem;
    font-family: inherit;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #212529;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid transparent;
    border-radius: 0.75rem;
    transition: box-shadow 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.login-field input:focus {
    outline: 0;
    border-color: #6ea8fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.35);
}

.login-field input.input-validation-error {
    border-color: #ff8a95;
}

.login-field-error {
    color: #ff9aa4;
    font-weight: 500;
}

.login-field-error:not(:empty)::before {
    content: " • ";
}

.login-button {
    display: block;
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #fff;
    /* Flach im Primärblau, ohne Verlauf und Schatten. */
    background: #1f78b4;
    border: 0;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

/* Link im Aussehen des Knopfs („Zur Anmeldung“) */
a.login-button {
    margin-top: 0;
    text-align: center;
    text-decoration: none;
}

.login-button:hover {
    background: #19639a;
}

.login-button:focus-visible {
    outline: 2px solid #19639a;
    outline-offset: 2px;
}

@media (max-width: 480px) {
    .login-card {
        padding: 2rem 1.5rem 1.5rem;
        border-radius: 1.25rem;
    }
}
