:root {
    --lg-card: #ffffff;
    --lg-primary: #0066ff;
    --lg-primary-dark: #003c9e;
    --lg-muted: #64748b;
    --lg-border: #e2e8f0;
}

body.lg-body {
    min-height: 100vh;
    background: radial-gradient(1200px 600px at 100% 0%, rgba(0, 91, 234, 0.30), transparent 60%), radial-gradient(1000px 500px at 0% 100%, rgba(0, 180, 255, 0.20), transparent 55%), #eaf2ff;
}

.lg-shell {
    width: 100%;
    max-width: 1100px;
}

.lg-card {
    border: 1px solid var(--lg-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px -24px rgba(15, 23, 42, .25);
    background: var(--lg-card);
}

/* Painel lateral (branding) */
.lg-aside {
    background: linear-gradient( 135deg, #021b4d 0%, #0346b5 55%, #0a84ff 100% ) !important;
    color: #fff;
    padding: 3rem 2.5rem;
}

.fw-bold {
    color: #ffffff
}

.lg-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

    .lg-brand img {
        max-height: 60px;
    }

.lg-brand-fallback {
    height: 60px;
    border-radius: 12px;
    background: var(--lg-accent);
    color: var(--lg-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}


    .lg-aside .lg-badge {
        width: 56px;
        height: 56px;
        border-radius: 16px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 26px;
        background: rgba(255, 255, 255, .16);
        backdrop-filter: blur(6px);
    }

.lg-feature {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
}

    .lg-feature .ti {
        font-size: 20px;
        opacity: .95;
    }

.lg-logo {
    max-height: 60px;
}

/* Área do formulário */
.lg-main {
    padding: 3rem 2.5rem;
}

/* Inputs */
.lg-field {
    position: relative;
}

    .lg-field .lg-ficon {
        position: absolute;
        top: 50%;
        left: 14px;
        transform: translateY(-50%);
        font-size: 18px;
        color: var(--lg-muted);
        pointer-events: none;
    }

.lg-input {
    width: 100%;
    border: 1.5px solid var(--lg-border);
    border-radius: 14px;
    padding: .75rem 2.75rem;
    font-size: 1rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .lg-input:focus {
        outline: none;
        border-color: var(--lg-primary);
        box-shadow: 0 0 0 4px rgba(79, 70, 229, .15);
    }

.lg-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: var(--lg-muted);
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

    .lg-toggle:hover {
        color: var(--lg-primary);
    }

.lg-btn-primary {
    background: var(--lg-primary);
    border: none;
    border-radius: 14px;
    transition: background .15s ease, transform .05s ease;
}

    .lg-btn-primary:hover {
        background: var(--lg-primary-dark);
    }

    .lg-btn-primary:active {
        transform: translateY(1px);
    }

.lg-link {
    color: var(--lg-primary);
    font-weight: 600;
}

/* Identidade confirmada (chip do e-mail) */
.lg-identity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    background: #f8fafc;
    border: 1px solid var(--lg-border);
    border-radius: 14px;
    padding: .5rem .75rem;
}

    .lg-identity .lg-avatar {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: rgba(79, 70, 229, .12);
        color: var(--lg-primary);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        flex-shrink: 0;
    }

/* Transição entre etapas */
.step-fade {
    animation: stepFade .3s ease both;
}

@keyframes stepFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loader */
#loaderOverlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(241, 245, 249, .7);
    backdrop-filter: blur(2px);
    z-index: 1080;
    opacity: 0;
    transition: opacity .3s ease;
}

    #loaderOverlay.show {
        opacity: 1;
    }

    #loaderOverlay .spinner-border {
        width: 3rem;
        height: 3rem;
        color: var(--lg-primary);
    }

@media (max-width: 767.98px) {
    .lg-main {
        padding: 2.25rem 1.5rem;
    }
}



.logo-premium-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, #ffffff, #d9d9d9, #ffffff);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-premium {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    padding: 10px;
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.08), 0 4px 14px rgba(0, 0, 0, 0.18);
}


