/* ===================================================================
   eSocios — Auth pages (split-screen layout)
   =================================================================== */

*, *::before, *::after { box-sizing: border-box; }

.auth-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
}

/* ─── Split container ──────────────────────────────────────────── */
.auth-split {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* ─── Left brand panel ─────────────────────────────────────────── */
.auth-panel-brand {
    flex: 0 0 42%;
    background: linear-gradient(145deg, #0f2044 0%, #1a3568 40%, #2f6fed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
}
/* Decorative blob */
.auth-panel-brand::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    top: -100px;
    right: -120px;
}
.auth-panel-brand::after {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    bottom: -60px;
    left: -80px;
}

.auth-panel-brand-inner {
    position: relative;
    z-index: 1;
    max-width: 340px;
}

.auth-brand-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(255,255,255,.15);
    border: 2px solid rgba(255,255,255,.3);
    border-radius: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.auth-panel-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: .75rem;
    letter-spacing: -.02em;
}

.auth-panel-subtitle {
    color: rgba(255,255,255,.72);
    font-size: .95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.auth-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.auth-feature-list li {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: rgba(255,255,255,.85);
    font-size: .9rem;
}
.auth-feature-list li i {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    color: #86efac;
    flex-shrink: 0;
}

/* ─── Right form panel ─────────────────────────────────────────── */
.auth-panel-form {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    background: #f8fafc;
    overflow-y: auto;
}

.auth-form-container {
    width: 100%;
    max-width: 420px;
}

/* Mobile brand */
.auth-mobile-brand {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 2rem;
}
.auth-brand-icon-sm {
    width: 2rem;
    height: 2rem;
    background: #2f6fed;
    border-radius: .45rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
}
.auth-brand-name {
    font-weight: 700;
    font-size: 1.15rem;
    color: #1e293b;
}

/* Form titles */
.auth-form-title {
    font-size: 1.65rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: .4rem;
}
.auth-form-subtitle {
    color: #64748b;
    font-size: .9rem;
    margin-bottom: 1.75rem;
}

/* Inputs */
.auth-form-container .form-control-lg {
    border-radius: .55rem;
    border-color: #e2e8f0;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.auth-form-container .form-control-lg:focus {
    border-color: #2f6fed;
    box-shadow: 0 0 0 3px rgba(47,111,237,.14);
}

/* Submit button */
.auth-submit-btn {
    border-radius: .6rem;
    font-weight: 600;
    letter-spacing: .01em;
    transition: transform .12s, box-shadow .12s;
}
.auth-submit-btn:active {
    transform: scale(.98);
}

/* Footer link */
.auth-form-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: #64748b;
    font-size: .9rem;
}
.auth-link {
    color: #2f6fed;
    font-weight: 600;
    text-decoration: none;
}
.auth-link:hover {
    text-decoration: underline;
}

