html, body {
    font-family: Roboto, Arial, sans-serif;
    background: #f6f7fb;
    margin: 0;
}

.mud-main-content {
    min-height: calc(100vh - 64px);
}

input[type=file] {
    max-width: 100%;
    padding: 8px 0;
}

/* Navigation: full buttons on wide screens, hamburger + drawer on phones/tablets */
.nav-mobile {
    display: none !important;
}

.nav-desktop {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
}

@media (max-width: 959.98px) {
    .nav-desktop {
        display: none !important;
    }

    .nav-mobile {
        display: inline-flex !important;
    }
}

/* Small screens */
@media (max-width: 599.98px) {
    .app-title {
        font-size: 1.05rem !important;
        margin-right: 0 !important;
    }

    .mud-typography-h4 {
        font-size: 1.6rem !important;
    }

    .mud-button-root {
        white-space: normal;
    }

    .mud-table-container {
        overflow-x: auto;
    }
}
