/* ── Shared auth layout (login, recuperar, reset) ──────────────────────────── */
* { box-sizing: border-box; }

/* Reset body conflicts from style.css */
.auth-body,
body.auth-body {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    min-height: 100vh !important;
    background: #eef2f7 !important;
    background-image:
        radial-gradient(ellipse at 0% 0%,   rgba(0,130,196,.10) 0%, transparent 55%),
        radial-gradient(ellipse at 100% 100%, rgba(0,112,172,.07) 0%, transparent 50%) !important;
    background-attachment: fixed !important;
    font-family: 'Inter','Segoe UI',sans-serif !important;
}

/* Wrapper alternativo para recuperar/reset */
.auth-wrap {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    width: 100%;
}

/* ── Left decorative panel ────────────────────────────────────────────────── */
.auth-left,
.login-left {
    display: none;
    width: 45%;
    min-height: 100vh;
    background: linear-gradient(150deg, #0082C4 0%, #005a8c 60%, #003d6b 100%);
    position: relative;
    overflow: hidden;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 48px;
    color: #fff;
    flex-shrink: 0;
}
@media (min-width: 900px) {
    .auth-left, .login-left { display: flex; }
}

/* ── Right panel ─────────────────────────────────────────────────────────── */
.auth-right,
.login-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
    min-height: 100vh;
}

.auth-left::before {
    content: '';
    position: absolute; top: -80px; right: -80px;
    width: 320px; height: 320px; border-radius: 50%;
    background: rgba(255,255,255,.06);
}
.auth-left::after {
    content: '';
    position: absolute; bottom: -60px; left: -60px;
    width: 280px; height: 280px; border-radius: 50%;
    background: rgba(255,255,255,.05);
}
.auth-left-content {
    position: relative; z-index: 1; text-align: center;
}
.auth-left-logo {
    max-width: 140px; margin-bottom: 24px;
    filter: brightness(0) invert(1);
}
.auth-left-content h1 {
    font-size: 2rem; font-weight: 800;
    letter-spacing: -.02em; margin-bottom: 12px;
}
.auth-left-content p {
    opacity: .75; font-size: .95rem; line-height: 1.6; max-width: 300px;
    margin: 0 auto;
}

/* ── Right form panel (legacy, kept for specificity) ────────────────────── */
.auth-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
}
.auth-card {
    width: 100%; max-width: 420px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.06);
    padding: 40px 40px 36px;
}
@media (max-width: 480px) {
    .auth-card { padding: 28px 20px 24px; border-radius: 16px; }
}

.auth-logo {
    display: block; margin: 0 auto 6px;
    max-width: 180px; height: auto;
}
.auth-tagline {
    text-align: center;
    font-size: .78rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .08em;
    color: #9ca3af; margin-bottom: 24px;
}
.auth-back { margin-bottom: 20px; }
.auth-back-link {
    font-size: .8rem; color: #6b7280;
    text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
    transition: color .15s;
}
.auth-back-link:hover { color: #0082C4; }

.auth-title {
    font-size: 1.4rem; font-weight: 700;
    color: #0f172a; margin-bottom: 4px; letter-spacing: -.01em;
}
.auth-sub {
    font-size: .83rem; color: #6b7280; margin-bottom: 24px; line-height: 1.5;
}

/* ── Inputs ───────────────────────────────────────────────────────────────── */
.auth-input-wrap { position: relative; }
.auth-input-icon {
    position: absolute; left: 12px; top: 50%;
    transform: translateY(-50%);
    color: #9ca3af; font-size: 18px; pointer-events: none;
}
.auth-input {
    height: 46px !important;
    border-radius: 10px !important;
    border: 1.5px solid #e2e8f0 !important;
    font-size: .9rem !important;
    padding-left: 40px !important;
    transition: border-color .15s, box-shadow .15s;
}
.auth-input:focus {
    border-color: #0082C4 !important;
    box-shadow: 0 0 0 3px rgba(0,130,196,.15) !important;
}
.auth-pass-toggle {
    position: absolute; right: 12px; top: 50%;
    transform: translateY(-50%);
    background: none; border: none; padding: 0;
    color: #9ca3af; cursor: pointer; line-height: 1;
}
.auth-pass-toggle:hover { color: #0082C4; }

/* ── Button ───────────────────────────────────────────────────────────────── */
.auth-btn {
    height: 48px !important;
    border-radius: 12px !important;
    font-size: .95rem !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: linear-gradient(135deg, #0082C4, #0070ac) !important;
    border: none !important;
    box-shadow: 0 3px 12px rgba(0,130,196,.35) !important;
    transition: box-shadow .15s, transform .1s !important;
}
.auth-btn:hover {
    box-shadow: 0 5px 18px rgba(0,130,196,.45) !important;
    transform: translateY(-1px);
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.auth-footer {
    text-align: center; font-size: .72rem;
    color: #9ca3af; margin-top: 28px; margin-bottom: 0;
}
