/* =============================================================================
   Aurosoft - Login Page (Premium Enterprise Design v3)
   Stand-alone styles. Self-contained, immune to global theme leaks.
   ============================================================================= */

/* ----- Reset propio aislado ----- */
.au-body,
.au-body * { box-sizing: border-box; }

html, body.au-body {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100%;
    width: 100%;
    background: #0b1020;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Variables corporativas */
:root {
    --au-primary: #6366f1;
    --au-primary-2: #8b5cf6;
    --au-primary-3: #a78bfa;
    --au-accent: #06b6d4;
    --au-accent-2: #22d3ee;
    --au-text: #0f172a;
    --au-text-muted: #64748b;
    --au-text-soft: #94a3b8;
    --au-border: #e2e8f0;
    --au-bg: #ffffff;
    --au-bg-soft: #f8fafc;
    --au-danger: #ef4444;
    --au-success: #10b981;
    --au-warning: #f59e0b;
    --au-shadow-sm: 0 1px 2px rgba(15,23,42,.06);
    --au-shadow: 0 8px 32px rgba(15,23,42,.10);
    --au-shadow-lg: 0 24px 64px rgba(15,23,42,.18);
    --au-radius: 14px;
    --au-radius-lg: 22px;
    --au-trans: 220ms cubic-bezier(.4,0,.2,1);
}

/* PAGE WRAPPER */
.au-login-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    background: #fff;
    z-index: 1;
    overflow: hidden;
}

/* FRANJA TRICOLOR SUPERIOR */
.au-topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 4px;
    display: flex;
    z-index: 9999;
    box-shadow: 0 1px 8px rgba(0,0,0,.15);
}
.au-topbar .stripe { flex: 1; height: 100%; }
.au-topbar .stripe.yellow { background: #FCD116; flex: 2; }
.au-topbar .stripe.blue   { background: #003893; }
.au-topbar .stripe.red    { background: #CE1126; }

/* SPLIT LAYOUT */
.au-split {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
}

/* ============================================================================
   HERO IZQUIERDO
   ============================================================================ */
.au-hero {
    position: relative;
    color: #fff;
    padding: clamp(30px, 4vw, 44px) clamp(28px, 4.5vw, 54px) clamp(28px, 3.8vw, 40px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(135deg, rgba(30,27,75,.95) 0%, rgba(49,46,129,.92) 35%, rgba(99,102,241,.80) 70%, rgba(6,182,212,.65) 100%),
        url('/assets/images/indeximages/bannercarrusel.png') center/cover no-repeat;
}

.au-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 60% at center, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at center, black, transparent);
    z-index: -1;
    pointer-events: none;
}

/* Blobs animados */

.au-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .55;
    z-index: -1;
    pointer-events: none;
}
.au-blob-1 {
    width: 480px; height: 480px;
    background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
    top: -120px; right: -100px;
    animation: au-float 14s ease-in-out infinite;
}
.au-blob-2 {
    width: 420px; height: 420px;
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
    bottom: -120px; left: -100px;
    animation: au-float 18s ease-in-out infinite reverse;
}
.au-blob-3 {
    width: 320px; height: 320px;
    background: radial-gradient(circle, #a78bfa 0%, transparent 70%);
    top: 40%; left: 30%;
    animation: au-float 22s ease-in-out infinite;
    opacity: .35;
}
@keyframes au-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(40px, -30px) scale(1.1); }
    66%      { transform: translate(-30px, 30px) scale(.95); }
}

/* Brand (logo más grande) */
.au-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 3;
    position: relative;
    margin-bottom: 8px;
}
.au-brand img {
    height: 80px;
    width: auto;
    max-width: 320px;
    filter: drop-shadow(0 4px 14px rgba(0,0,0,.35));
    object-fit: contain;
    transition: var(--au-trans);
}
.au-brand img:hover { transform: scale(1.04); }

/* Hero content */
.au-hero-content {
    margin: clamp(18px, 3vw, 28px) 0 auto;
    max-width: 640px;
    z-index: 2;
    position: relative;
}

.au-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-bottom: 22px;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.au-eyebrow .dot {
    width: 8px; height: 8px;
    background: #22d3ee;
    border-radius: 50%;
    box-shadow: 0 0 16px #22d3ee, 0 0 4px #fff;
    animation: au-blink-dot 1.6s ease-in-out infinite;
}
@keyframes au-blink-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .4; transform: scale(1.6); }
}

