/* Consistent compact dropdown chevron throughout the admin UI. */
select:not([multiple]) {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1.5 5 5 5-5' fill='none' stroke='%235A6678' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 10px 7px;
    padding-right: 38px !important;
}

/* Keep the logout action pinned to the bottom of the desktop sidebar.
   This is global on purpose because NavMenu is a child component and scoped
   MainLayout CSS cannot reliably style its internal elements. */
@media (min-width: 801px) {
    .sidebar {
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden;
    }

    .sidebar .nav-main {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
    }

    .sidebar .nav-bottom {
        position: static !important;
        flex: 0 0 auto;
        margin-top: auto !important;
        padding: 14px 12px 18px;
        border-top: 1px solid rgba(255, 255, 255, .08);
    }
}
