/* General Mobile Fixes */
@media (max-width: 992px) {
    /* Login Page Fixes */
    .login-wrapper {
        flex-direction: column;
    }

    .login-left {
        display: none; /* Hide decorative left panel on mobile */
    }

    .login-right {
        flex: 1 1 100%;
        min-height: 100vh;
    }

    /* Sidebar Fixes */
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1050; /* Ensure it's on top of content */
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0 !important;
    }

    .footer {
        margin-left: 0 !important;
    }

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1040; /* Below sidebar but above content */
        display: none;
    }

    .overlay.show {
        display: block;
    }
}
