        :root {
            --wa-primary: #00A884;
            --wa-secondary: #008069;
            --wa-accent: #25D366;
            --wa-chat-bg: #E6E6E6;
            --wa-bubble-out: #D9FDD3;
            --wa-bubble-in: #FFFFFF;
            --wa-text-dark: #3B4A54;
            --wa-text-light: #667781;
            --wa-border: #E9EDEF;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
        }
        
        body {
            background-color: var(--wa-chat-bg);
            color: var(--wa-text-dark);
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            position: relative;
            overflow-x: hidden;
        }
        
        /* Estilos para el fondo dinámico */
        .background-video, .background-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: -2;
        }
        
        .background-image {
            background-size: cover;
            background-position: center;
        }
        
        /* Patrón de fondo con iconos de mensaje (solo cuando no hay fondo dinámico) */
        body.no-dynamic-bg::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 24 24' fill='none' stroke='%2300A884' stroke-width='1' stroke-opacity='0.08' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'%3E%3C/path%3E%3C/svg%3E"),
                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24' fill='none' stroke='%23008069' stroke-width='1' stroke-opacity='0.08' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'%3E%3C/path%3E%3C/svg%3E"),
                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 24 24' fill='none' stroke='%2325D366' stroke-width='1' stroke-opacity='0.08' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'%3E%3C/path%3E%3C/svg%3E");
            background-position: 
                20% 30%,
                70% 60%,
                40% 80%;
            background-repeat: no-repeat;
            z-index: -1;
        }
        
        /* Iconos de mensaje flotantes (solo cuando no hay fondo dinámico) */
        body.no-dynamic-bg .message-icon {
            display: block;
        }
        
        .message-icon {
            position: absolute;
            opacity: 0.08;
            z-index: -1;
            display: none;
        }
        
        .message-1 {
            width: 100px;
            height: 100px;
            top: 15%;
            right: 10%;
            fill: var(--wa-primary);
            animation: float 8s ease-in-out infinite;
        }
        
        .message-2 {
            width: 60px;
            height: 60px;
            bottom: 20%;
            left: 10%;
            fill: var(--wa-secondary);
            animation: float 10s ease-in-out infinite 2s;
        }
        
        .message-3 {
            width: 80px;
            height: 80px;
            top: 60%;
            right: 15%;
            fill: var(--wa-accent);
            animation: float 7s ease-in-out infinite 1s;
        }
        
        @keyframes float {
            0%, 100% {
                transform: translateY(0) rotate(0deg);
            }
            50% {
                transform: translateY(-15px) rotate(3deg);
            }
        }
        
        .login-container {
            width: 100%;
            max-width: 420px;
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            margin: 20px;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.4s ease-out, transform 0.4s ease-out;
            position: relative;
            z-index: 1;
        }
        
        .login-container.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        .login-header {
            background-color: var(--wa-primary);
            padding: 20px;
            text-align: center;
            color: white;
            position: relative;
            overflow: hidden;
        }
        
        .login-header::before {
            content: '';
            position: absolute;
            top: -50px;
            right: -50px;
            width: 150px;
            height: 150px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
        }
        
        .login-header::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 0;
            width: 100%;
            height: 30px;
            background-color: white;
            border-top-left-radius: 20px;
            border-top-right-radius: 20px;
        }
        
        .login__logo {
            /* max-width: 150px; */
            /* max-height: 80px; */
            object-fit: contain;
            margin: 0 auto;
            display: block;
        }
        
        .login-title {
            font-size: 24px;
            font-weight: 300;
            margin-top: 15px;
            position: relative;
            z-index: 2;
            color: white;
        }
        
        .login-subtitle {
            font-size: 14px;
            opacity: 0.9;
            font-weight: 400;
            position: relative;
            z-index: 2;
            color: white;
            margin-bottom: 10px;
        }
        
        .login-body {
            padding: 30px;
            background-color: white;
        }
        
        .input-group {
            position: relative;
            margin-bottom: 25px;
        }
        
        .input-icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--wa-primary);
            font-size: 20px;
        }
        
        .form-input {
            width: 100%;
            padding: 14px 14px 14px 50px;
            border: 1px solid var(--wa-border);
            border-radius: 8px;
            font-size: 16px;
            transition: all 0.3s ease;
            background-color: #f9f9f9;
        }
        
        .form-input:focus {
            outline: none;
            border-color: var(--wa-primary);
            background-color: white;
            box-shadow: 0 0 0 2px rgba(0, 168, 132, 0.2);
        }
        
        .password-toggle {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--wa-text-light);
            cursor: pointer;
            font-size: 20px;
        }
        
        .login-button {
            width: 100%;
            padding: 14px;
            background-color: var(--wa-accent);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            position: relative;
            overflow: hidden;
        }
        
        .login-button:hover {
            background-color: #1fc858;
            transform: translateY(-1px);
        }
        
        .login-button:active {
            transform: translateY(0);
        }
        
        .login-footer {
            text-align: center;
            margin-top: 25px;
            font-size: 14px;
            color: var(--wa-text-light);
        }
        
        .login-footer a {
            color: var(--wa-primary);
            text-decoration: none;
            font-weight: 500;
            cursor: pointer;
        }
        
        /* Efecto de onda al hacer clic */
        @keyframes ripple {
            to {
                transform: scale(4);
                opacity: 0;
            }
        }
        
        .ripple {
            position: absolute;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.4);
            transform: scale(0);
            animation: ripple 0.6s linear;
            pointer-events: none;
        }
        
        /* Formulario de registro (oculto inicialmente) */
        .register-form {
            display: none;
        }
        
        /* Responsive */
        @media (max-width: 480px) {
            .login-body {
                padding: 25px 20px;
            }
            
            .login-header {
                padding: 15px;
            }
            
            .login__logo {
                max-width: 350px;
                /* max-height: 60px; */
            }
            
            .login-title {
                font-size: 22px;
                margin-top: 10px;
            }
            
            .form-input {
                padding: 12px 12px 12px 45px;
                font-size: 15px;
            }
            
            .input-icon, .password-toggle {
                font-size: 18px;
            }
        }
