@import './tailwind.css';

body {
    margin: 0;
    font-family: "Poppins", "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-weight: 400;
    color: #5E6282;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(241, 165, 1, 0.8);
}

.custom-hr {
    border: none;
    height: 6px;
    background-color: rgb(209 213 219);
    border-radius: 2px;
    width: 25%;
    margin: 0 auto;
    cursor: pointer;
}

.shadow-top {
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.04), 0 -2px 4px -1px rgba(0, 0, 0, 0.06);
}



.status-icon {
    font-size: 3rem;
    /* Ukuran ikon */
    margin-bottom: 1rem;
    /* Jarak antara ikon dan teks */
}

.status-success {
    color: #38a169;
    /* Hijau untuk sukses */
}

.status-error {
    color: #e53e3e;
    /* Merah untuk error */
}

.status-warning {
    color: #d69e2e;
    /* Kuning untuk peringatan */
}

.shadow-icon {
    -webkit-filter: drop-shadow(4px 4px 4px rgba(241, 165, 1, 0.8));
    filter: drop-shadow(4px 4px 4px rgba(241, 165, 1, 0.2));
}

/* Global scrollbar styling for WebKit browsers (Chrome, Safari, etc.) */
::-webkit-scrollbar {
    width: 0;
    /* Lebar scrollbar diatur menjadi 0, sehingga tidak terlihat */
}

::-webkit-scrollbar-thumb {
    background-color: rgba(241, 165, 1, 0.8);
    /* Transparan */
}

::-webkit-scrollbar-track {
    background: rgba(241, 165, 1, 0.8);
    /* Transparan */
}

/* Firefox scrollbar styling */
* {
    scrollbar-width: none;
    /* Menghilangkan scrollbar di Firefox */
    scrollbar-color: transparent transparent;
    /* Transparansi penuh */
}

/* Untuk desktop, sedikit tampilkan scrollbar */
@media (min-width: 768px) {

    /* Sesuaikan dengan breakpoint yang diinginkan */
    ::-webkit-scrollbar {
        width: 8px;
        /* Lebar scrollbar sedikit ditampilkan */
    }

    ::-webkit-scrollbar-thumb {
        background-color: rgba(241, 165, 1, 0.8);
        /* Warna scrollbar thumb */
        border-radius: 10px;
        /* Sudut melengkung */
    }

    ::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.5);
        /* Warna track scrollbar */
    }

    * {
        scrollbar-width: thin;
        /* Lebar scrollbar di Firefox */
        scrollbar-color: rgba(241, 165, 1, 0.8) rgba(255, 255, 255, 0.5);
        /* Warna scrollbar dan track */
    }
}



/* Smooth transitions for all interactive elements */
* {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Success notification styles */
.success-notification {
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

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

.dt-length label {
    display: none;
}

.dt-search label {
    display: none;
}

.dt-info {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

@keyframes wiggle {
    0% {
        transform: rotate(-5deg);
    }

    25% {
        transform: rotate(5deg);
    }

    50% {
        transform: rotate(-5deg);
    }

    75% {
        transform: rotate(5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.animate-wiggle {
    animation: wiggle 1s ease-in-out infinite;
}

.menu-item {
    transition: background-color 0.3s ease;
    /* Animasi halus untuk perubahan warna */
}

.menu-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    /* Warna hover */
}

.menu-item.active {
    background-color: rgba(255, 255, 255, 0.3);
    /* Warna untuk item aktif */
}