        :root {
            --primary-color: #4361ee;
            --secondary-color: #3f37c9;
            --accent-color: #4895ef;
            --light-color: #f8f9fa;
            --dark-color: #212529;
            --water-blue: #4facfe;
            --water-blue-dark: #00a1ff;
        }
        
        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            overflow: hidden;
            position: relative;
        }

                /* Video de fondo */
        .video-background {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            object-fit: cover;
        }
        
        /* Overlay para mejorar legibilidad */
        .video-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4);
            z-index: 0;
        }
        
        .login-container {
            display: flex;
            width: 900px;
            max-width: 90%;
            height: 550px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
            border-radius: 15px;
            overflow: hidden;
            background: white;
            position: relative;
            z-index: 10;
        }
        
        .login-card {
            width: 50%;
            padding: 2rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        .water-effects {
            width: 50%;
            background: linear-gradient(to bottom, var(--water-blue), var(--water-blue-dark));
            position: relative;
            overflow: hidden;
        }
        
        .card-header {
            background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
            color: white;
            text-align: center;
            padding: 1.5rem;
            border-radius: 10px;
            margin-bottom: 2rem;
        }
        
        .card-header h3 {
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        
        .card-header p {
            margin-bottom: 0;
            font-size: 0.9rem;
        }
        
        .form-control {
            border-radius: 8px;
            padding: 12px 20px;
            border: 1px solid #e0e0e0;
            transition: all 0.3s;
        }
        
        .form-control:focus {
            border-color: var(--accent-color);
            box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.25);
        }
        
        .form-control-icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--primary-color);
        }
        
        .btn-login {
            background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
            border: none;
            border-radius: 8px;
            padding: 12px;
            font-weight: 600;
            letter-spacing: 0.5px;
            transition: all 0.3s;
            color: white;
        }
        
        .btn-login:hover {
            background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
            transform: translateY(-2px);
            color: white;
        }
        
        .forgot-pass {
            color: var(--accent-color);
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.3s;
        }
        
        .forgot-pass:hover {
            color: var(--secondary-color);
            text-decoration: underline;
        }
        
        .input-with-icon {
            padding-left: 45px !important;
        }
        
        /* Efectos de agua */
        .wave {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 100px;
            background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="rgba(255,255,255,0.2)" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
            background-size: cover;
            background-repeat: no-repeat;
            animation: wave 10s linear infinite;
        }
        
        .wave:nth-child(2) {
            animation-delay: -5s;
            animation-duration: 15s;
            opacity: 0.5;
            bottom: 10px;
        }
        
        @keyframes wave {
            0% {
                background-position-x: 0;
            }
            100% {
                background-position-x: 1000px;
            }
        }
        
        .water-drop {
            position: absolute;
            width: 20px;
            height: 20px;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            animation: drop 4s linear infinite;
        }
        
        @keyframes drop {
            0% {
                transform: translateY(-100px) scale(0.5);
                opacity: 0;
            }
            10% {
                opacity: 0.5;
            }
            100% {
                transform: translateY(600px) scale(1);
                opacity: 0;
            }
        }
        
        .water-icon {
            position: absolute;
            color: rgba(255, 255, 255, 0.8);
            font-size: 2rem;
            animation: float 6s ease-in-out infinite;
        }
        
        @keyframes float {
            0%, 100% {
                transform: translateY(0) rotate(0deg);
            }
            50% {
                transform: translateY(-20px) rotate(5deg);
            }
        }
        
.system-title {
    position: absolute;
    top: 50%; /* Coloca el borde superior en el 50% del contenedor */
    left: 50%; /* Coloca el borde izquierdo en el 50% del contenedor */
    transform: translate(-50%, -50%); /* Desplaza el elemento -50% de su propio ancho/alto */
    width: 100%;
    text-align: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    z-index: 2;
    margin: 0; /* Elimina cualquier margen predeterminado */
}
        
        @media (max-width: 768px) {
            .login-container {
                flex-direction: column;
                height: auto;
            }
            
            .login-card, .water-effects {
                width: 100%;
            }
            
            .water-effects {
                height: 200px;
            }
        }



/*moviles*/
        /* Estilos responsivos */
@media (max-width: 768px) {
    .video-background {
        object-fit: cover;
    }
    
    .login-container {
        width: 90%;
        margin: 2rem auto;
        padding: 1rem;
    }
    
    .login-card {
        padding: 1.5rem;
    }
    
    .card-header h4 {
        font-size: 1.5rem;
    }
    
    .card-header p {
        font-size: 0.9rem;
    }
    
    .form-control-xl {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
    
    .btn-login {
        padding: 0.75rem;
        font-size: 1rem;
    }
    
    .water-effects {
        display: none; 
    }
    
    .system-title {
        display: none;
    }
}