/* /Layout/BottomNav.razor.rz.scp.css */
.ctms-bottomnav[b-s27ea4nbgr] {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(56px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    z-index: 1090; /* above content/FABs (1050), below the drawer (1100) so its overlay covers the nav */
    background-color: var(--mud-palette-surface);
    border-top: 1px solid var(--mud-palette-lines-default);
}

/* Phones and small tablets only — matches the drawer's Breakpoint.Md cutoff (960px). */
@media (max-width: 959.98px) {
    .ctms-bottomnav[b-s27ea4nbgr] {
        display: flex;
    }
}

.ctms-bottomnav-item[b-s27ea4nbgr] {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--mud-palette-text-secondary);
    font-size: 0.6875rem;
    text-decoration: none;
}

.ctms-bottomnav-item.active[b-s27ea4nbgr] {
    color: var(--mud-palette-primary);
}
