@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 2vh;
    }

    .nav ul {
        gap: 1.5vh;
    }

    .nav ul li a {
        font-size: 1.8vh;
        padding: 0.8vh 1.5vh;
    }

    .form-container {
        margin: 3vh 2vh;
        padding: 3vh;
    }

    .profile-info {
        grid-template-columns: 1fr;
    }

    .table {
        font-size: 1.6vh;
    }

    .table th, .table td {
        padding: 1vh;
    }

    .card {
        padding: 3vh;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2.5vh;
    }

    .nav ul {
        flex-direction: column;
        gap: 1vh;
        text-align: center;
    }

    .form-title {
        font-size: 2.5vh;
    }

    .btn {
        padding: 1.2vh 2.5vh;
        font-size: 1.8vh;
    }

    .form-container {
        padding: 2.5vh;
    }

    .card {
        padding: 2.5vh;
    }

    .profile-info {
        gap: 1vh;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 2vh;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5vh;
    }

    .nav-link {
        font-size: 1.8vh;
        padding: 0.8vh 1.5vh;
    }

    .user-info {
        flex-direction: column;
        gap: 1vh;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2vh;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .form-container {
        margin: 3vh 2vh;
        padding: 3vh;
    }

    .profile-info {
        grid-template-columns: 1fr;
    }

    .table {
        font-size: 1.6vh;
    }

    .table th, .table td {
        padding: 1vh;
    }

    .card {
        padding: 3vh;
    }

    /* Admin responsive */
    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filter-header {
        flex-direction: column;
        gap: 2vh;
        text-align: center;
    }
    
    .action-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2.8vh;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1vh;
    }

    .form-title {
        font-size: 2.5vh;
    }

    .btn {
        padding: 1.2vh 2.5vh;
        font-size: 1.8vh;
    }

    .form-container {
        padding: 2.5vh;
    }

    .card {
        padding: 2.5vh;
    }

    .profile-info {
        gap: 1vh;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.5vh;
    }

    /* Admin mobile */
    .stats-cards {
        grid-template-columns: 1fr;
    }
    
    .admin-title {
        font-size: 3vh;
    }
}