       body {
            margin: 0;
            font-family: 'Roboto', sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh; /* Mantener para centrar verticalmente si hay suficiente espacio */
            background: linear-gradient(315deg, rgba(101,0,94,1) 3%, rgba(60,132,206,1) 38%, rgba(48,238,226,1) 68%, rgba(4, 4, 79, 1) 98%);
             animation: gradient 15s ease infinite;
    background-size: 400% 400%;
    background-attachment: fixed;
            color: #fff;
            -webkit-font-smoothing: antialiased;
            -moz-osx-smoothing: grayscale;
            position: relative; /* Importante para posicionar los elementos de fondo */
            overflow-y: auto;
            overflow-x: hidden;
        }
    @keyframes gradient {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}
.wave {
    background: rgb(255 255 255 / 25%);
    border-radius: 1000% 1000% 0 0;
    position: fixed;
    width: 200%;
    height: 12em;
    animation: wave 10s -3s linear infinite;
    transform: translate3d(0, 0, 0);
    opacity: 0.8;
    bottom: 0;
    left: 0;
    z-index: -1;
}

.wave:nth-of-type(2) {
    bottom: -1.25em;
    animation: wave 18s linear reverse infinite;
    opacity: 0.8;
}

.wave:nth-of-type(3) {
    bottom: -2.5em;
    animation: wave 20s -1s reverse infinite;
    opacity: 0.9;
}

