/* Login/Register (_LayoutLogin) — co-locado: se linkea solo en Login.cshtml
   y Register.cshtml, no es global. Movido entero desde site.css al rediseñar
   el brand del login (masthead centrado con el wordmark Athlo). */

.ams-login-body {
    background: var(--color-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ams-login-card {
    background: var(--color-surface);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 40px;
    width: 100%;
    max-width: 380px;
}
.ams-login-wrap { width: 100%; max-width: 420px; padding: 16px; }

.ams-login-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--color-text);
}
.ams-login-brand .hr {
    width: 100%;
    height: 1px;
    background: var(--color-border);
}
.ams-login-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 24px;
}
.ams-login-error {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: -8px 0 20px;
    padding: 12px 14px;
    border: 1px solid rgba(239, 68, 68, 0.24);
    border-radius: 8px;
    background: #FEF2F2;
    color: #991B1B;
}
.ams-login-error > .bi {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 1rem;
}
.ams-login-error-copy {
    min-width: 0;
    flex: 1;
}
.ams-login-error-title {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2px;
}
.ams-login-error-text {
    font-size: 0.84rem;
    line-height: 1.35;
}

@media (max-width: 575.98px) {
    .ams-login-body {
        align-items: flex-start;
        padding: 24px 0;
    }
    .ams-login-wrap {
        max-width: none;
        padding: 12px;
    }
    .ams-login-card {
        padding: 24px 18px;
        border-radius: 10px;
    }
    .ams-login-brand {
        margin-bottom: 16px;
    }
    .ams-login-title {
        margin-bottom: 18px;
    }
    .ams-login-error {
        padding: 11px 12px;
        margin-bottom: 18px;
    }
}
