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

        body {
            font-family: 'Poppins', sans-serif;
            height: 100vh;
            overflow: hidden;
        }

        .login-container {
            display: flex;
            height: 100vh;
            position: relative;
        }

        /* Lado izquierdo - Branding */
        .brand-side {
            flex: 1;
            background: linear-gradient(135deg, #3FAFA7 0%, #2d9189 50%, #1f7972 100%);
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 60px;
            overflow: hidden;
        }

        /* Patrón de fondo microscópico */
        .brand-side::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: 
                radial-gradient(circle at 25% 35%, rgba(255,255,255,0.06) 2px, transparent 2px),
                radial-gradient(circle at 75% 65%, rgba(255,255,255,0.06) 2px, transparent 2px);
            background-size: 150px 150px, 200px 200px;
            background-position: 0 0, 50px 50px;
        }

        /* Formas orgánicas de tinción - Sutiles pero visibles */
        .stain-shape {
            position: absolute;
            border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
            filter: blur(50px);
            mix-blend-mode: soft-light;
            opacity: 0;
            animation: stainFlow 12s ease-in-out infinite;
        }

        /* Forma 1 - Grande, violeta */
        .stain-shape:nth-child(1) {
            width: 550px;
            height: 550px;
            top: 8%;
            left: -3%;
            background: radial-gradient(circle, rgba(180, 100, 230, 0.75), rgba(200, 130, 240, 0.4));
            animation-delay: 0s;
            animation-duration: 14s;
        }

        /* Forma 2 - Mediana, rosa */
        .stain-shape:nth-child(2) {
            width: 500px;
            height: 500px;
            bottom: 12%;
            right: 8%;
            background: radial-gradient(circle, rgba(240, 120, 170, 0.7), rgba(255, 150, 190, 0.4));
            animation-delay: 2s;
            animation-duration: 13s;
        }

        /* Forma 3 - Grande, violeta-rosa */
        .stain-shape:nth-child(3) {
            width: 600px;
            height: 600px;
            top: 42%;
            left: 38%;
            background: radial-gradient(circle, rgba(190, 110, 220, 0.65), rgba(210, 140, 240, 0.35));
            animation-delay: 4s;
            animation-duration: 16s;
        }

        /* Forma 4 - Mediana, morado */
        .stain-shape:nth-child(4) {
            width: 480px;
            height: 480px;
            top: 22%;
            right: 18%;
            background: radial-gradient(circle, rgba(150, 90, 200, 0.75), rgba(170, 110, 220, 0.4));
            animation-delay: 6s;
            animation-duration: 15s;
        }

        /* Forma 5 - Grande, coral */
        .stain-shape:nth-child(5) {
            width: 530px;
            height: 530px;
            bottom: 18%;
            left: 22%;
            background: radial-gradient(circle, rgba(250, 130, 160, 0.65), rgba(255, 160, 180, 0.35));
            animation-delay: 8s;
            animation-duration: 14s;
        }

        @keyframes stainFlow {
            0% {
                opacity: 0;
                transform: translate(0, 0) scale(0.75) rotate(0deg);
                border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
            }
            20% {
                opacity: 0.5;
            }
            40% {
                opacity: 0.8;
                transform: translate(35px, -25px) scale(1.08) rotate(120deg);
                border-radius: 40% 60% 50% 70% / 60% 40% 60% 40%;
            }
            60% {
                opacity: 0.9;
                transform: translate(18px, 30px) scale(1.15) rotate(240deg);
                border-radius: 70% 30% 40% 60% / 40% 70% 50% 60%;
            }
            80% {
                opacity: 0.6;
            }
            100% {
                opacity: 0;
                transform: translate(0, 0) scale(0.75) rotate(360deg);
                border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
            }
        }

        /* Células - MÁS PEQUEÑAS y mejor distribuidas (6 células) */
        .cell {
            position: absolute;
            border-radius: 50%;
            /* Simula el citoplasma teñido de Eosina (Rosa/Coral pálido) */
            background: radial-gradient(circle at 28% 28%, rgba(255, 150, 190, 0.45), rgba(255, 180, 210, 0.15));
            border: 2px solid rgba(255,255,255,0.23);
            box-shadow: 0 0 25px rgba(255,255,255,0.18);
            animation: cellPulse 6s ease-in-out infinite;
        }

        /* Célula 1 - VIOLETA - Arriba izquierda */
        .cell:nth-child(6) {
            width: 140px;
            height: 140px;
            top: 10%;
            left: 10%;
            animation-delay: 0s;
        }

        .cell:nth-child(6)::before {
background: radial-gradient(circle, rgba(100, 50, 150, 0.8), rgba(120, 70, 170, 0.5));
    box-shadow: 0 0 18px rgba(160, 95, 210, 0.45);
        }

        /* Célula 2 - ROSA - Arriba derecha */
        .cell:nth-child(7) {
background: radial-gradient(circle at 28% 28%, rgba(240, 120, 170, 0.3), rgba(255, 150, 190, 0.1));
    animation-delay: 1.5s;
        }

        .cell:nth-child(7)::before {
background: radial-gradient(circle, rgba(160, 95, 210, 0.75), rgba(140, 80, 190, 0.45));
    box-shadow: 0 0 18px rgba(230, 115, 160, 0.45);
        }

        /* Célula 3 - VIOLETA - Centro izquierda */
        .cell:nth-child(8) {
            width: 130px;
            height: 130px;
            top: 48%;
            left: 15%;
            animation-delay: 3s;
        }

        .cell:nth-child(8)::before {
            background: radial-gradient(circle, rgba(170, 100, 220, 0.68), rgba(150, 85, 200, 0.38));
            box-shadow: 0 0 18px rgba(170, 100, 220, 0.45);
        }

        /* Célula 4 - ROSA - Centro derecha */
        .cell:nth-child(9) {
            width: 125px;
            height: 125px;
            top: 55%;
            right: 10%;
            animation-delay: 4.5s;
        }

        .cell:nth-child(9)::before {
            background: radial-gradient(circle, rgba(240, 120, 165, 0.68), rgba(220, 100, 145, 0.38));
            box-shadow: 0 0 18px rgba(240, 120, 165, 0.45);
        }

        /* Célula 5 - VIOLETA - Abajo izquierda */
        .cell:nth-child(10) {
            width: 135px;
            height: 135px;
            bottom: 15%;
            left: 18%;
            animation-delay: 2s;
        }

        .cell:nth-child(10)::before {
            background: radial-gradient(circle, rgba(155, 90, 205, 0.68), rgba(135, 75, 185, 0.38));
            box-shadow: 0 0 18px rgba(155, 90, 205, 0.45);
        }

        /* Célula 6 - ROSA - Abajo derecha */
        .cell:nth-child(11) {
            width: 115px;
            height: 115px;
            bottom: 22%;
            right: 15%;
            animation-delay: 5s;
        }

        .cell:nth-child(11)::before {
            background: radial-gradient(circle, rgba(235, 110, 155, 0.68), rgba(215, 90, 135, 0.38));
            box-shadow: 0 0 18px rgba(235, 110, 155, 0.45);
        }

        @keyframes cellPulse {
            0%, 100% {
                transform: scale(1);
                opacity: 0.3;
            }
            50% {
                transform: scale(1.1);
                opacity: 0.46;
            }
        }

        /* Núcleo celular - Base para todos */
        .cell::before {
content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 38%;
    height: 38%;
    border-radius: 50%;
    /* Núcleo de color Violeta/Morado, más oscuro */
    background: radial-gradient(circle, rgba(100, 50, 150, 0.8), rgba(120, 70, 170, 0.5));
    box-shadow: 0 0 10px rgba(100, 50, 150, 0.6);
    animation: nucleusGlow 3s ease-in-out infinite;
        }

        @keyframes nucleusGlow {
            0%, 100% {
                opacity: 0.62;
                transform: translate(-50%, -50%) scale(1);
            }
            50% {
                opacity: 0.82;
                transform: translate(-50%, -50%) scale(1.14);
            }
        }

        /* Partículas flotantes sutiles */
        .particle {
            position: absolute;
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.65);
            box-shadow: 0 0 10px rgba(255,255,255,0.5);
            animation: particleFloat 15s linear infinite;
        }

        .particle:nth-child(12) { top: 20%; left: 30%; animation-delay: 0s; }
        .particle:nth-child(13) { top: 60%; left: 70%; animation-delay: 3s; }
        .particle:nth-child(14) { top: 80%; left: 20%; animation-delay: 6s; }
        .particle:nth-child(15) { top: 40%; left: 80%; animation-delay: 9s; }
        .particle:nth-child(16) { top: 70%; left: 45%; animation-delay: 12s; }
        .particle:nth-child(17) { top: 30%; left: 60%; animation-delay: 2s; }
        .particle:nth-child(18) { top: 50%; left: 25%; animation-delay: 5s; }
        .particle:nth-child(19) { top: 65%; left: 85%; animation-delay: 8s; }

        @keyframes particleFloat {
            0% {
                transform: translateY(0) translateX(0);
                opacity: 0;
            }
            10% {
                opacity: 0.75;
            }
            90% {
                opacity: 0.55;
            }
            100% {
                transform: translateY(-110px) translateX(50px);
                opacity: 0;
            }
        }

        .brand-content {
            position: relative;
            z-index: 2;
            text-align: center;
            color: white;
            animation: fadeInUp 1s ease-out;
            width: 100%;
            max-width: 520px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .logo-card {
            background: white;
            padding: 35px 45px;
            border-radius: 24px;
            box-shadow: 0 25px 70px rgba(0,0,0,0.25), 0 10px 30px rgba(0,0,0,0.15);
            margin-bottom: 45px;
            transition: transform 0.3s ease;
        }

        .logo-card:hover {
            transform: translateY(-5px);
        }

        .logo-card img {
            width: 300px;
            height: auto;
            display: block;
        }

        .brand-title {
            font-size: 34px;
            font-weight: 600;
            margin-bottom: 18px;
            text-shadow: 0 3px 15px rgba(0,0,0,0.2);
            line-height: 1.3;
        }

        .brand-subtitle {
            font-size: 17px;
            font-weight: 300;
            line-height: 1.7;
            opacity: 0.97;
            margin: 0 auto 35px;
            max-width: 480px;
        }

        .brand-link {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            width: 100%;
            color: white;
            text-decoration: none;
            font-size: 16px;
            font-weight: 600;
            padding: 16px 24px;
            border: none;
            border-radius: 12px;
            transition: all 0.3s ease;
            background: linear-gradient(135deg, #E85C2A 0%, #f57542 100%);
            box-shadow: 0 6px 20px rgba(232, 92, 42, 0.35);
        }

        .brand-link:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(232, 92, 42, 0.45);
        }

        .brand-link:active {
            transform: translateY(-1px);
        }

        .brand-link i {
            font-size: 18px;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Lado derecho - Formulario */
        .form-side {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #F6F8FA;
            padding: 60px;
            position: relative;
        }

        /* Elemento decorativo esquina */
        .form-side::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 250px;
            height: 250px;
            background: linear-gradient(135deg, rgba(232, 92, 42, 0.08) 0%, transparent 70%);
            border-radius: 0 0 0 100%;
        }

        .login-form {
            width: 100%;
            max-width: 520px;
            position: relative;
            z-index: 2;
            background: white;
            padding: 50px 50px;
            border-radius: 24px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.08);
        }

        .form-header {
            margin-bottom: 40px;
            animation: fadeIn 1s ease-out;
        }

        .form-header h2 {
            font-size: 28px;
            font-weight: 600;
            color: #2d9189;
            margin-bottom: 8px;
        }

        .form-header p {
            color: #7A7A7A;
            font-size: 15px;
            font-weight: 400;
        }

        .form-header p span {
            color: #3FAFA7;
            font-weight: 500;
        }

        .form-group {
            margin-bottom: 28px;
            animation: fadeIn 1s ease-out 0.2s both;
        }

        .form-group label {
            display: block;
            margin-bottom: 10px;
            color: #333;
            font-weight: 500;
            font-size: 14px;
        }

        .input-wrapper {
            position: relative;
        }

        .input-icon {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #7A7A7A;
            font-size: 16px;
            transition: color 0.3s ease;
        }

        .form-group input {
            width: 100%;
            padding: 15px 16px 15px 46px;
            border: 2px solid #e0e0e0;
            border-radius: 12px;
            font-size: 15px;
            transition: all 0.3s ease;
            font-family: 'Poppins', sans-serif;
            background: #ffffff;
        }

        .form-group input:focus {
            outline: none;
            border-color: #3FAFA7;
            box-shadow: 0 0 0 4px rgba(63, 175, 167, 0.12);
        }

        .form-group input:focus + .input-icon {
            color: #3FAFA7;
        }

        .form-group input::placeholder {
            color: #aaa;
        }

        .form-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 32px;
            animation: fadeIn 1s ease-out 0.3s both;
        }

        .remember-me {
            display: flex;
            align-items: center;
            gap: 9px;
        }

        .remember-me input[type="checkbox"] {
            width: 19px;
            height: 19px;
            cursor: pointer;
            accent-color: #3FAFA7;
        }

        .remember-me label {
            font-size: 14px;
            color: #666;
            cursor: pointer;
            user-select: none;
        }

        .forgot-password {
            font-size: 14px;
            color: #E85C2A;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
        }

        .forgot-password::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background: #E85C2A;
            transition: width 0.3s ease;
        }

        .forgot-password:hover::after {
            width: 100%;
        }

        .forgot-password:hover {
            color: #d14d1f;
        }

        .submit-btn {
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, #E85C2A 0%, #f57542 100%);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 6px 20px rgba(232, 92, 42, 0.35);
            animation: fadeIn 1s ease-out 0.4s both;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(232, 92, 42, 0.45);
        }

        .submit-btn:active {
            transform: translateY(-1px);
        }

        .submit-btn i {
            font-size: 18px;
        }

        .footer-info {
            margin-top: 40px;
            text-align: center;
            animation: fadeIn 1s ease-out 0.5s both;
        }

        .footer-info p {
            color: #999;
            font-size: 13px;
            margin-bottom: 8px;
        }

        .footer-divider {
            width: 60px;
            height: 2px;
            background: linear-gradient(to right, #3FAFA7, #E85C2A);
            margin: 12px auto;
        }

        .powered-by {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            color: #7A7A7A;
            font-size: 12px;
            flex-wrap: wrap;
        }

        .powered-by strong {
            color: #3FAFA7;
            font-weight: 600;
        }

        .powered-by a {
color: inherit; /* Hace que el enlace tome el color del texto de su elemento padre (el <strong>) */
    text-decoration: none; /* Elimina el subrayado molesto de los enlaces */
    transition: color 0.3s ease; /* Mantiene la transición de color */
        }

        .powered-by a:hover {
            color: #d14d1f;
        }

        .dna-icon {
            color: #3FAFA7;
            font-size: 14px;
            margin-left: 4px;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .brand-side {
                padding: 40px 30px;
            }
            
            .form-side {
                padding: 40px 30px;
            }

            .login-form {
                padding: 40px 35px;
            }

            .brand-title {
                font-size: 30px;
            }

            .brand-subtitle {
                font-size: 15px;
            }
        }

        @media (max-width: 768px) {
            .login-container {
                flex-direction: column;
            }

            .brand-side {
                flex: 0 0 auto;
                padding: 40px 25px;
                min-height: 380px;
            }

            .brand-content {
                max-width: 100%;
            }

            .logo-card {
                padding: 25px 35px;
                margin-bottom: 30px;
            }

            .logo-card img {
                width: 220px;
            }

            .brand-title {
                font-size: 24px;
            }

            .brand-subtitle {
                font-size: 14px;
                margin-bottom: 25px;
            }

            .cell, .stain-shape, .particle {
                display: none;
            }

            .form-side {
                flex: 1;
                padding: 30px 20px;
                background: white;
            }

            .form-side::before {
                width: 150px;
                height: 150px;
            }

            .login-form {
                max-width: 100%;
                padding: 30px 25px;
                box-shadow: none;
                border-top: 3px solid #E85C2A;
            }

            .form-header h2 {
                font-size: 24px;
            }

            .form-options {
                flex-direction: column;
                gap: 15px;
                align-items: flex-start;
            }
        }
