/* =========================================
   TEMA VISUAL INFO LOMBA KSE (FINAL)
   Warna: Biru Tua (KSE), Emas (Prestasi), Putih (Bersih)
   ========================================= */

/* 1. VARIABEL & RESET */
:root {
    /* Palet Warna KSE */
    --kse-blue: #003366;
    /* Biru Tua KSE */
    --kse-blue-dark: #002244;
    /* Biru Lebih Gelap (Hover) */
    --kse-gold: #fbbf24;
    /* Kuning Emas (Aksen) */
    --kse-gold-dark: #d97706;
    /* Emas Gelap (Teks) */

    /* Warna Interface */
    --bg-page: #f8fafc;
    /* Background Halaman (Abu sangat muda) */
    --bg-card: #ffffff;
    /* Background Kartu */
    --text-main: #1e293b;
    /* Teks Utama (Hampir Hitam) */
    --text-muted: #64748b;
    /* Teks Sekunder (Abu-abu) */
    --border: #e2e8f0;
    /* Garis Batas */

    /* Efek Visual */
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius: 16px;
    /* Sudut melengkung */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
}

/* 2. HEADER (NAVIGASI ATAS) */
.main-header {
    background: linear-gradient(-45deg, var(--kse-blue), #0f4c81, var(--kse-blue-dark), #1a365d);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: white;
    padding: 3rem 0;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    text-align: center;
}

.header-logo {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.brand {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 1rem;
    color: var(--kse-gold);
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* 3. FILTER & PENCARIAN (STICKY) */
.filter-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-container {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

/* Kotak Pencarian */
.search-box {
    position: relative;
    flex: 1;
    min-width: 280px;
    max-width: 500px;
}

.search-box i {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--kse-blue);
}

.search-box input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 3rem;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--kse-blue);
    box-shadow: 0 0 0 4px rgba(0, 51, 102, 0.1);
}

/* Tombol Filter */
.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--border);
    background: white;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: var(--kse-blue);
    color: var(--kse-blue);
}

.filter-btn.active {
    background: var(--kse-blue);
    color: white;
    border-color: var(--kse-blue);
}

/* 4. CONTAINER KARTU LOMBA */
.main-content {
    padding: 2rem 0;
    min-height: 60vh;
}

.lomba-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.lomba-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.lomba-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 30px -5px rgba(0, 51, 102, 0.15);
    border-color: rgba(0, 51, 102, 0.3);
    z-index: 10;
}

/* Efek Cahaya Lewat (Shine) saat hover */
.lomba-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    z-index: 5;
    pointer-events: none;
}

.lomba-card:hover::after {
    left: 150%;
}

/* Aksen garis emas/biru di atas kartu */
.lomba-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(to right, var(--kse-blue), var(--kse-gold));
}

.card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Header Kartu (Status) */
.card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.open {
    background: #dcfce7;
    color: #15803d;
}

/* Hijau */
.status-badge.coming {
    background: #fef3c7;
    color: #b45309;
}

/* Oranye */
.status-badge.closed {
    background: #f1f5f9;
    color: #64748b;
}

/* Abu */

.urgency-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    margin-left: 0.5rem;
}

.urgent-critical {
    background: #ef4444;
    color: white;
    animation: pulse 1.5s infinite;
}

.urgent {
    background: #f97316;
    color: white;
}

.hot {
    background: var(--kse-gold);
    color: #000;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

/* Judul & Info Dasar */
.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--kse-blue);
}

.basic-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.basic-info span {
    background: #f1f5f9;
    color: var(--text-muted);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--border);
}

