body {
    overflow-y: hidden;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
}

.alert {
    margin: 20px;
}

.app-header {
    width: 100%;
    /*position: fixed;*/
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: #fff;
}

.app-header .navbar {
    height: 60px;
    min-height: 60px;
    padding: 0;
}

.body-wrapper {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 0;
}

.body-wrapper-inner {
    flex: 1 1 auto;
    /*margin-top: 60px;*/
    /*padding: 20px;*/
    height: calc(100vh - 60px);
    overflow-y: auto;
    overflow-x: hidden;
}

/*
.body-wrapper .body-wrapper-inner .container-fluid.d-print-none {
    padding: 0 0 20px
}
*/

.body-wrapper .container-fluid,
.body-wrapper .container-sm,
.body-wrapper .container-md,
.body-wrapper .container-lg,
.body-wrapper .container-xl,
.body-wrapper .container-xxl {
    max-width: none;
    margin: 0;
    padding: 20px;
    transition: 0.2s ease-in;
}

.card.shadow {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

.form-control {
    height: auto;
}

.left-sidebar.bg-dark {
    background-color: #1e1e2f;
    color: #f8f9fa;
}

.left-sidebar .sidebar-link {
    color: #cfd8dc;
    background-color: transparent;
    transition: background 0.2s ease, color 0.2s ease;
}

.left-sidebar .sidebar-link:hover,
.left-sidebar .sidebar-link:focus {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.left-sidebar .sidebar-link.active,
.left-sidebar .sidebar-item.selected > .sidebar-link {
    background-color: #0d6efd;
    color: #ffffff;
    font-weight: 600;
}

.left-sidebar .sidebar-link i,
.left-sidebar .sidebar-link svg {
    color: inherit;
}

.left-sidebar .nav-small-cap {
    color: #9aa0ac;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin: 1rem 0 0.5rem;
}

.left-sidebar .collapse .sidebar-item .sidebar-link {
    padding-left: 2.5rem;
}

.left-sidebar {
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
}

.sidebar-item.sidebar-link-title.active {
    background-color: rgba(255, 255, 255, 0.05);
    color: #facc15 !important;
    font-weight: 600;
}

.sidebar-link:hover svg-inline--fa,
.sidebar-link:hover .menu-icon,
.sidebar-link:hover .menu-title {
    color: #fde68a;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.sidebar-link.active .menu-icon,
.sidebar-link.active .menu-title {
    color: #facc15 !important;
    font-weight: 600;
}

.logo-link {
    text-decoration: none !important;
    box-shadow: none !important;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

/*.logo-text {
    display: inline-block;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}*/

.logo-link:hover .logo-text {
    color: #f0f0f0;
}

.nav-pills .nav-link.active {
    background-color: #facc15;
    color: #212529;
    font-weight: 500;
}

.nav-tabs .nav-link .badge {
    line-height: 1;
    padding: 0.25em 0.5em;
    vertical-align: middle;
}

/*
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    border-radius: 6px;
    background-color: #e7e7e7;
    border: 1px solid #cacaca;
    !*box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);*!
}
::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background-color: #bdc3cd;
}
::-webkit-scrollbar-thumb:hover {
    background: #1a97f5;
}*/

/* custom scrollbar */
::-webkit-scrollbar {
    width: 13px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: #d6dee1;
    border-radius: 13px;
    border: 3px solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #a8bbbf;
}

/*Custom */
#cart.card.border-secondary.shadow-sm {
    background-color: #f9f9f9;
    border-width: 2px;
    max-height: calc(100vh - 110px);
}


/* Custom ítems del navbar */
.app-header .navbar-nav > .nav-item.dropdown {
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
}

/* Ajusta el botón para parecerse a un ícono de barra superior */
.app-header .nav-link.pointer {
    color: #fff; /* o el color que uses en tu navbar */
    padding: 0.5rem;
    display: flex;
    align-items: center;
    font-size: 1.2rem;
}

/* Estilo adicional para el ícono de campana */
.app-header #notificationsIcon .fa-bell {
    font-size: 1.2rem;
}

/* Posiciona el circulito rojo correctamente */
.app-header #notificationsIcon .fa-circle {
    position: absolute;
    bottom: 20px;
    font-size: 0.6rem;
}
