@import "https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap";

        :root {
            --brand-primary: #2563eb;
            --brand-secondary: #60a5fa;
            --brand-dark: #0f172a;
            --text-main: #1e293b;
            --text-muted: #64748b;
            --bg-light: #f8fafc;
            --white: #E1EBF5;
            --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
            --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
            --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Plus Jakarta Sans', sans-serif;
            background-color: var(--bg-light);
            color: var(--text-main);
            overflow-x: hidden;
        }

        .main-wrapper {
            display: flex;
            min-height: 100vh;
        }

        /* --- PANEL IZQUIERDO: BRANDING --- */
        .branding-panel {
            flex: 1.2;
            position: relative;
            background: var(--brand-dark);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 4rem;
            color: var(--white);
            overflow: hidden;
        }

        /* Efecto de fondo abstracto */
        .branding-panel::before {
            content: "";
            position: absolute;
            width: 150%;
            height: 150%;
            background: radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.4) 0%, transparent 50%),
                        radial-gradient(circle at 80% 70%, rgba(23, 33, 45, 0.2) 0%, transparent 50%); 
            top: -25%;
            left: -25%;
        }

        .branding-content {
            position: relative;
            z-index: 10;
            max-width: 520px;
        }

        .logo {
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 3rem;
            display: flex;
            align-items: center;
            letter-spacing: -1px;
        }

        .logo span {
            color: var(--brand-secondary);
        }

        .branding-content h1 {
            font-size: 3.5rem;
            line-height: 1.1;
            font-weight: 800;
            margin-bottom: 1.5rem;
            letter-spacing: -2px;
        }

        .branding-content p {
            font-size: 1.125rem;
            line-height: 1.6;
            color: #cbd5e1;
            margin-bottom: 2.5rem;
        }

        .stat-tag {
            display: inline-flexbox;
            align-items: center;
            text-align: center;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(12px);
            padding: 0.6rem 1.2rem;
            border-radius: 100px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            font-size: 0.875rem;
            font-weight: 500;
        }

        /* --- PANEL DERECHO: FORMULARIO --- */
        .form-panel {
            flex: 1;
            background: var(--white);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2.5rem;
        }

        .login-box {
            width: 100%;
            max-width: 420px;
            animation: slideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }

        @keyframes slideIn {
            from { opacity: 0; transform: translateX(30px); }
            to { opacity: 1; transform: translateX(0); }
        }

        .mobile-logo {
            display: none;
            font-weight: 800;
            font-size: 1.5rem;
            color: var(--brand-primary);
            margin-bottom: 2rem;
        }

        .login-box h2 {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--brand-dark);
        }

        .login-box .subtitle {
            color: var(--text-muted);
            margin-bottom: 2.5rem;
            font-size: 1rem;
        }

        .input-group {
            margin-bottom: 1.5rem;
        }

        .input-group label {
            display: block;
            font-size: 0.875rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .input-group input {
            width: 100%;
            padding: 0.875rem 1rem;
            background: #f1f5f9;
            border: 2px solid transparent;
            border-radius: 12px;
            font-size: 1rem;
            font-family: inherit;
            transition: all 0.2s;
        }

        .input-group input:focus {
            outline: none;
            background: var(--white);
            border-color: var(--brand-primary);
            box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
        }

        .form-helper {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            font-size: 0.875rem;
        }

        .remember-me {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
            color: var(--text-muted);
        }

        .forgot-link {
            color: var(--brand-primary);
            text-decoration: none;
            font-weight: 600;
        }

        .btn-submit {
            width: 100%;
            padding: 1rem;
            background: var(--brand-primary);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
        }

        .btn-submit:hover {
            background: #1d4ed8;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
        }

        .divider {
            margin: 2rem 0;
            display: flex;
            align-items: center;
            text-align: center;
            color: var(--text-muted);
            font-size: 0.875rem;
        }

        .divider::before, .divider::after {
            content: '';
            flex: 1;
            border-bottom: 1px solid #e2e8f0;
        }

        .divider span {
            padding: 0 1rem;
        }

        .btn-google {
            width: 100%;
            padding: 0.875rem;
            background: var(--white);
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s;
        }

        .btn-google:hover {
            background: #f8fafc;
        }

        .footer-link {
            margin-top: 2.5rem;
            text-align: center;
            font-size: 0.95rem;
            color: var(--text-muted);
        }

        .footer-link a {
            color: var(--brand-primary);
            text-decoration: none;
            font-weight: 700;
        }

        /* --- RESPONSIVE --- */
        @media (max-width: 1024px) {
            .branding-panel { padding: 2rem; }
            .branding-content h1 { font-size: 2.5rem; }
        }

        @media (max-width: 850px) {
            .branding-panel { display: none; }
            .mobile-logo { display: block; }
            .form-panel { background: var(--bg-light); }
            .login-box {
                background: var(--white);
                padding: 3rem 2rem;
                border-radius: 24px;
                box-shadow: var(--shadow-xl);
            }
        }
