/*
Purpose:
    Style FlipOut DTSP public login and signup pages.

Inputs:
    Account form content rendered through the normal site shell.

Outputs:
    Mobile-friendly authentication forms and status messages.

Requirements:
    site.css and components.css loaded first.

Goal:
    Keep normal-user authentication visually consistent with FlipOut DTSP.

Section:
    Public account styling.
*/

.account-card {
    max-width: 620px;
    margin: 22px auto 0;
    padding: 20px;
    border:
        1px solid var(--border);
    border-radius: 18px;
    background:
        rgba(25,25,30,.95);
}

.account-card h1 {
    margin: 5px 0 10px;
    font-size:
        clamp(
            2.5rem,
            9vw,
            4rem
        );
}

.account-card p {
    color: var(--muted);
    line-height: 1.5;
}

.account-form {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.account-form label > span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: .75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.account-form input {
    width: 100%;
    min-height: 50px;
    padding: 11px 13px;
    border:
        1px solid var(--border);
    border-radius: 11px;
    outline: none;
    background: var(--panel2);
    color: var(--text);
    font: inherit;
}

.account-form input:focus {
    border-color:
        rgba(224,170,68,.7);
}

.account-button {
    min-height: 50px;
    padding: 11px 16px;
    border:
        1px solid rgba(214,58,58,.55);
    border-radius: 11px;
    background:
        linear-gradient(
            135deg,
            var(--red),
            var(--red-dark)
        );
    color: var(--text);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.account-message {
    margin: 14px 0;
    padding: 12px 14px;
    border:
        1px solid var(--border);
    border-radius: 11px;
}

.account-message.error {
    border-color:
        rgba(214,58,58,.45);
    color: #efaaaa;
}

.account-message.success {
    border-color:
        rgba(83,182,109,.45);
    color: #a9dfb6;
}

.account-link {
    color: var(--gold);
    font-weight: 850;
}