/* Detail Lomba */
.organizer,
.prize,
.fee {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.organizer i,
.prize i,
.fee i {
    color: var(--kse-blue);
    width: 16px;
    text-align: center;
}

/* Deadline Box */
.deadline {
    margin-top: auto;
    background: #fffbeb;
    /* Kuning sangat muda */
    border: 1px solid #fcd34d;
    color: #92400e;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

/* Tombol Aksi */
.card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.btn-primary {
    background: var(--kse-blue);
    color: white;
    padding: 0.75rem;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.btn-primary:hover {
    background: var(--kse-blue-dark);
}

.btn-secondary {
    background: white;
    color: var(--kse-blue);
    padding: 0.75rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid var(--kse-blue);
    cursor: pointer;
    transition: 0.2s;
}

.btn-secondary:hover {
    background: #f0f9ff;
}

.btn-primary:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
}

/* 6. MODAL (POPUP DETAIL) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-title {
    color: var(--kse-blue);
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.modal-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    transition: 0.2s;
}

.modal-close-btn:hover {
    color: var(--kse-blue);
}

.modal-section {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.5rem;
}

.modal-section:last-child {
    border: none;
}

.modal-section h5 {
    color: var(--kse-blue);
    font-weight: 700;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 7. FOOTER & UTILITIES */
.main-footer {
    background: var(--kse-blue);
    color: white;
    text-align: center;
    padding: 2.5rem 0;
    margin-top: 4rem;
}

.main-footer p {
    opacity: 0.9;
    margin: 0;
}

.no-results,
.empty-state,
.error-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.no-results i,
.empty-state i {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* 7.5 SKELETON LOADING */
.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    padding-bottom: 2rem;
}

.skeleton-card {
    height: 380px;
    pointer-events: none;
}

.skeleton-box,
.skeleton-title-box,
.skeleton-line,
.skeleton-actions {
    background: #e2e8f0;
    border-radius: 6px;
    background-image: linear-gradient(90deg, #e2e8f0 0px, #f8fafc 40px, #e2e8f0 80px);
    background-size: 600px;
    animation: shimmer 1.5s infinite linear;
}

.skeleton-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
}

.skeleton-box {
    height: 26px;
    border-radius: 8px;
}

.skeleton-box.w-30 {
    width: 35%;
}

.skeleton-box.w-20 {
    width: 25%;
}

.skeleton-title-box {
    height: 32px;
    width: 85%;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.skeleton-line {
    height: 16px;
    margin-bottom: 0.8rem;
    width: 100%;
    border-radius: 50px;
}

.skeleton-line.w-70 {
    width: 70%;
    margin-bottom: 2.5rem;
}

.skeleton-actions {
    height: 45px;
    width: 100%;
    border-radius: 10px;
    margin-top: auto;
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }

    100% {
        background-position: 400px 0;
    }
}

@keyframes floatUp {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
}

.empty-state-img {
    animation: floatUp 3s ease-in-out infinite;
}

/* 9. BACK TO TOP BUTTON */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--kse-blue);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 51, 102, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--kse-gold);
    color: #000;
    transform: translateY(-5px) scale(1.1);
}

/* 8. RESPONSIVE (HP) */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .brand {
        font-size: 1.8rem;
    }

    .search-box {
        width: 100%;
        max-width: none;
    }

    .filter-container {
        flex-direction: column;
    }

    .card-actions {
        grid-template-columns: 1fr;
    }

    /* Tombol jadi atas bawah di HP */
    .modal-content {
        padding: 1.5rem;
    }
}

/* ===== FOOTER PREMIUM PKSE UNRI ===== */
.footer-wave-container {
    width: 100%;
    margin-top: 5rem;
    overflow: hidden;
    line-height: 0;
}

.footer-wave {
    width: 100%;
    height: 100px;
    /* Lebar SVG wave */
}

.premium-footer {
    background: var(--kse-blue-dark);
    color: white;
    padding: 0 0 1rem 0;
    margin-top: -1px;
    /* seamless block */
    border-top: none;
}

/* Grid Layout */
.premium-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 2rem;
    text-align: left;
}

/* Kolom Kiri: Brand & Logo */
.footer-logos {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.brand-col .footer-logos {
    justify-content: flex-start;
}

.separator {
    width: 2px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.footer-logos img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
    opacity: 0.95;
    object-fit: contain;
}

.footer-logos img:hover {
    transform: scale(1.1);
    opacity: 1;
}

.logo-paguyuban {
    height: 55px;
    /* Diselaraskan kembali sesuai grid 3 kolom */
    width: auto;
}

.logo-kabinet {
    height: 45px;
    width: auto;
}

.footer-title {
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: var(--kse-gold);
}

.footer-tagline {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 90%;
}

/* Tautan Cepat */
.col-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-bottom: 0.5rem;
    margin-top: 0;
}

.col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--kse-gold);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--kse-gold);
    transition: transform 0.3s;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