.au-hero h1 {
    font-size: 44px;
    line-height: 1.08;
    font-weight: 800;
    margin: 0 0 18px;
    letter-spacing: -.03em;
    color: #fff;
    text-shadow: 0 2px 30px rgba(0,0,0,.3);
}
.au-hero h1 .gradient-text {
    background: linear-gradient(90deg, #22d3ee 0%, #a78bfa 50%, #c4b5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
    min-width: 220px;
    min-height: 1.1em;
    background-size: 200% auto;
    animation: au-shine 4s linear infinite;
}
@keyframes au-shine { to { background-position: 200% center; } }
.au-hero h1 .cursor {
    display: inline-block;
    width: 4px;
    height: .9em;
    background: #22d3ee;
    margin-left: 4px;
    vertical-align: text-bottom;
    animation: au-blink 1s steps(2, start) infinite;
    border-radius: 2px;
    box-shadow: 0 0 12px #22d3ee;
}
@keyframes au-blink { to { visibility: hidden; } }

.au-hero p.au-tagline {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255,255,255,.88);
    margin: 0 0 30px;
    max-width: 560px;
    font-weight: 400;
    text-shadow: 0 1px 8px rgba(0,0,0,.2);
}

/* ============================================================================
   MÓDULOS - GRID DE TARJETAS
   ============================================================================ */
.au-modules-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.75);
    margin-bottom: 16px;
}
.au-modules-title::before,
.au-modules-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
}

