/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

body, html {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #F3F4F6; /* Gray-100 */
    color: #1F2937; /* Gray-800 */
    overscroll-behavior-y: none; /* Mencegah layar memantul (rubber banding) */
    overscroll-behavior-x: none;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden; /* Mencegah geser horizontal */
    max-width: 100vw; /* Menjaga lebar sesuai layar */
    touch-action: pan-y; /* Blokir zoom 2 jari & geser horizontal, hanya izinkan scroll atas/bawah */
}

/* Mencegah auto-zoom di iOS saat mengetik di form */
@media screen and (max-width: 768px) {
    input, select, textarea {
        font-size: 16px !important;
    }
}

/* Glassmorphism utility */
.glass {
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
::-webkit-scrollbar-thumb {
    background: #0B7A4B; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #27AE60; 
}

/* Smooth transition */
.transition-all-200 {
    transition: all 0.2s ease-in-out;
}

/* DataTables customization for Tailwind */
table.dataTable.no-footer {
    border-bottom: 1px solid #e5e7eb;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 0.375rem !important;
    border: 1px solid transparent !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #0B7A4B !important;
    color: white !important;
    border-color: #0B7A4B !important;
}