/* Pengelola & Kontak */
.pengelola-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    padding: 0.6rem 1rem;
    border-radius: 50px;
    color: var(--kse-gold);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.pengelola-badge:hover {
    background: rgba(251, 191, 36, 0.2);
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.2);
}

.footer-paguyuban-name {
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.contact-info p {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-info i {
    color: var(--kse-gold);
    width: 16px;
    text-align: center;
}

/* Social Icons Premium */
.premium-socials {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: var(--kse-gold);
    color: var(--kse-blue-dark);
    transform: translateY(-5px);
    border-color: var(--kse-gold);
    box-shadow: 0 10px 15px rgba(251, 191, 36, 0.2);
}

/* Footer Bottom Strip */
.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Responsive Grid Footer */
@media (max-width: 992px) {
    .premium-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .brand-col {
        grid-column: span 2;
    }
}

/* Navigasi & Filter */
.nav-section {
    background: white;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--border);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-section.nav-hidden {
    transform: translateY(-100%);
}

.search-container {
    margin-bottom: 1.2rem;
    display: flex;
    justify-content: center;
}

/* Tab Kategori Modern */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.tab-btn {
    background: white;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.tab-btn i {
    font-size: 1.1rem;
}

.tab-btn:hover {
    border-color: var(--kse-blue);
    color: var(--kse-blue);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--kse-blue);
    color: white;
    border-color: var(--kse-blue);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.2);
}

/* Filter Pill (Status Open/Closed) */
.status-filters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.filter-pill {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.2s;
}

.filter-pill:hover {
    color: var(--kse-blue);
    background: #f1f5f9;
}

.filter-pill.active {
    color: var(--kse-blue);
    background: #e0f2fe;
    font-weight: 700;
}

/* Tampilan Kartu Baru */
.category-badge {
    background: var(--kse-gold);
    color: #000;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.info-tag {
    background: #f1f5f9;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.urgency-bar {
    background: #fee2e2;
    color: #b91c1c;
    padding: 0.4rem;
    border-radius: 6px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border: 1px solid #fecaca;
}

/* Warna khusus untuk Magang */
.lomba-card.card-magang {
    border-top: 4px solid #10b981; /* Emerald/Hijau */
}
.lomba-card.card-magang::before {
    display: none; /* Hilangkan gradient default */
}
.lomba-card.card-magang .category-badge {
    background: #d1fae5;
    color: #047857;
}

/* Warna khusus untuk Loker / Lowongan Kerja */
.lomba-card.card-loker {
    border-top: 4px solid #1e3a8a; /* Navy Blue */
}
.lomba-card.card-loker::before {
    display: none; /* Hilangkan gradient default */
}
.lomba-card.card-loker .category-badge {
    background: #eff6ff;
    color: #1e40af;
}

/* Warna khusus untuk Seminar (Amber/Orange) */
.lomba-card.card-seminar {
    border-top: 4px solid #f59e0b; /* Amber */
}
.lomba-card.card-seminar::before {
    display: none; /* Hilangkan gradient default */
}
.lomba-card.card-seminar .category-badge {
    background: #fef3c7;
    color: #b45309;
}

/* =========================================
   PERBAIKAN TAMPILAN MOBILE (NAVIGASI)
   ========================================= */
@media (max-width: 768px) {
    .nav-section {
        padding: 0.8rem 0;
        /* Kurangi padding atas bawah agar tidak boros layar */
    }

    .search-container {
        margin-bottom: 0.8rem;
    }

    /* Tab Kategori jadi bisa di-scroll ke samping (Swipe) */
    .category-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        margin-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
        /* Smooth scroll di iOS */
        scrollbar-width: none;
        /* Hilangkan scrollbar di Firefox */
        gap: 0.5rem;
    }

    .category-tabs::-webkit-scrollbar {
        display: none;
        /* Hilangkan scrollbar di Chrome/Safari */
    }

    .tab-btn {
        white-space: nowrap;
        /* Teks tombol tidak turun ke bawah */
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }

    /* Filter Status juga di-scroll ke samping */
    .status-filters {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0.5rem;
    }

    .status-filters::-webkit-scrollbar {
        display: none;
    }

    .filter-pill {
        white-space: nowrap;
        font-size: 0.8rem;
    }
}