* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            min-height: 100vh;
            display: flex;
            background: #fafafa;
        }
        
        .login-wrapper {
            display: flex;
            width: 100%;
            min-height: 100vh;
        }
        
        /* ===== PANEL IZQUIERDO - CON IMAGEN DE FONDO ===== */
        .brand-panel {
        flex: 1;
        /* ✅ Fondo azul con gradiente y círculos animados */
        background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 60px 40px;
        color: white;
        overflow: hidden;
        }
        
        /* ✅ Overlay sutil para los círculos animados */
        .brand-panel::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.03);
        z-index: 1;
        pointer-events: none;
        }
        
        .shape {
        position: absolute;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        pointer-events: none;
        z-index: 2;
        }
        
        .shape-1 {
            width: 400px;
            height: 400px;
            top: -100px;
            left: -100px;
            animation: float-1 20s ease-in-out infinite;
        }
        
        .shape-2 {
            width: 300px;
            height: 300px;
            bottom: -80px;
            right: -80px;
            background: rgba(255, 255, 255, 0.05);
            animation: float-2 25s ease-in-out infinite;
        }
        
        .shape-3 {
            width: 200px;
            height: 200px;
            top: 50%;
            left: 60%;
            background: rgba(255, 255, 255, 0.06);
            animation: float-3 18s ease-in-out infinite;
        }
        
        .shape-4 {
            width: 150px;
            height: 150px;
            top: 20%;
            right: 20%;
            background: rgba(255, 255, 255, 0.04);
            animation: float-1 22s ease-in-out infinite reverse;
        }
        
        .shape-5 {
            width: 100px;
            height: 100px;
            bottom: 30%;
            left: 20%;
            background: rgba(255, 255, 255, 0.07);
            animation: float-2 15s ease-in-out infinite;
        }
        
        @keyframes float-1 {
            0%, 100% { transform: translate(0, 0) scale(1); }
            50% { transform: translate(30px, -30px) scale(1.1); }
        }
        
        @keyframes float-2 {
            0%, 100% { transform: translate(0, 0) scale(1); }
            50% { transform: translate(-20px, 20px) scale(0.95); }
        }
        
        @keyframes float-3 {
            0%, 100% { transform: translate(0, 0); }
            33% { transform: translate(20px, 20px); }
            66% { transform: translate(-10px, -20px); }
        }
        
        .line-decoration {
            position: absolute;
            background: rgba(255, 255, 255, 0.1);
            z-index: 2;
        }
        
        .line-1 {
            width: 1px;
            height: 200px;
            top: 10%;
            left: 15%;
        }
        
        .line-2 {
            width: 1px;
            height: 150px;
            bottom: 15%;
            right: 25%;
        }
        
        .line-3 {
            width: 100px;
            height: 1px;
            top: 70%;
            left: 10%;
        }
        
        .brand-content {
            position: relative;
            z-index: 10;
            text-align: center;
            max-width: 400px;
            animation: fadeIn 0.8s ease-out;
        }
        
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .brand-logo {
            width: 88px;
            height: 88px;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 22px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 28px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        }
        
        .brand-logo svg {
            width: 44px;
            height: 44px;
            color: white;
        }
        
        .brand-title {
            font-size: 52px;
            font-weight: 800;
            margin-bottom: 12px;
            letter-spacing: -1.5px;
            line-height: 1;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
        }
        
        .brand-subtitle {
            font-size: 16px;
            font-weight: 400;
            opacity: 0.95;
            letter-spacing: 0.3px;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
        }
        
        .brand-year {
            position: absolute;
            bottom: 40px;
            left: 40px;
            font-size: 13px;
            opacity: 0.8;
            font-weight: 500;
            z-index: 10;
            text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
        }
        
        /* ===== PANEL DERECHO - FORMULARIO ===== */
        .form-panel {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 40px;
            background: white;
            animation: fadeIn 0.8s ease-out;
        }
        
        .form-container {
            width: 100%;
            max-width: 400px;
        }
        
        .form-header {
            margin-bottom: 36px;
        }
        
        .form-header h1 {
            font-size: 30px;
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 8px;
            letter-spacing: -0.5px;
        }
        
        .form-header p {
            color: #64748b;
            font-size: 15px;
            font-weight: 400;
        }
        
        .alert {
            padding: 14px 16px;
            border-radius: 10px;
            margin-bottom: 24px;
            font-size: 14px;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 10px;
            background: #fef2f2;
            border: 1px solid #fecaca;
            color: #991b1b;
            animation: shake 0.4s ease-in-out;
        }
        
        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-6px); }
            75% { transform: translateX(6px); }
        }
        
        .alert svg {
            width: 18px;
            height: 18px;
            flex-shrink: 0;
        }
        
        .form-group {
            margin-bottom: 22px;
        }
        
        .form-label {
            display: block;
            font-size: 14px;
            font-weight: 500;
            color: #334155;
            margin-bottom: 8px;
        }
        
        .input-wrapper {
            position: relative;
        }
        
        .input-icon {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: #94a3b8;
            width: 18px;
            height: 18px;
            pointer-events: none;
            transition: color 0.2s ease;
        }
        
        .form-input {
            width: 100%;
            padding: 13px 14px 13px 42px;
            font-size: 15px;
            border: 1.5px solid #e2e8f0;
            border-radius: 10px;
            background: #fafafa;
            transition: all 0.2s ease;
            font-family: 'Inter', sans-serif;
            color: #0f172a;
        }
        
        .form-input:focus {
            outline: none;
            background: white;
            border-color: #2563eb;
        }
        
        .form-input:focus ~ .input-icon {
            color: #2563eb;
        }
        
        .form-input::placeholder {
            color: #94a3b8;
        }
        
        .toggle-password {
            position: absolute;
            right: 14px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            cursor: pointer;
            color: #94a3b8;
            padding: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: color 0.2s ease;
        }
        
        .toggle-password:hover {
            color: #2563eb;
        }
        
        .toggle-password svg {
            width: 18px;
            height: 18px;
        }
        
        .form-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 28px;
            font-size: 14px;
        }
        
        .checkbox-wrapper {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            user-select: none;
        }
        
        .checkbox-wrapper input {
            width: 16px;
            height: 16px;
            cursor: pointer;
            accent-color: #2563eb;
        }
        
        .checkbox-wrapper label {
            color: #475569;
            cursor: pointer;
            font-weight: 400;
        }
        
        .btn-login {
            width: 100%;
            padding: 14px;
            font-size: 15px;
            font-weight: 600;
            color: white;
            background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
            border: none;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.2s ease;
            letter-spacing: 0.3px;
        }
        
        .btn-login:hover {
            transform: translateY(-1px);
            opacity: 0.95;
        }
        
        .btn-login:active {
            transform: translateY(0);
        }
        
        .form-footer {
            text-align: center;
            margin-top: 32px;
            padding-top: 24px;
            border-top: 1px solid #e2e8f0;
        }
        
        .form-footer p {
            font-size: 13px;
            color: #64748b;
        }
        
        .form-footer a {
            color: #2563eb;
            text-decoration: none;
            font-weight: 600;
        }
        
        .form-footer a:hover {
            text-decoration: underline;
        }
        
        @media (max-width: 968px) {
            .login-wrapper {
                flex-direction: column;
            }
            
            .brand-panel {
                padding: 50px 30px;
                min-height: 350px;
            }
            
            .brand-title {
                font-size: 40px;
            }
            
            .brand-subtitle {
                font-size: 14px;
            }
            
            .form-panel {
                padding: 40px 24px;
            }
        }
        
        @media (max-width: 480px) {
            .brand-panel {
                padding: 40px 20px;
                min-height: 280px;
            }
            
            .brand-logo {
                width: 70px;
                height: 70px;
                margin-bottom: 20px;
            }
            
            .brand-logo svg {
                width: 36px;
                height: 36px;
            }
            
            .brand-title {
                font-size: 32px;
            }
            
            .form-header h1 {
                font-size: 26px;
            }
            
            .form-panel {
                padding: 32px 20px;
            }
        }