@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
    font-family: 'Inter', sans-serif;
}

.nav-link {
    @apply block px-4 py-2 rounded-lg text-slate-300 hover:bg-slate-800 transition-colors duration-200;
}

.nav-link.active {
    @apply bg-blue-600/20 text-blue-400;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    aside {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        width: 64;
        z-index: 40;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    aside.active {
        transform: translateX(0);
    }

    main {
        margin-left: 0;
        padding-top: 4rem;
    }

    .grid {
        grid-template-columns: 1fr !important;
    }

    table {
        font-size: 0.875rem;
    }

    .px-6 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 640px) {
    .p-8 {
        padding: 1rem;
    }

    .text-3xl {
        font-size: 1.5rem;
    }

    .overflow-x-auto {
        font-size: 0.75rem;
    }

    button {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgb(71, 85, 105);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(100, 116, 139);
}

/* Modal Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#vacancyModal:not(.hidden),
#questionModal:not(.hidden),
#applicationModal:not(.hidden) {
    animation: slideIn 0.3s ease-out;
}