/**
 * Sidebar shell lock (v2) — loads AFTER workspace-menu.css / brand.css.
 * Circular workspace avatars + Create/Settings footer row + wire nav icons.
 * Do not merge these rules back into workspace-menu.css; keep this file as the lock layer.
 */

/* ---- Circular workspace avatars ---- */
.workspace-switcher .ws-switch-avatar,
.workspace-switcher .ws-switch-item .ws-switch-avatar,
.workspace-switcher .ws-switch-avatar--compact,
.workspace-compact,
.workspace-compact .ws-switch-avatar {
    border-radius: 50% !important;
}

.workspace-switcher .ws-switch-avatar-img {
    border-radius: 50% !important;
}

/* ---- Footer: Create left, Settings cog bottom-right ---- */
.workspace-switcher .ws-switch-footer.ws-footer-lock,
.workspace-switcher .ws-switch-footer[data-ws-footer="create-settings-row"] {
    display: flex !important;
    align-items: center;
    gap: 0.25rem;
    grid-template-columns: none !important;
}

.workspace-switcher .ws-footer-lock > .ws-switch-link:not(.ws-switch-link-icon) {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
}

.workspace-switcher .ws-footer-lock .ws-switch-link-icon {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: 42px !important;
    min-width: 42px;
    max-width: 42px;
    min-height: 42px;
    margin-left: auto;
    padding: 0;
    border-radius: 10px;
}

.workspace-switcher .ws-footer-lock .ws-switch-link-icon i {
    width: auto;
    font-size: 0.95rem;
}

/* ---- Wire/line nav icons ---- */
.sidebar .nav-item .nav-icon {
    width: 18px;
    height: 18px;
    flex: none;
    display: block;
}

.sidebar .nav-item .nav-icon .nav-line,
.sidebar .nav-item.active .nav-icon .nav-line,
.sidebar .nav-item:hover .nav-icon .nav-line {
    fill: none !important;
    stroke: currentColor;
    /* Match medium label weight (~500–600) */
    stroke-width: 2.15;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sidebar .nav-item .nav-icon .nav-dot {
    fill: currentColor;
    stroke: none;
}

.sidebar .nav-item span {
    font-weight: 500;
}

.sidebar .nav-item .nav-icon {
    color: currentColor;
}
