
/*
 * KlaAtlas shared navigation
 * Used by all PHP pages.
 */

/* Navigation icon */

.sidebar .nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    min-width: 22px;
    height: 22px;

    margin-right: 2px;

    font-size: 0;
    line-height: 1;
    vertical-align: middle;
}

.sidebar .nav-icon svg {
    display: block;

    width: 20px;
    height: 20px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;

    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Keep labels and icons aligned */

.sidebar a {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Keyboard navigation */

.sidebar a:focus-visible {
    outline: 2px solid #2dd4bf;
    outline-offset: 3px;
}

/* Small screens */

@media (max-width: 700px) {
    .sidebar .nav-icon {
        width: 20px;
        min-width: 20px;
        height: 20px;
    }

    .sidebar .nav-icon svg {
        width: 18px;
        height: 18px;
    }
}

