
@media (max-width: 768px) {
    .hero {
        position: relative;
        /* Asegura que los elementos hijos absolutos se posicionen en base a esta sección */
        overflow: hidden;
        /* Evita que aparezcan espacios en blanco */
    }

    .wave-container {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100px;
        overflow: hidden;
        z-index: 1;
        /* Asegura que la onda esté sobre la sección */
    }

    .wave-container svg {
        display: block;
        width: 100%;
        height: 100%;
    }

    .wave-container svg {
        width: 100%;
        height: auto;
        min-height: 120px;
        /* Ajusta si aún se ve el borde */
    }
}





.btn-container {
    margin-top: 20px;
}




.container_l {
    background: linear-gradient(135deg, #f0f4f8, #d9e2ec);
    /* Fondo suave y moderno */
    display: flex;
    justify-content: center;
    align-items: center;
    /*margin-top: 30px !important;
    height: 100vh; */
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.login-container {
    max-width: 500px;
    width: 100%;
    padding: 40px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
    margin: 20px 0px;
    margin-top: 50px;
}

.login-logo {
    max-width: 200px;
    margin-bottom: 20px;
}

.login-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.login-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.login-form .form-group label {
    font-weight: 600;
    color: #555;
}

.login-form .form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d8e0;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    transition: border-color 0.3s ease;
}

.login-form .form-control:focus {
    border-color: #4a90e2;
    outline: none;
}

.login-form .btn-primary {
    width: 100%;
    padding: 12px;
    background-color: #4a90e2;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-form .btn-primary:hover {
    background-color: #357abd;
}

.login-form .btn-secondary {
    width: 100%;
    padding: 12px;
    background-color: #6c5ce7;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-form .btn-secondary:hover {
    background-color: #5a4dbf;
}

.login-form .forgot-password {
    display: block;
    margin-top: 10px;
    color: #4a90e2;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.login-form .forgot-password:hover {
    color: #357abd;
}

.login-form .form-switch {
    margin-top: 20px;
    font-size: 14px;
    color: #555;
}

.login-form .form-switch a {
    color: #4a90e2;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-form .form-switch a:hover {
    color: #357abd;
}


#messageBox {
    margin: 10px auto;
    width: 80%;
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.fadeOut {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

