/**
 * Login screen.
 *
 * A clean panel card rendered on the guest layout (layouts.login). Scoped under
 * .view-shell so it reuses the design-system tokens (--c-*). The layout's logo
 * sits above the card; the card itself only carries the form.
 */

.view-shell.auth-shell {
    min-height: 0;
    background: transparent;
    padding: 0 0 2rem;
}

.view-shell .auth-card {
    max-width: 400px;
    margin: 0 auto;
}

.view-shell .auth-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: .5rem;
    padding: .6rem .85rem;
    font-size: .85rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.view-shell .auth-field {
    margin-bottom: 1rem;
}

.view-shell .auth-label {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: var(--c-text-mut);
    margin-bottom: .35rem;
}

.view-shell .auth-input {
    width: 100%;
    border: 1px solid var(--c-border);
    border-radius: .5rem;
    padding: .55rem .75rem;
    font-size: .9rem;
    color: var(--c-text);
    background: var(--c-surface);
    transition: border-color .15s, box-shadow .15s;
}

.view-shell .auth-input:focus {
    outline: none;
    border-color: var(--c-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .25);
}

.view-shell .auth-remember {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .85rem;
    color: var(--c-text-mut);
    margin: .25rem 0 1.25rem;
    cursor: pointer;
    user-select: none;
}

.view-shell .auth-remember input {
    cursor: pointer;
}
