#navbar {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-color: var(--sidebar-bg);
    color: var(--text-color);
    width: var(--navbar-width);
    white-space: nowrap;
    overflow: hidden;
}

#navbar.collapsed {
    width: var(--navbar-collapsed-width);
}

#navbar.collapsed .k-drawer-item[data-level="1"] {
    display: none;
}

.drawer-header img {
  width: 150px;
  /* height: 64px; */
  margin: 1em auto;
  display: block;
}

/* .drawer-header,
.drawer-footer {
    flex: 0 0 auto;
    background-color: var(--sidebar-bg);
    color: var(--text-color);
} */

#navbar hr {
    font-size: .5em;
}
 
.drawer-footer {
    border-top: 1px solid var(--sidebar-hover);
    flex: 0 0 auto;
    background-color: var(--sidebar-bg);
    color: var(--text-color);

    display: flex;               /* activa flexbox */
    flex-direction: row;         /* dirección horizontal */
    justify-content: flex-start; /* alineados a la izquierda (puedes cambiar a center, space-between, etc.) */
    align-items: center;         /* centrado vertical */
    gap: 8px;                    /* espacio entre botones */
    padding: 6px;                /* margen interno */
    height: 31px;
}

.drawer-footer .doc-container,
.drawer-footer .soporte-container {
    display: flex;
    align-items: center;
}

.k-drawer-container {
    flex: 1 1 auto;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    height: 100% !important;
    overflow-y: auto !important;
    background-color: var(--sidebar-bg) !important;
    color: var(--text-color) !important;
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
}

.k-drawer-wrapper {
    flex: 1 1 auto;
    min-height: 0;
    width: 100% !important;
}

.k-drawer-item {
    /* padding: 12px 20px; */
    cursor: pointer;
    background-color: var(--sidebar-bg);
    color: var(--text-color);
}

.k-drawer-item .k-item-text {
    color: var(--text-color) !important;
}

.k-drawer-item .k-icon-child {
    margin-right: 16px;
}

.k-drawer-item:hover {
    background-color: var(--sidebar-hover) !important;
    color: var(--text-color) !important;
}

.k-drawer-item.k-selected {
    background-color: var(--accent-color) !important;
    color: #fff !important;
}

.k-drawer-item.k-selected .k-icon {
    color: #fff !important;
}

.k-drawer-separator {
    height: 1px;
    background-color: var(--accent-color);
    margin: 4px 0;
}

.k-item-text-link {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.k-drawer,
.k-drawer-container,
.k-drawer-wrapper,
.k-drawer-item {
    background-image: none !important;
    background-color: var(--sidebar-bg) !important;
    box-shadow: none !important;
    border: 0px;
}

.k-drawer-item {
    background: var(--sidebar-bg) !important;
    color: var(--text-color) !important;
    border: none;
    box-shadow: none !important;
}

.k-drawer-item:hover {
    background: var(--sidebar-hover) !important;
    background-image: none !important;
    box-shadow: none !important;
}

.k-drawer-item.k-selected {
    background: var(--accent-color) !important;
    background-image: none !important;
    color: #fff !important;
    box-shadow: none !important;
}

.k-drawer-item .k-icon,
.k-drawer-item .k-item-text {
    color: inherit !important;
    text-shadow: none !important;
}

.k-drawer-item[data-level="0"] {
    height: 3em;
}

.k-drawer-item[data-level="1"] {
    padding-left: 40px;
}

.k-drawer-item[data-level="2"] {
    padding-left: 60px;
}

#pill {
  color: #0078D7;
  width: 32px;
}

#support, #docu, #theme, #config {
  width: 32px;
}