/*
    Shared styling for the Identity/Razor Pages auth flow (Login, Register, and friends).
    Originally written inline in login.css; extracted here once Register.cshtml needed the
    same button/link treatment, so an unrelated page wouldn't need to link a file literally
    named "login.css" to get generic auth-page buttons.

    Depends on --brand-primary-strong, defined in site-header.css -- load that file alongside
    this one.
*/

.auth-page {
    text-align: left;
}

.btn-auth-primary {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    background-color: var(--brand-primary-strong);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.65rem 0.9rem;
    border: none;
    border-radius: 0.5rem;
    transition: background-color 0.15s ease;
}

.btn-auth-primary:hover,
.btn-auth-primary:focus-visible {
    background-color: #094a72;
    color: #fff;
}

.auth-link {
    display: inline-block;
    margin-top: 0.9rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-auth-secondary {
    display: block;
    text-align: center;
    text-decoration: none;
    background-color: #fff;
    color: var(--brand-primary-strong);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 0.9rem;
    border: 1.5px solid var(--brand-primary-strong);
    border-radius: 0.5rem;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-auth-secondary:hover,
.btn-auth-secondary:focus-visible {
    background-color: var(--brand-primary-strong);
    color: #fff;
}
