/* ─── AUTH PAGE ─── */

html, body { height: 100%; }

body.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--bg-app);
    font-family: var(--font-sans);
    padding: 40px 16px;
}

.auth-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-base);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
    padding: 40px;
    width: 100%;
    max-width: 400px;
}

/* Brand mark */
.auth-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--fg-primary);
    margin-bottom: 28px;
}

.auth-brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--navy-800);
    display: grid;
    place-items: center;
}

.auth-brand-mark::after {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: var(--green-500);
}

/* Divisore */
.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--fg-muted);
    font-size: var(--ts-xs);
}
.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border-base);
}

/* Google button */
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 44px;
    background: #fff;
    color: #3c4043;
    border: 1px solid var(--border-base);
    border-radius: var(--r-md);
    font-size: var(--ts-body);
    font-weight: 500;
    cursor: pointer;
    transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
    text-decoration: none;
}
.btn-google:hover {
    background: var(--gray-50);
    border-color: var(--border-strong);
    color: #3c4043;
}

/* Form floating label tweak per DS */
.form-floating > .form-control {
    border-color: var(--border-base);
    border-radius: var(--r-md) !important;
}
.form-floating > .form-control:focus {
    border-color: var(--green-500);
    box-shadow: var(--shadow-focus);
}

.form-signin input[type="text"] { margin-bottom: -1px; border-radius: var(--r-md) var(--r-md) 0 0 !important; }
.form-signin input[type="password"] { margin-bottom: 16px; border-radius: 0 0 var(--r-md) var(--r-md) !important; }
