/* ==========================================================================
   CARESUITE — Telas de autenticação
   ========================================================================== */

body.cs-auth {
    background: linear-gradient(135deg, #0f1e4f 0%, #1e3a8a 50%, #1e40af 100%);
    min-height: 100vh;
}

.cs-auth-wrap {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
}

/* ---------- Hero (lado esquerdo) ---------- */

.cs-auth-hero {
    flex: 1;
    position: relative;
    color: #e2e8f0;
    padding: 56px 64px;
    overflow: hidden;
}

.cs-auth-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(96,165,250,.18), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(14,165,233,.15), transparent 55%);
    pointer-events: none;
}

.cs-auth-hero-inner {
    position: relative;
    max-width: 480px;
    margin: auto 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.cs-auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: .5px;
    color: #fff;
    margin-bottom: 48px;
}
.cs-auth-brand i {
    font-size: 28px;
    color: #60a5fa;
}
/* Logo customizado (upload) na tela de login */
.cs-auth-brand-logo {
    display: block;
    max-height: 70px;
    max-width: 320px;
    object-fit: contain;
    /* deixa o logo branco contra o gradient azul do hero */
    filter: brightness(0) invert(1);
}

.cs-auth-hero h1 {
    font-size: 38px;
    line-height: 1.15;
    font-weight: 700;
    color: #fff;
    margin: 0 0 18px;
}
.cs-auth-hero p {
    font-size: 16px;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 30px;
}

.cs-auth-features {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cs-auth-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #e2e8f0;
    font-size: 14.5px;
}
.cs-auth-features i {
    color: #34d399;
    font-size: 18px;
}

/* ---------- Card do formulário ---------- */

.cs-auth-form {
    flex: 0 0 auto;
    width: 100%;
    max-width: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: transparent;
}

@media (max-width: 991.98px) {
    .cs-auth-form {
        max-width: 100%;
    }
}

.cs-auth-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 20px;
    padding: 44px 40px 32px;
    box-shadow: 0 25px 60px rgba(8, 15, 41, .45);
    position: relative;
}

.cs-auth-heading {
    margin-bottom: 28px;
}
.cs-auth-heading h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--cs-text);
}
.cs-auth-heading p {
    color: var(--cs-muted);
    margin: 0;
    font-size: 14px;
}

.cs-auth-card .input-group-text {
    background: var(--cs-primary-50);
    border-color: var(--cs-border);
    color: var(--cs-primary-600);
}

.cs-auth-card .form-control:focus {
    border-color: var(--cs-primary-500);
    box-shadow: 0 0 0 4px var(--cs-primary-50);
}

.cs-auth-alt {
    text-align: center;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--cs-border);
    font-size: 13.5px;
    color: var(--cs-muted);
}
.cs-auth-alt a {
    font-weight: 600;
    margin-left: 6px;
}

.cs-auth-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 11.5px;
    color: var(--cs-muted);
}
