body {
    font-family: "poppins", sans-serif;
}

/* Custom scrollbar for better aesthetics */
::-webkit-scrollbar {
    width: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 767px) {
    .responsive-table thead {
        display: none;
    }

    .responsive-table tbody,
    .responsive-table tr {
        display: block;
    }

    .responsive-table tr {
        margin-bottom: 1rem;
        border: 1px solid #e5e7eb;
        /* border-gray-200 */
        border-radius: 0.75rem;
        /* rounded-xl */
        padding: 1rem;
        box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1),
            0 1px 2px -1px rgb(0 0 0 / 0.1);
    }

    .responsive-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid #f3f4f6;
        /* border-gray-100 */
        text-align: right;
    }

    .responsive-table td:last-child {
        border-bottom: none;
        padding-top: 1rem;
    }

    .responsive-table td::before {
        content: attr(data-label);
        font-weight: 500;
        /* font-medium */
        text-align: left;
        margin-right: 1rem;
        color: #4b5563;
        /* text-gray-600 */
    }
}
