/* Button/focus-ring styling comes from components.css (global .btn-primary / .form-control:focus
   overrides) - this file only covers the auth page's own layout. */

.auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #0f5132 0%, #14532d 45%, #1b3a2b 100%);
    padding: 24px;
}

.auth-shell {
    width: 100%;
    max-width: 420px;
}

.auth-card {
    background: var(--surface-raised);
    color: var(--text);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.auth-card-brand {
    text-align: center;
    margin-bottom: 28px;
}

.auth-card-logo {
    width: auto;
    height: 64px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card-logo img {
    height: 100%;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

/* Same reasoning as the sidebar: the logo's ink colors are fixed (near-black "GROUP" text), so on
   the dark theme's dark auth card it needs a light backing plate to stay legible. */
[data-bs-theme="dark"] .auth-card-logo {
    background: #fff;
    padding: 0.6rem 0.9rem;
    border-radius: var(--radius);
}

.auth-card-brand h1 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text);
}
