html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

.login-page {
    background: #0066ff33 !important;
}

.menu-sidebar {
    height: 100%;
    width: 5rem;
    position: fixed;
    background: #f8f9fa !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    bottom: 0;
    z-index: 1000;
}

.main-content {
    padding: 1rem;
    margin-top: 3rem;
}

.menu-items {
    margin-top: 20px;
}

.icon-menu {
    display: flex;
    flex-direction: column;
    margin: 9px 0px;
    align-items: center;
    position: relative;
    color: white !important;
}

.icon-menu-button {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    outline: none;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    /*background-color: #2864a7;*/
    box-shadow: 0px 1px 4px rgba(18,39,104,.06), 0px 2px 3px rgba(18,39,104,.24);
    border-radius: 12px;
    transition: box-shadow .1s cubic-bezier(0.79, 0.21, 0.06, 0.81);
    margin-top: 3px;
    color: black !important;
}

    .icon-menu-button:hover {
        color: white !important;
        background-color: #46a909;
        box-shadow: rgb(44, 62, 80) 0px 0px 10px 0px;
    }

.icon-menu-button-pressed {
    color: white !important;
    background: #46a909;
    box-shadow: rgb(44, 62, 80) 0px 0px 10px 0px;
    border: 1px solid #f8f9fa;
}

.icon-menu-title {
    margin: 3px 0px;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 130%;
    text-align: center;
}

.error {
    color: red;
}


.btn-fmapp {
    color: #fff;
    background-color: #2864a7;
    border-color: #2845a7;
    box-shadow: none;
}

    .btn-fmapp:hover {
        color: #fff;
        background-color: #214f88;
        border-color: #1e2c7e;
    }

    .btn-fmapp:focus, .btn-fmapp.focus {
        color: #fff;
        background-color: #213688;
        border-color: #1e347e;
        box-shadow: 0 0 0 0 rgb(72, 81, 180, 0.50);
    }

    .btn-fmapp.disabled, .btn-fmapp:disabled {
        color: #fff;
        background-color: #28a745;
        border-color: #28a745;
    }

    .btn-fmapp:not(:disabled):not(.disabled):active, .btn-fmapp:not(:disabled):not(.disabled).active,
    .show > .btn-fmapp.dropdown-toggle {
        color: #fff;
        background-color: #1e3b7e;
        border-color: #1c3774;
    }

        .btn-fmapp:not(:disabled):not(.disabled):active:focus, .btn-fmapp:not(:disabled):not(.disabled).active:focus,
        .show > .btn-fmapp.dropdown-toggle:focus {
            box-shadow: 0 0 0 0 rgb(72, 105, 180, 0.50);
        }

/* Estilos para el dropdown del usuario */
.user-menu .nav-link {
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-menu .nav-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.user-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    min-width: 250px;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 1000;
}

.user-menu .dropdown-menu.show {
    display: block;
    animation: slideDown 0.2s ease-in-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-menu .dropdown-header {
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 600;
    border-bottom: 1px solid #e3e6f0;
}

.user-menu .dropdown-item {
    padding: 0.75rem 1rem;
    color: #212529;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.user-menu .dropdown-item i {
    margin-right: 0.75rem;
    width: 16px;
    color: #007bff;
}

.user-menu .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #212529;
}

.user-menu .dropdown-item.active {
    background-color: #e3f2fd;
    color: #007bff;
}

.user-menu .dropdown-divider {
    margin: 0.5rem 0;
    border-top: 1px solid #e3e6f0;
}

/* Estilos para los enlaces activos en el navbar */
.main-header-2 .navbar-nav .nav-link {
    transition: all 0.3s ease;
    position: relative;
    color: #495057;
    font-weight: 500;
}

.main-header-2 .navbar-nav .nav-link:hover {
    color: #007bff;
    background-color: rgba(0, 123, 255, 0.05);
    border-radius: 4px;
}

.main-header-2 .navbar-nav .nav-link.active {
    color: #007bff;
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 4px;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    box-shadow: inset 0 -3px 0 #007bff;
}

.main-header-2 .navbar-nav .nav-link.active i {
    color: #007bff;
}

/* Efecto hover adicional para enlaces no activos */
.main-header-2 .navbar-nav .nav-link:not(.active):hover i {
    transform: scale(1.1);
}

.nav-item{
    text-align: center;
}

.bg-papisjr {
    background-color: #46a909 !important;
}

/* Navbar fijo en la parte superior */
.main-header-2 {
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
}