        :root {
            --primary-color: #0284c7;
            --primary-hover: #0369a1;
            --brand-navy: #1F2370;
            --brand-navy-dark: #161A55;
        }
        
        * {
            font-family: 'Inter', sans-serif;
        }
        
        body {
            min-height: 100vh;
            display: flex;
            background: #f8fafc;
        }
        
        .auth-split {
            display: flex;
            width: 100%;
            min-height: 100vh;
        }
        
        /* ── Columna marca ── */
        .auth-brand {
            flex: 1.1;
            background: linear-gradient(160deg, var(--brand-navy) 0%, var(--brand-navy-dark) 100%);
            color: #fff;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 3rem 3.5rem;
            position: relative;
            overflow: hidden;
        }
        .auth-brand::before {
            content: '';
            position: absolute;
            inset: 0;
            background:
                radial-gradient(circle at 85% 15%, rgba(2,132,199,.28), transparent 45%),
                radial-gradient(circle at 10% 90%, rgba(2,132,199,.16), transparent 40%);
            pointer-events: none;
        }
        .auth-brand-inner { position: relative; max-width: 480px; }
        .auth-brand .brand-logo {
            height: 80px; width: auto; display: block;
            margin: 0 0 .25rem -10px; /* el SVG trae margen interno */
        }
        .auth-brand h1 {
            font-size: 2.4rem; font-weight: 700; margin: 0; letter-spacing: -.02em;
        }
        .auth-brand .tagline {
            color: #94a3b8; font-size: 1.05rem; margin: .5rem 0 2rem;
        }
        .auth-brand ul.brand-features { list-style: none; padding: 0; margin: 0 0 2rem; }
        .auth-brand ul.brand-features li {
            display: flex; align-items: center; gap: .8rem;
            padding: .55rem 0; color: #cbd5e1; font-size: .95rem;
        }
        .auth-brand ul.brand-features i {
            width: 34px; height: 34px; flex: 0 0 34px;
            display: flex; align-items: center; justify-content: center;
            background: rgba(2,132,199,.18); color: #38bdf8;
            border-radius: 10px; font-size: 1rem;
        }
        .auth-brand .brand-foot {
            color: #64748b; font-size: .8rem; border-top: 1px solid rgba(255,255,255,.08);
            padding-top: 1.25rem;
        }
        
        /* ── Columna formulario ── */
        .auth-form-side {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem 1.5rem;
            background: #fff;
        }
        .auth-card {
            width: 100%;
            max-width: 420px;
        }
        .mobile-brand {
            text-align: center; margin-bottom: 1.5rem;
        }
        .mobile-brand img { height: 64px; width: auto; }
        
        @media (max-width: 991.98px) {
            .auth-brand { display: none; }
        }
        @media (min-width: 992px) {
            .mobile-brand { display: none; }
        }
        
        .auth-title {
            margin-bottom: 25px;
        }
        
        .auth-title h2 {
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--brand-navy);
            margin: 0;
        }
        
        .auth-title p {
            color: #64748b;
            margin: 8px 0 0;
            font-size: 0.9rem;
        }
        
        .form-label {
            font-weight: 500;
            color: #374151;
            font-size: 0.875rem;
        }
        
        .form-control {
            border-radius: 8px;
            padding: 12px 16px;
            border: 1px solid #d1d5db;
            font-size: 0.95rem;
            transition: all 0.2s;
        }
        
        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
        }
        
        .input-group-text {
            background: #f9fafb;
            border: 1px solid #d1d5db;
            border-radius: 8px 0 0 8px;
            color: #6b7280;
        }
        
        .input-group .form-control {
            border-radius: 0 8px 8px 0;
        }
        
        .btn-primary {
            background: var(--primary-color);
            border: none;
            border-radius: 8px;
            padding: 12px 24px;
            font-weight: 500;
            font-size: 0.95rem;
            transition: all 0.2s;
        }
        
        .btn-primary:hover {
            background: var(--primary-hover);
            transform: translateY(-1px);
        }
        
        .btn-primary:active {
            transform: translateY(0);
        }
        
        .auth-links {
            margin-top: 20px;
        }
        
        .auth-links a {
            color: var(--primary-color);
            text-decoration: none;
            font-size: 0.875rem;
            font-weight: 500;
        }
        
        .auth-links a:hover {
            text-decoration: underline;
        }
        
        .alert {
            border-radius: 8px;
            font-size: 0.875rem;
            border: none;
        }
        
        .alert-danger {
            background: #fef2f2;
            color: #991b1b;
        }
        
        .alert-success {
            background: #f0fdf4;
            color: #166534;
        }
        
        .form-check-input:checked {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }
        
        .password-toggle {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #6b7280;
            cursor: pointer;
            z-index: 10;
        }
        
        .password-wrapper {
            position: relative;
        }
        
        .password-wrapper .form-control {
            padding-right: 45px;
        }