/* MOBILE LAYOUT — MATCH PRODUCTION */

/* Trigger mobile layout under 768px width */
@media (max-width: 768px) {

    /* Collapse ALL columns into vertical blocks */
    .col-left,
    .col-middle,
    .col-right {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        border-left: none !important;
        border-right: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 1rem;
    }

    /* All cards full-width */
    .card {
        width: 100% !important;
        margin-bottom: 1.2rem;
    }

    /* Input groups collapse: each field full width */
    .row > .col-md-3,
    .row > .col-md-4,
    .row > .col-md-5,
    .row > .col-md-6,
    .row > .col-md-7,
    .row > .col-md-8,
    .row > .col-md-9,
    .row > .col-md-10,
    .row > .col-md-12 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    /* Buttons full width */
    .btn {
        width: 100% !important;
        margin-bottom: 0.5rem;
    }

    /* Navbar centered like production */
    .navbar-brand,
    #userMenu {
        text-align: center;
        width: 100%;
        display: block;
    }

    .dropdown-menu-end {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    /* Space between stacked fields */
    .mb-3 {
        margin-bottom: 1rem !important;
    }

    /* Today's schedule items full width */
    .schedule-item {
        width: 100%;
        display: block;
        padding: 12px;
        margin-bottom: 10px;
    }

    /* Graph & notes spacing */
    textarea.form-control {
        width: 100% !important;
    }

}
