/**
 * Mobile Menu Styles for Tutor Dashboard
 */

/* Mobile Menu Styles */
@media screen and (max-width: 767px) {
    .tutor-dashboard-left-menu {
        bottom: 50px;
        position: fixed;
        top: 50px;
        background-color: #fff;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
        z-index: 9999;
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    .tutor-dashboard-left-menu.show {
        left: 0;
    }

    /* Backdrop for mobile menu */
    .tutor-mobile-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .tutor-dashboard-left-menu.show + .tutor-mobile-backdrop {
        display: block;
        opacity: 1;
    }

    /* Style for the drag handle - makes it more visible on mobile */
    .sidebar-drag-handle {
        display: block;
        position: absolute;
        right: -15px;
        top: 50%;
        transform: translateY(-50%);
        width: 30px;
        height: 50px;
        background-color: #fff;
        border-radius: 0 4px 4px 0;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
        z-index: 9998;
        cursor: pointer;
    }

    .sidebar-drag-handle::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 6px;
        height: 25px;
        background-color: #eee;
        border-radius: 3px;
    }

    /* Adjust content area when menu is showing */
    .tutor-dashboard-content {
        margin-left: 0;
        width: 100%;
    }
} 