/* Barra de scroll */
::-webkit-scrollbar {
    width: 10px; /* ancho de la barra de scroll */
}

/* Track */
::-webkit-scrollbar-track {
    background-color: transparent; /* color de fondo del track */
}

/* Thumb */
::-webkit-scrollbar-thumb {
    background-color: #888; /* color de la barra de scroll */
    border-radius: 5px; /* radio de borde de la barra de scroll */
}

/* Thumb al hacer hover */
::-webkit-scrollbar-thumb:hover {
    background-color: #555; /* color de la barra de scroll al hacer hover */
}

#new-sidebar * {
    margin: 0;
    padding: 0;
}

#new-sidebar {
    /* Barra de scroll */
    scrollbar-width: thin; /* ancho de la barra de scroll */
    scrollbar-color: #888 transparent; /* color de la barra de scroll y del track */

    /* Thumb */
    scrollbar-face-color: #888; /* color de la barra de scroll */
    scrollbar-base-color: transparent; /* color de fondo del track */

    background: linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.12),
            rgba(255, 255, 255, 0.12)
        ),
        #121212;

    width: 300px;

    position: absolute;
    left: 0;
    bottom: 0;
    top: 60px;
    overflow: auto;
    transition: all 0.6s;
}

#new-sidebar ul {
    list-style-type: none;
}

#new-sidebar a {
    display: block;
    text-decoration: none;
    color: #ffffff;
    margin: 0 8px;
}

.section {
    border-top: solid 1.5px #232323;
}

.section label {
    text-transform: uppercase;
    /* Lato/Body 2 */

    font-family: "Lato";
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    /* identical to box height, or 143% */

    letter-spacing: 0.0025em;

    /* Neutral/Neutral : 700 */

    color: #b3b3b3;

    /* Inside auto layout */

    flex: none;
    order: 0;
    flex-grow: 0;
}

.section #title-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0px 5px 16px;

    width: 100%;
    height: 50px;

    /* Inside auto layout */

    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

.section ul li a {
    width: calc(100% - 16px);
    padding: 0 8px;
    height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.option-content {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    height: 50px;
    margin: 0 auto;
    gap: 10px;

    border-radius: 8px;

    display: flex;
    flex-direction: row;
    align-items: center;
}

.option-content > span {
    line-height: 40px;
    text-align: left;
}

.option-content:hover {
    background-color: #b3b3b3;
}

.selected .option-content {
    background-color: rgba(255, 255, 255, 0.1);
}

.selected .option-content #selected {
    display: block;
}

#selected {
    width: 4px;
    height: 30px;
    border-radius: 5px;
    background-color: #ffffff;
    display: none;

    position: absolute;
    left: 6px;
}

#header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    width: 100%;

    background-color: #ffffff;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: row;
    align-items: center;
}

#app-watermark {
    height: 100%;
    min-width: 300px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: #e6e4e3;
    border-right: 1px solid #dfe0e1;
    overflow: hidden;

    transition: min-width 0.6s;
}

#app-info {
    width: max-content;
    height: 54px;
    display: flex;
    flex-direction: row;
    align-items: center;
    z-index: 1;
}

#app-logo {
    width: 54px;
    height: 54px;

    transition: width 0.6s, height 0.6s;
}

#app-text {
    width: 73.14px;
    height: 32px;
}

#watermark {
    position: absolute;
    left: 0;
}

#header-content {
    width: 100%;
    height: 40px;
    margin: 12px 14px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

#user-profile-image {
    border-radius: 50%;
}

#user-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-items: center;
    gap: 14px;
}

#user-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16.5px;
}

#notification-counter-label {
    position: relative;
    margin: 0;
    padding: 0 2px;
    right: 10px;
    top: -12px;

    border-radius: 25%;
    background-color: #ff7b17;

    font-family: "Poppins";
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    color: #ffffff;
    text-align: center;
}

#notification-counter-label:empty {
    display: none;
}

#btn-notifications-appbar {
    width: 50px;
}

#btn-close-sidemenu,
#search-icon {
    transition: position 0.6s, left 0.6s;
}

#main {
    position: absolute;
    left: 300px;
    top: 60px;
    bottom: 0;
    right: 0;

    transition: left 0.6s;
    overflow: auto !important;
}

.sidebar-closed #app-watermark {
    min-width: 80px !important;
    background-color: #2e2e2e !important;
    border-right: 1px solid #2e2e2e !important;
}

#main.sidebar-closed  {
    left: 80px !important;
}

#new-sidebar.sidebar-closed {
    width: 80px !important;
}

.sidebar-closed #divider-btn-toggle-menu,
.sidebar-closed #watermark,
.sidebar-closed #app-text {
    display: none;
}

.sidebar-closed #app-logo {
    width: 40px !important;
    height: 40px !important;
}

.sidebar-closed #search-icon {
    position: relative;
    left: -50px;
}

.sidebar-closed #btn-close-sidemenu {
    content: url("/static/images/icons/open-sidemenu.svg") !important;
    width: 45px;
    height: 45px;

    position: relative;
    left: -37.5px;
}

.sidebar-closed span.option-text {
    display: none;
}

.sidebar-closed .option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#title-container img {
    display: none;
    margin: 0 5px;

    transition: display 0.6s;
}

.sidebar-closed  #title-container label {
    display: none;
}
.sidebar-closed  #title-container img {
    display: block;
}
