/* Standalone sign-in page. Loaded after custom.css, so it uses the same
   theme variables (navy by default) and the light dashboard palette. */

.auth-body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(circle at 15% 20%, rgba(var(--primary-rgb), 0.08), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(var(--primary-rgb), 0.06), transparent 40%),
        var(--bg-color);
}

.auth-shell {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 960px;
    overflow: hidden;
    background: var(--sidebar-bg);
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(var(--primary-rgb), 0.12);
}

@media (min-width: 992px) {
    .auth-shell {
        grid-template-columns: 1.05fr 1fr;
    }
}

.auth-brand {
    display: none;
    padding: 3rem;
    background: linear-gradient(160deg, var(--table-head-bg) 0%, rgba(var(--primary-rgb), 0.04) 100%);
    border-right: 1px solid var(--table-head-border);
}

@media (min-width: 992px) {
    .auth-brand {
        display: block;
    }
}

.auth-brand-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.auth-brand h2 {
    margin-bottom: 0.75rem;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-color);
}

.auth-points {
    margin: 0;
    padding: 0;
    list-style: none;
}

.auth-points li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.auth-points i {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.4rem;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
}

.auth-form {
    padding: 3rem 2.5rem;
}

.auth-form h1 {
    margin-bottom: 0.25rem;
    font-size: 1.6rem;
    font-weight: 600;
}

.auth-form .input-group-text {
    min-width: 42px;
    justify-content: center;
    background: var(--table-head-bg);
    border-color: #d0d5dd;
    color: var(--text-muted);
}

.auth-form .input-group > .form-control,
.auth-form .input-group > .btn,
.auth-form .input-group > .input-group-text {
    border-radius: 0;
}

.auth-form .input-group > :first-child {
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}

.auth-form .input-group > :last-child {
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.auth-form .js-toggle-password {
    border-color: #d0d5dd;
}

.auth-footer {
    margin: 1.5rem 0 0;
    font-size: 0.8rem;
    text-align: center;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
}
