html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    background-color: #ffffff;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 120px); /* Ajuste para footer fijo */
}

.menu-vertical {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 250px;
    background-color: #f5f5f5;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto; /* Habilitar desplazamiento en el menú */
}

.menu-vertical .menu {
    margin-top: 20px; /* Ajuste para el margen superior */
    width: 100%;
}

.menu-vertical .menu-list a {
    padding: 10px 20px;
    display: block;
    color: #333;
    text-decoration: none;
}

.menu-vertical .menu-list a:hover {
    background-color: #e7e7e7;
    border-radius: 5px;
}

.menu-logo img {
    max-width: 200px; /* Ajusta el tamaño del logo del menú */
    height: auto;
}

.navbar-item img {
    max-height: 60px; /* Ajusta el tamaño del logo del header */
}

.menu-toggle {
    display: none;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1100;
}

@media (max-width: 768px) {
    .menu-vertical {
        display: none;
        width: 100%;
        box-shadow: none;
        padding: 0;
        height: auto;
    }
    .menu-vertical.active {
        display: block;
    }
    .menu-toggle {
        display: block;
    }
}

.submenu {
    display: none;
}

.menu-item.is-active + .submenu {
    display: block;
}

footer.footer {
    background-color: #f5f5f5;
    padding: 20px 0;
    width: 100%;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

footer.footer .content.has-text-centered p {
    margin: 0;
}

.scrollable-form {
    max-height: 80vh; /* Altura máxima de la vista */
    overflow-y: auto; /* Habilitar barra de desplazamiento vertical */
    padding-right: 15rem; /* Espacio para la barra de desplazamiento */
}
