/* Styling für die Auth-Seiten (Login + Set-Password) — Nicht-scoped, damit beide
   Razor-Pages dieselben Klassen-Definitionen nutzen. */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
}

.login-container {
    width: 100%;
    max-width: 360px;
    padding: 48px 40px;
}

.login-brand {
    text-align: center;
    margin-bottom: 48px;
}

.login-brand img {
    height: 40px;
    width: auto;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.input-wrapper {
    position: relative;
    display: flex;
}

.form-group input {
    width: 100%;
    padding: 25px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 15px;
    background: transparent;
    transition: border-color 0.2s;
    outline: none;
}

.form-group input:focus {
    border-color: #048D66;
}

.form-group input::placeholder {
    color: #999;
    font-weight: 300;
}

.form-group input:disabled {
    background: transparent;
    color: #999;
}

.password-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: #333;
}

.btn-login {
    margin-top: 32px;
    padding: 16px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: #048D66;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-login:hover:not(:disabled) {
    background: #037a59;
}

.btn-login:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.error-message {
    color: #c53030;
    font-size: 14px;
    padding: 12px 0;
    text-align: center;
}

.login-footer {
    margin-top: 48px;
    text-align: center;
    color: #bbb;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 1px;
}

@media (max-width: 480px) {
    .login-container {
        padding: 32px 24px;
    }

    .login-brand {
        margin-bottom: 40px;
    }

    .login-brand h1 {
        font-size: 1.75rem;
    }
}
