﻿.scrollable-menu-content {
    max-height: 550px; /* Adjust as needed */
    overflow-y: auto;
}

.menu-grid-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px; /* or your preferred height */
    width: 100%;
    background: #f5f5f5;
    border-radius: 4px;
    margin: 0;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    /* Remove default padding if needed */
    padding: 0;
}

    .menu-grid-item:hover {
        background-color: #e0e0e0;
    }

.menu-grid-muditem {
    padding: 2px !important;
    box-sizing: border-box;
}

/* Override MudBlazor's menu item text alignment */
.menu-grid-item .mud-menu-item-text {
    width: 100%;
    text-align: center !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0 !important;
    height: 100%;
}

.no-inline-margin {
    margin-inline-start: 0 !important;
    margin-inline-end: 0 !important;
    padding: 0 !important;
}

