
@media screen and (max-width: 768px) {
    
    html { font-size: 14px; }
    
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    table {
        min-width: 600px;
    }
    
    .modal-content {
        width: 95% !important;
        padding: 20px !important;
        margin-top: 50px;
    }
}

@media screen and (max-width: 768px) {
    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 1rem; padding: 0 20px; }
    .auth-form { width: 100%; }
}

@media screen and (max-width: 768px) {
    .dashboard-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        padding: 10px;
        border-left: none;
        border-bottom: 1px solid #333;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: relative;
        box-sizing: border-box;
    }

    .user-info {
        display: none;
    }

    .mobile-menu-toggle {
        display: block !important;
        background: none;
        border: none;
        color: #fff;
        font-size: 24px;
        cursor: pointer;
    }

    .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1e1e1e;
        z-index: 100;
        border-bottom: 1px solid #333;
        flex-direction: column;
    }

    .menu.active {
        display: flex;
    }

    .content {
        padding: 15px;
    }
    
    .radio-group { flex-direction: column; }
    .buttons { flex-direction: column-reverse; gap: 10px; }
    .btn-next, .btn-prev { width: 100%; }
}

@media screen and (max-width: 768px) {
    .admin-header {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .admin-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .admin-nav a { margin: 5px; }

    .filter-bar form {
        flex-direction: column;
    }
    
    .filter-bar input, .filter-bar select, .filter-bar button {
        width: 100%;
    }
    
    .grid-container {
        grid-template-columns: 1fr;
    }
    
    .modal-body {
        width: 95%;
        margin: 10px;
        max-height: 90vh;
        overflow-y: auto;
    }
}