@keyframes wave {
    2% {
        transform: translateX(1);
    }

    25% {
        transform: translateX(-25%);
    }

    50% {
        transform: translateX(-50%);
    }

    75% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(1);
    }
}
       /* Contenedor principal para el formulario y el texto */
        .main-content-wrapper {
            display: flex;
            align-items: center;
            justify-content: center; /* Centrar horizontalmente si el espacio lo permite */
            gap: 380px; /* Espacio entre el formulario y el texto */
            max-width: 1200px; /* Ancho máximo para el contenido principal */
            width: 90%; /* Ancho responsivo */
            z-index: 2; /* Asegura que esté por encima de las animaciones */
            position: relative; /* Para que z-index funcione */
            padding: 20px; /* Padding para que no se pegue a los bordes en pantallas pequeñas */
        }

        /* Estilos del formulario de inicio de sesión */
        .login-container {
            background-color: #ffffff; /* Fondo blanco sólido */
            border-radius: 15px;
            padding: 40px;
            box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
            text-align: center;
            width: 100%; /* Ocupa el 100% de su espacio disponible en Flexbox */
            max-width: 300px; /* **Formulario más chico** */
            border: 1px solid rgba(255, 255, 255, 0.18);
            color: #333;
            flex-shrink: 0; /* Evita que el formulario se encoja más de lo necesario */
        }

        .login-header .logo-icon {
            width: 200px;
            height: 60px;
            margin-bottom: 4px;
        }

        .login-header h2 {
            font-size: 2.2em;
            margin-bottom: 8px;
            color: #333;
        }

        .login-header p {
            font-size: 1em;
            margin-bottom: 30px;
            color: rgba(0, 0, 0, 0.6);
        }

        .input-group {
            position: relative;
            margin-bottom: 25px;
        }

        .input-group i {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #333;
            font-size: 1.1em;
        }

        .input-group input {
            width: calc(100% - 60px);
            padding: 15px 15px 15px 50px;
            border: none;
            border-radius: 8px;
            background-color: rgba(0, 0, 0, 0.05);
            color: #333;
            font-size: 1em;
            outline: none;
            transition: background-color 0.3s ease, box-shadow 0.3s ease;
        }

        .input-group input::placeholder {
            color: rgba(0, 0, 0, 0.5);
        }

        .input-group input:focus {
            background-color: rgba(0, 0, 0, 0.1);
            box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2);
        }

        .form-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            font-size: 0.9em;
        }

        .remember-me {
            display: flex;
            align-items: center;
            color: #333;
        }

        .remember-me input[type="checkbox"] {
            margin-right: 8px;
            width: 18px;
            height: 18px;
            accent-color: #00b0ff;
        }

        .remember-me label {
            color: #333;
        }

        .forgot-password {
            color: #333;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .forgot-password:hover {
            color: #00b0ff;
        }

        .login-button {
            width: 100%;
            padding: 15px;
            border: none;
            border-radius: 8px;
            background: linear-gradient(to right, #00f2fe 0%, #4facfe 100%);
            color: #fff;
            font-size: 1.1em;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 15px;
        }

        .login-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
        }

        .youtube-button {
            width: 100%;
            padding: 15px;
            border: none;
            border-radius: 8px;
            background-color: #ff0000;
            color: #fff;
            font-size: 1.1em;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .youtube-button:hover {
            background-color: #cc0000;
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
        }

        .social-login {
            margin-top: 30px;
            margin-bottom: 25px;
        }

        .social-login p {
            color: #333;
            margin-bottom: 15px;
        }

        .social-icons {
            display: flex;
            justify-content: center;
            gap: 15px;
        }

        .social-icon {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background-color: #eee;
            color: #333;
            font-size: 1.2em;
            text-decoration: none;
            transition: background-color 0.3s ease, transform 0.2s ease;
        }

        .social-icon.google:hover {
            background-color: #db4437;
            color: #fff;
            transform: translateY(-2px);
        }

        .social-icon.facebook:hover {
            background-color: #3b5998;
            color: #fff;
            transform: translateY(-2px);
        }

        .social-icon.twitter:hover {
            background-color: #1da1f2;
            color: #fff;
            transform: translateY(-2px);
        }

        .signup-link {
            margin-top: 20px;
            font-size: 0.95em;
        }

        .signup-link p {
            color: #333;
        }

        .signup-link a {
            color: #00b0ff;
            text-decoration: none;
            font-weight: bold;
            transition: color 0.3s ease;
        }

        .signup-link a:hover {
            color: #1c8ed9;
        }

        /* Nuevo estilo para el bloque de texto descriptivo */
        .description-text {
            color: #fff;
            text-align: left;
            max-width: 650px; /* Ancho máximo para el texto */
            padding: 20px;
        }

        .description-text h2 {
            font-size: 2.5em;
            margin-bottom: 20px;
            line-height: 1.2;
        }

        .description-text p {
            font-size: 1.2em;
            line-height: 1.6;
            opacity: 0.9;
        }

        /* Contenedor del video popup */
        .video-popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8); /* Fondo oscuro semitransparente */
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000; /* Asegura que esté por encima de todo */
            opacity: 0; /* Oculto por defecto */
            visibility: hidden; /* Oculto por defecto */
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .video-popup-overlay.show {
            opacity: 1;
            visibility: visible;
        }

        .video-container {
            position: relative;
            width: 80%; /* Ancho responsivo */
            max-width: 900px; /* Ancho máximo del video */
            padding-bottom: 45%; /* Altura responsiva (9/16 de ancho para 16:9) */
            height: 0;
            background-color: #000;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
        }

        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }

        .close-video {
            position: absolute;
            top: 10px;
            right: 10px;
            background: none;
            border: none;
            color: #fff;
            font-size: 2em;
            cursor: pointer;
            z-index: 1001; /* Asegura que el botón de cerrar esté encima del video */
            text-shadow: 0 0 5px rgba(0,0,0,0.5);
            transition: transform 0.2s ease;
        }

        .close-video:hover {
            transform: scale(1.1);
        }


        /* Media Queries para Responsividad */
        @media (max-width: 900px) {
            .main-content-wrapper {
                flex-direction: column;
                gap: 30px;
                width: 95%;
            }

            .login-container {
                max-width: 350px;
                padding: 30px 20px;
            }

            .description-text {
                text-align: center;
                padding: 10px;
                max-width: 100%;
            }

            .description-text h2 {
                font-size: 2em;
            }

            .description-text p {
                font-size: 1em;
            }

            .login-button, .youtube-button {
                padding: 12px;
                font-size: 1em;
            }

            .video-container {
                width: 95%; /* Más ancho en móviles */
                padding-bottom: 56.25%; /* Ajuste para video 16:9 */
            }
        }
        .description-text {
                text-align: center; /* Centra el texto en móviles */
                padding: 10px;
                max-width: 100%;
                align-items: center; /* Centra los elementos apilados en móviles */
            }

            .description-text h2 {
                font-size: 2em;
            }

            .description-text p {
                font-size: 1em;
            }

            .login-button, .youtube-button {
                padding: 12px;
                font-size: 1em;
            }

            .video-container {
                width: 95%; /* Más ancho en móviles */
                padding-bottom: 56.25%; /* Ajuste para video 16:9 */
            }

            .btn-dark-blue-thin {
                padding: 8px 15px; /* Ajuste para pantallas pequeñas */
                font-size: 0.95em;
            }
            .btn-dark-blue-thin {
            display: inline-block;
            padding: 8px 20px;
            border: none;
            /* --- Propiedad para redondear las esquinas --- */
            border-radius: 25px; /* Valor ajustado para un redondeo más pronunciado */
            background-color: #5e85b4ff; /* Color verde brillante */
            color: #ffffff;
            font-size: 1em;
            font-weight: 500;
            text-align: center;
            text-decoration: none;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
            white-space: nowrap;
            margin-top: 10px;
            align-self: center;
        }

        .btn-dark-blue-thin:hover {
            background-color: #45a049;
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }