body.auth-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem;
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

/* Soft decorative glow, echoing the app's primary color — CSS-only so no
   markup or extra requests are needed. */
body.auth-body::before,
body.auth-body::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--color-primary) 12%, transparent), transparent 70%);
    pointer-events: none;
}
body.auth-body::before { top: -160px; inset-inline-start: -140px; }
body.auth-body::after { bottom: -180px; inset-inline-end: -140px; background: radial-gradient(circle, color-mix(in srgb, var(--color-warning) 12%, transparent), transparent 70%); }

.auth-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 380px;
    position: relative;
}

.auth-wrap .language-switcher { align-self: center; }

.auth-wrap .footer-credit {
    padding: 0;
    border-top: none;
    color: var(--color-text-muted);
}
.auth-wrap .footer-credit a {
    color: var(--color-text-muted);
}
.auth-wrap .footer-credit a:hover {
    color: var(--color-text);
}

.auth-card {
    width: 100%;
    max-width: 380px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-lg);
}

.auth-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.auth-brand-mark {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.7rem;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.auth-brand-mark .material-symbols-outlined { margin: 0; opacity: 1; font-size: 22px; }

.auth-card h1 {
    font-size: 1.15rem;
    margin: 0;
    text-align: center;
}

.auth-card p.subtitle {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.input-icon-group { position: relative; }
.input-icon-group .material-symbols-outlined {
    position: absolute;
    inset-inline-start: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    opacity: 1;
    margin: 0;
    color: var(--color-text-muted);
    pointer-events: none;
}
.input-icon-group input { padding-inline-start: 2.4rem; }

.auth-card .btn-primary {
    width: 100%;
    padding: 0.65rem;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
}
