﻿body {
    margin: 0;
    background-color: var(--color-empresarial-blanco) !important;
}

.navbar {
    width: 100%;
    z-index: 1;
    color: white;
    background-color: var(--color-empresarial-azul);
}

.botonera {
    position: inherit;
    top: 0;
    padding-bottom: 10px;
}

.container-main {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.main-content {
    display: flex;
    height: 100%;
    overflow: hidden;
}

.content {
    flex: 1;
    overflow: hidden;
    padding: 5px 10px;
}

.render-body {
    overflow-y: auto;
    padding-bottom: 2%;
}

/*Inicio Dropdown - Icono Engrane */
.dropdown-menu {
    background-color: var(--color-empresarial-blanco) !important;
}

.dropdown-menu .dropdown-item {
    position: relative;
    color: var(--color-empresarial-azul);
    overflow: hidden;
    transition: background-color 0.3s ease;
    padding: 10px 20px;
}

.dropdown-menu .dropdown-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-empresarial-magenta);
    transition: width 0.3s ease;
}

.dropdown-menu .dropdown-item:hover::before {
    width: 100%;
}

.dropdown-menu .dropdown:hover .dropdown-menu {
    display: block;
    position: absolute;
    right: 100%;
    top: 0;
    margin-top: 0;
    margin-right: 0;
    border-radius: 0.25rem;
}

.dropdown-menu-end .dropdown-menu {
    right: 0;
    left: auto;
}
/*Fin Dropdown*/


/* Pantallas grandes de escritorio */
@media (min-width: 1200px) {
    .navbar img {
        width: auto;
        height: 36px;
    }
}

/* Pantallas de escritorio medianas */
@media (min-width: 992px) and (max-width: 1199px) {
    .navbar img {
        width: auto;
        height: 35px;
    }
}

/* Pantallas de tablets grandes */
@media (min-width: 768px) and (max-width: 991px) {
    .navbar img {
        width: auto;
        height: 30px;
    }
}

/* Tablets en modo vertical y móviles grandes */
@media (min-width: 576px) and (max-width: 767px) {
    .navbar img {
        width: auto;
        height: 28px;
    }
}

/* Móviles en modo vertical */
@media (max-width: 575px) {
    .navbar img {
        width: auto;
        height: 16px;
    }
}

/* Pantallas extremadamente pequeñas */
@media (max-width: 320px) {
    .navbar img {
        width: auto;
        height: 10px;
    }
}