.au-modules {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}
.au-module {
    position: relative;
    padding: 18px 16px 16px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 14px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: all 300ms cubic-bezier(.4,0,.2,1);
    cursor: default;
    overflow: hidden;
    color: #fff;
}
.au-module::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--grad-from, #22d3ee), var(--grad-to, #a78bfa));
    opacity: 0;
    transition: opacity 300ms;
}
.au-module:hover {
    background: rgba(255,255,255,.15);
    border-color: rgba(255,255,255,.32);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,.3);
}
.au-module:hover::before { opacity: 1; }
.au-module:hover .au-module-icon { transform: scale(1.12) rotate(-4deg); }
.au-module:hover .au-module-tooltip { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.au-module-icon {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--grad-from, #22d3ee), var(--grad-to, #a78bfa));
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
    transition: transform 300ms cubic-bezier(.4,0,.2,1);
    box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.au-module-name {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #fff;
    letter-spacing: -.01em;
}
.au-module-desc {
    font-size: 11.5px;
    line-height: 1.45;
    color: rgba(255,255,255,.7);
    font-weight: 400;
}

/* Tooltip con beneficios */
.au-module-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    width: 240px;
    padding: 12px 14px;
    background: rgba(15,23,42,.96);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.5;
    color: #e2e8f0;
    box-shadow: 0 20px 40px rgba(0,0,0,.5);
    opacity: 0;
    visibility: hidden;
    transition: all 250ms cubic-bezier(.4,0,.2,1);
    z-index: 20;
    pointer-events: none;
}
.au-module-tooltip::after {
    content: '';
    position: absolute;
    top: 100%; left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(15,23,42,.96);
}
.au-module-tooltip strong {
    display: block;
    color: #22d3ee;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.au-module-tooltip ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.au-module-tooltip li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 4px;
    font-size: 11.5px;
}
.au-module-tooltip li:last-child { margin-bottom: 0; }
.au-module-tooltip li i {
    color: #10b981;
    font-size: 11px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Gradientes por módulo */
.au-module[data-color="blue"]   { --grad-from: #0ea5e9; --grad-to: #6366f1; }
.au-module[data-color="green"]  { --grad-from: #10b981; --grad-to: #06b6d4; }
.au-module[data-color="orange"] { --grad-from: #f97316; --grad-to: #ec4899; }
.au-module[data-color="purple"] { --grad-from: #8b5cf6; --grad-to: #ec4899; }
.au-module[data-color="cyan"]   { --grad-from: #06b6d4; --grad-to: #3b82f6; }
.au-module[data-color="amber"]  { --grad-from: #f59e0b; --grad-to: #ef4444; }

/* Stats */
.au-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.15);
    margin-top: auto;
    position: relative;
}
.au-stats .stat { transition: var(--au-trans); }
.au-stats .stat:hover { transform: translateY(-4px); }
.au-stats .stat .num {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.025em;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #fff 0%, #c7d2fe 50%, #22d3ee 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.au-stats .stat .label {
    font-size: 11px;
    color: rgba(255,255,255,.7);
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 6px;
}

/* ============================================================================
   PANEL DERECHO (con más vida)
   ============================================================================ */
.au-panel {
    background:
        radial-gradient(1200px 600px at 100% 0%, rgba(99,102,241,.08), transparent 60%),
        radial-gradient(900px 500px at 0% 100%, rgba(6,182,212,.08), transparent 60%),
        linear-gradient(180deg, #fafbff 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
}

/* Orbitas decorativas */
.au-panel-orbit {
    position: absolute;
    border: 2px dashed rgba(99,102,241,.15);
    border-radius: 50%;
    pointer-events: none;
    animation: au-rotate 60s linear infinite;
}
.au-panel-orbit.o1 {
    width: 500px; height: 500px;
    top: -200px; right: -200px;
}
.au-panel-orbit.o2 {
    width: 700px; height: 700px;
    bottom: -300px; left: -300px;
    animation-duration: 90s;
    animation-direction: reverse;
    border-color: rgba(6,182,212,.15);
}
@keyframes au-rotate {
    to { transform: rotate(360deg); }
}

/* Iconos flotantes decorativos */
.au-float-icon {
    position: absolute;
    width: 52px; height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 12px 32px rgba(99,102,241,.18), 0 2px 8px rgba(15,23,42,.06);
    color: var(--au-primary);
    font-size: 22px;
    border: 1px solid rgba(99,102,241,.15);
    z-index: 1;
    animation: au-float-icon 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
}
.au-float-icon.fi-1 {
    top: 12%; right: 8%;
    animation-delay: 0s;
    color: #6366f1;
    background: linear-gradient(135deg, #fff, #eef2ff);
}
.au-float-icon.fi-2 {
    top: 70%; right: 12%;
    animation-delay: 2s;
    color: #06b6d4;
    background: linear-gradient(135deg, #fff, #ecfeff);
}
.au-float-icon.fi-3 {
    bottom: 18%; left: 8%;
    animation-delay: 4s;
    color: #10b981;
    background: linear-gradient(135deg, #fff, #ecfdf5);
}
.au-float-icon.fi-4 {
    top: 35%; left: 6%;
    animation-delay: 1s;
    color: #f59e0b;
    background: linear-gradient(135deg, #fff, #fffbeb);
    width: 44px; height: 44px;
    font-size: 18px;
}
@keyframes au-float-icon {
    0%, 100% { transform: translateY(0) rotate(0); }
    50%      { transform: translateY(-14px) rotate(5deg); }
}

.au-card {
    width: 100%;
    max-width: 460px;
    position: relative;
    z-index: 5;
    animation: au-fade-up .6s cubic-bezier(.4,0,.2,1);
    background: #fff;
    padding: 40px 40px 32px;
    border-radius: 24px;
    box-shadow:
        0 1px 3px rgba(15,23,42,.04),
        0 20px 60px -12px rgba(99,102,241,.18),
        0 60px 120px -24px rgba(15,23,42,.10);
    border: 1px solid rgba(226,232,240,.6);
}
@keyframes au-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.au-card-mobile-logo {
    display: none;
    text-align: center;
    margin-bottom: 28px;
}
.au-card-mobile-logo img {
    height: 60px;
    max-width: 240px;
    object-fit: contain;
}

.au-card-header { margin-bottom: 28px; }
.au-card-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--au-text);
    margin: 0 0 8px;
    letter-spacing: -.025em;
    line-height: 1.2;
    background: linear-gradient(135deg, #0f172a 0%, #4f46e5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.au-card-header p {
    font-size: 14px;
    color: var(--au-text-muted);
    margin: 0;
    line-height: 1.55;
}

/* ----- Form ----- */
.au-form { width: 100%; }

.au-field {
    position: relative;
    margin-bottom: 16px;
}
.au-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--au-text);
    margin-bottom: 8px;
    letter-spacing: .005em;
}

.au-input-wrap { position: relative; display: block; }
.au-input-wrap i.au-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--au-text-soft);
    font-size: 16px;
    pointer-events: none;
    transition: var(--au-trans);
    z-index: 2;
}

.au-input {
    display: block;
    width: 100%;
    height: 50px;
    padding: 0 16px 0 46px;
    border: 1.5px solid var(--au-border);
    border-radius: var(--au-radius);
    background: #fff;
    font-size: 15px;
    font-family: inherit;
    color: var(--au-text);
    transition: var(--au-trans);
    outline: none;
    box-shadow: var(--au-shadow-sm);
}
.au-input::placeholder { color: #cbd5e1; }
.au-input:hover { border-color: #cbd5e1; }
.au-input:focus {
    border-color: var(--au-primary);
    box-shadow: 0 0 0 4px rgba(99,102,241,.12);
}
.au-input-wrap:focus-within i.au-input-icon { color: var(--au-primary); }

.au-input[type="password"],
.au-input[type="text"][id="Input_Password"] {
    padding-right: 50px;
}

.au-toggle-password {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: var(--au-text-soft);
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--au-trans);
    z-index: 3;
    padding: 0;
}
.au-toggle-password:hover {
    color: var(--au-primary);
    background: rgba(99,102,241,.08);
}
.au-toggle-password i { font-size: 16px; }

/* Options */
.au-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 6px 0 22px;
    gap: 12px;
    flex-wrap: wrap;
}
.au-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--au-text-muted);
    cursor: pointer;
    user-select: none;
    font-weight: 500;
    margin: 0;
}
.au-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--au-primary);
    cursor: pointer;
    margin: 0;
}
.au-forgot {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--au-primary);
    text-decoration: none;
    transition: var(--au-trans);
}
.au-forgot:hover { color: #4338ca; text-decoration: underline; }

/* Submit */
.au-btn-submit {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: var(--au-radius);
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #8b5cf6 100%);
    background-size: 200% auto;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .02em;
    cursor: pointer;
    transition: all 300ms cubic-bezier(.4,0,.2,1);
    box-shadow: 0 8px 24px rgba(99,102,241,.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    font-family: inherit;
}
.au-btn-submit::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
    transition: left 600ms;
}
.au-btn-submit:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(99,102,241,.45);
}
.au-btn-submit:hover::before { left: 100%; }
.au-btn-submit:active { transform: translateY(0); }
.au-btn-submit:disabled {
    opacity: .85;
    cursor: not-allowed;
    transform: none;
}
.au-btn-submit i { transition: transform .25s ease; }
.au-btn-submit:not(:disabled):hover i.fe-arrow-right { transform: translateX(4px); }

/* Social links */
.au-social {
    margin-top: 18px;
}
.au-social-title {
    margin-bottom: 12px;
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--au-text-soft);
}
.au-social-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.au-social-link {
    --social-accent: #0f172a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 88px;
    padding: 14px 12px;
    border-radius: 18px;
    border: 1px solid color-mix(in srgb, var(--social-accent) 18%, #e2e8f0);
    background:
        linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(248,250,252,.98) 100%),
        linear-gradient(135deg, color-mix(in srgb, var(--social-accent) 10%, #ffffff) 0%, rgba(255,255,255,1) 100%);
    color: var(--au-text);
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(15,23,42,.06);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.au-social-link:hover,
.au-social-link:focus-visible {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--social-accent) 40%, #cbd5e1);
    box-shadow: 0 16px 30px rgba(15,23,42,.12);
    color: var(--au-text);
    text-decoration: none;
}
.au-social-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--social-accent) 92%, #ffffff) 0%, color-mix(in srgb, var(--social-accent) 64%, #ffffff) 100%);
    color: #ffffff;
    font-size: 19px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.24);
}
.au-social-label {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .01em;
}
.au-social-link.is-linkedin { --social-accent: #0a66c2; }
.au-social-link.is-instagram { --social-accent: #e4405f; }
.au-social-link.is-facebook { --social-accent: #1877f2; }

/* Trust badges */
.au-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--au-border);
}
.au-trust .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--au-text-muted);
    letter-spacing: .03em;
    background: transparent;
    padding: 0;
}
.au-trust .badge i {
    color: var(--au-success);
    font-size: 13px;
}

