@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --emerald: #18B47B;
    --emerald-dark: #139062;
    --emerald-light: #e8f7f2;
}

body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

/* Emerald Utility Classes */
.text-emerald {
    color: var(--emerald);
}

.bg-emerald {
    background-color: var(--emerald);
}

.border-emerald {
    border-color: var(--emerald);
}

.ring-emerald {
    --tw-ring-color: var(--emerald);
}

.hover-bg-emerald:hover {
    background-color: var(--emerald);
}

.hover-text-emerald:hover {
    color: var(--emerald);
}

/* Premium Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--emerald);
}

/* Custom Scrollbar Utility */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #e2e8f0;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--emerald);
}

/* Transitions */
.transition-em {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media screen and (max-width: 640px) {

    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        text-align: left !important;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}