/* Error / validation */
.au-alert-error,
#RespuestaLogin {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c !important;
    padding: 12px 14px;
    border-radius: var(--au-radius);
    font-size: 13.5px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.45;
    animation: au-shake .4s ease;
}
@keyframes au-shake {
    0%,100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}
.au-alert-error i { font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.au-alert-error:empty,
#RespuestaLogin:empty { display: none; }
#RespuestaLogin ul { margin: 0; padding-left: 18px; list-style: none; }
#RespuestaLogin li::before {
    content: "•";
    margin-right: 6px;
    color: #b91c1c;
}

/* Footer */
.au-card-footer {
    text-align: center;
    margin-top: 14px;
    line-height: 1.6;
}
.au-copyright {
    margin-top: 12px;
    font-size: 11.5px;
    color: var(--au-text-soft);
}
.au-copyright strong { color: var(--au-text); font-weight: 700; }

/* Spinner */
@keyframes au-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.au-spin { animation: au-spin 1s linear infinite; }

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1280px) {
    .au-brand img { height: 56px; }
    .au-hero h1 { font-size: 40px; }
    .au-modules { gap: 10px; }
    .au-module { padding: 16px 14px 14px; }
    .au-module-icon { width: 36px; height: 36px; font-size: 16px; }
}
@media (max-width: 1100px) {
    .au-hero { padding: 36px 36px 32px; }
    .au-hero h1 { font-size: 36px; }
    .au-modules { grid-template-columns: repeat(2, 1fr); }
    .au-stats .stat .num { font-size: 26px; }
}
@media (max-height: 860px) and (min-width: 981px) {
    .au-hero {
        padding: 24px 28px 22px;
    }
    .au-brand img {
        height: 52px;
        max-width: 260px;
    }
    .au-hero-content {
        margin-top: 16px;
    }
    .au-eyebrow {
        margin-bottom: 14px;
        padding: 7px 12px;
        font-size: 10.5px;
    }
    .au-hero h1 {
        font-size: 34px;
        margin-bottom: 12px;
    }
    .au-hero p.au-tagline { font-size: 15px; margin-bottom: 22px; }
    .au-modules-title { margin-bottom: 12px; }
    .au-modules {
        gap: 8px;
        margin-bottom: 18px;
    }
    .au-module {
        padding: 13px 12px 12px;
    }
    .au-module-icon {
        width: 34px;
        height: 34px;
        font-size: 15px;
        margin-bottom: 8px;
    }
    .au-module-name { font-size: 12px; }
    .au-module-desc { font-size: 10.5px; }
    .au-stats {
        gap: 12px;
        padding-top: 16px;
    }
    .au-stats .stat .num { font-size: 22px; }
    .au-stats .stat .label { font-size: 10px; }
    .au-float-icon { display: none; }
}
@media (max-width: 980px) {
    .au-split { grid-template-columns: 1fr; }
    .au-hero { display: none; }
    .au-card-mobile-logo { display: block; }
    .au-panel {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 56px 20px 36px;
    }
    .au-panel-orbit { display: none; }
    .au-float-icon { display: none; }
    .au-card {
        max-width: min(560px, 100%);
        box-shadow: 0 12px 42px rgba(15,23,42,.08);
    }
}
@media (max-width: 980px) and (max-height: 740px) {
    .au-panel {
        align-items: flex-start;
        padding-top: 28px;
        padding-bottom: 24px;
    }
}
@media (max-width: 860px) {
    .au-panel { padding: 48px 18px 30px; }
    .au-card { box-shadow: 0 10px 40px rgba(15,23,42,.08); }
}
@media (max-width: 640px) {
    .au-card-header { margin-bottom: 22px; }
    .au-options {
        flex-direction: column;
        align-items: flex-start;
    }
    .au-trust { justify-content: flex-start; }
}
@media (max-width: 480px) {
    .au-panel { padding: 42px 14px 26px; }
    .au-card { padding: 26px 20px 22px; border-radius: 18px; }
    .au-card-header h2 { font-size: 24px; }
    .au-card-header p { font-size: 13px; }
    .au-input { height: 48px; font-size: 14px; }
    .au-btn-submit { height: 50px; font-size: 14px; }
    .au-social-links { grid-template-columns: 1fr; }
    .au-social-link {
        min-height: 64px;
        flex-direction: row;
        justify-content: flex-start;
        padding: 12px 16px;
    }
    .au-social-label { font-size: 13px; }
    .au-options { font-size: 12.5px; }
    .au-trust { gap: 10px; }
    .au-trust .badge { font-size: 10px; }
}

/* ============================================================================
   OVERRIDES DE LIMPIEZA (en caso de fugas del tema global)
   ============================================================================ */
.au-body .login-img,
.au-body .page,
.au-body .sidebar,
.au-body #back-to-top { background: none !important; padding: 0 !important; margin: 0 !important; }

.modal-backdrop { background: rgba(15,23,42,.6); }
.modal-content {
    border: none;
    border-radius: var(--au-radius-lg);
    box-shadow: var(--au-shadow-lg);
}

#global-loader { display: none !important; }
