/* =========================================================
   STYLE.CSS - CANDRA WIJAYA INTERNATIONAL BADMINTON CENTRE
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@300;400;500;600;700&display=swap');

/* --- 1. VARIABLES --- */
:root {
    /* Color Palette */
    --navy: #1c3d8a;
    --navy-dark: #122a61;
    --gold: #f5a31f;
    --gold-light: #f7de79;
    --white: #ffffff;
    --bg-light: #f4f7f6;
    --text-dark: #0e1f47;
    --text-muted: #8a9ab8;
    --border-color: #e2e8f0;
    
    /* Layout Measurements */
    --sidebar-width: 250px;
    --header-height: 75px;
    --radius: 8px;
    --transition: 0.3s ease;
}

/* --- 2. BASE & RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    box-sizing: border-box;
    scroll-behavior: smooth; /* Tambahkan baris ini agar scroll meluncur halus */
    scroll-padding-top: var(--header-height); /* Mencegah judul tertutup navbar sticky */
}

body {
    font-family: 'Barlow', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.5;
}

h1, h2, h3, h4 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- 3. GLOBAL HEADER / NAVBAR (STICKY & GLASSMORPHISM) --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- LOGO BRAND --- */
.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    color: var(--navy-dark);
    letter-spacing: 0.5px;
    white-space: nowrap; /* Mencegah teks logo terlipat ke bawah */
    flex-shrink: 0; /* Mencegah logo mengecil terhimpit menu */
}

.header-brand img {
    height: 40px;
    object-fit: contain;
}

/* --- MENU WRAPPER (DESKTOP) --- */
.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--navy);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn svg {
    width: 28px;
    height: 28px;
    fill: var(--navy);
}

/* --- NAVBAR RESPONSIVENESS & ANIMASI (MOBILE) --- */
@media (max-width: 768px) {
    .header-brand span {
        font-size: 20px; /* Ukuran teks logo sedikit dikecilkan di HP */
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Setelan Awal Dropdown (Tertutup) */
    .nav-wrapper {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 0 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        
        /* Animasi Slide & Fade */
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
    }

    /* Setelan Dropdown Terbuka (.menu-open ditambahkan via jQuery) */
    .header-container.menu-open .nav-wrapper {
        max-height: 500px; /* Angka cukup besar agar semua menu muat */
        opacity: 1;
        padding: 20px;
    }

    .header-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        width: 100%;
    }

    .header-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-top: 10px;
        padding-top: 15px;
        border-top: 1px solid var(--border-color); /* Garis pemisah antara menu dan tombol */
    }

    .btn-outline, .btn-solid {
        width: 100%;
        text-align: center;
    }
}

/* --- 4. GLOBAL COMPONENTS (BUTTONS, INPUTS, CARDS) --- */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary { background-color: var(--navy); color: var(--white); }
.btn-primary:hover { background-color: var(--navy-dark); }

.btn-gold { background-color: var(--gold); color: var(--navy-dark); }
.btn-gold:hover { background-color: var(--gold-light); }

.btn-outline {
    padding: 8px 18px;
    border: 1px solid var(--navy);
    color: var(--navy);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    background: transparent;
}
.btn-outline:hover { background-color: var(--navy); color: var(--white); }

.btn-solid {
    padding: 8px 18px;
    background-color: var(--navy);
    color: var(--white);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--navy);
    transition: var(--transition);
}
.btn-solid:hover { background-color: var(--navy-dark); border-color: var(--navy-dark); }

.card {
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 15px;
}

.card-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    background-color: rgba(244, 247, 246, 0.5);
}

.card-body { padding: 20px; }

/* Forms */
.form-group { margin-bottom: 15px; }
.form-label { display: block; margin-bottom: 5px; font-weight: 500; font-size: 14px; }
.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 2px rgba(28, 61, 138, 0.1);
}

/* --- 5. AUTHENTICATION PAGES (LOGIN, REGISTER, FORGET PWD) --- */
.auth-body {
    background-image: 
        linear-gradient(to bottom right, rgba(255, 255, 255, 0.95), rgba(28, 61, 138, 0.5)),
        url('../asset/loginBackground.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 90px 20px 20px 20px; /* Padding atas agar tidak tertutup header */
}

.login-wrapper {
    width: 100%;
    max-width: 850px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.login-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    width: 100%;
    overflow: hidden;
}

.login-image {
    display: none; /* Disembunyikan di HP */
    flex: 1;
    background-image: url('../asset/loginBackground.webp');
    background-size: cover;
    background-position: center;
}

.login-form-side, .auth-form-side {
    flex: 1;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-title {
    font-family: 'Barlow', sans-serif;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: #111;
}

.input-wrapper { margin-bottom: 20px; }
.input-wrapper label {
    display: block;
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
    font-weight: 500;
}

.input-pill {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    transition: var(--transition);
}
.input-pill:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 2px rgba(28, 61, 138, 0.1);
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    margin-bottom: 25px;
}

.remember-me { display: flex; align-items: center; gap: 6px; color: #888; cursor: pointer; }
.forgot-pwd { color: var(--navy); font-weight: 600; }
.forgot-pwd:hover { text-decoration: underline; }

.btn-login {
    width: 100%;
    background-color: var(--navy);
    color: var(--white);
    padding: 14px;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 25px;
}
.btn-login:hover { background-color: var(--navy-dark); }

.login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #aaa;
    font-size: 12px;
    margin-bottom: 20px;
}
.login-divider::before, .login-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eee;
}
.login-divider span { padding: 0 10px; }

.social-login {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}
.social-btn {
    width: 45px;
    height: 45px;
    background-color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.social-btn svg { fill: var(--white); width: 20px; height: 20px; }
.social-btn:hover { background-color: var(--navy-dark); transform: translateY(-2px); }

.create-account-text { text-align: center; font-size: 13px; color: #888; }
.create-account-text a { color: var(--navy); font-weight: 600; }
.create-account-text a:hover { text-decoration: underline; }

@media (min-width: 768px) {
    .login-image { display: block; }
    .login-form-side, .auth-form-side { padding: 50px 60px; }
}


/* --- 6. DASHBOARD & PANEL LAYOUT (ADMIN/COACH/ATLET) --- */
.app-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    background-color: var(--navy);
    color: var(--white);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: fixed;
    height: 100vh;
    z-index: 100;
}

.sidebar-brand {
    height: var(--header-height);
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    color: var(--gold);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-nav { padding: 20px 0; flex-grow: 1; }
.nav-item {
    display: block;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    transition: var(--transition);
}
.nav-item:hover, .nav-item.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--gold);
    border-left: 4px solid var(--gold);
}

.main-content {
    flex-grow: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.top-header {
    height: var(--header-height);
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    position: sticky;
    top: 0;
    z-index: 90;
}

.header-title { font-size: 24px; color: var(--navy-dark); }
.user-profile { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background-color: var(--gold);
    color: var(--navy);
    display: flex; align-items: center; justify-content: center;
    font-weight: bold;
}

.content-canvas { padding: 30px; }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.stat-card { padding: 20px; display: flex; flex-direction: column; gap: 5px; }
.stat-title { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.stat-value { font-size: 32px; font-family: 'Bebas Neue', sans-serif; color: var(--navy); }

@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); }
    .main-content { margin-left: 0; }
    .grid-3 { grid-template-columns: 1fr; }
}

/* --- 7. HERO SECTION (LANDING PAGE) --- */
.hero-section {
    /* Gradien gelap di kiri, memudar transparan ke kanan */
    background-image: 
        linear-gradient(to right, rgba(12, 26, 59, 0.95) 0%, rgba(12, 26, 59, 0.2) 100%),
        url('../asset/loginBackground.webp'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center; /* Teks di tengah secara vertikal */
    color: var(--white);
    padding-top: var(--header-height); 
}

/* Memastikan konten sejajar dengan logo navbar */
.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    max-width: 700px; /* Membatasi lebar teks agar tetap di sisi kiri */
    text-align: left; /* Teks rata kiri rata sesuai gambar */
    animation: fadeInLeft 1s ease-out forwards;
}

.hero-sponsor {
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 90px;
    line-height: 1;
    margin-bottom: 5px;
    letter-spacing: 2px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-family: 'Barlow', sans-serif;
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.9);
}

/* Tambahan class untuk teks deskripsi */
.hero-desc {
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: flex-start; /* Tombol rata kiri */
}

.btn-hero-solid {
    background-color: var(--gold);
    color: var(--navy-dark);
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 30px;
    text-transform: uppercase;
    border: none;
    transition: var(--transition);
}

.btn-hero-solid:hover {
    background-color: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(245, 163, 31, 0.3);
}

.btn-hero-outline {
    background-color: transparent;
    color: var(--white);
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 30px;
    text-transform: uppercase;
    border: 2px solid var(--white);
    transition: var(--transition);
}

.btn-hero-outline:hover {
    background-color: var(--white);
    color: var(--navy-dark);
    transform: translateY(-3px);
}

/* Animasi Muncul dari Kiri */
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Responsif untuk HP */
@media (max-width: 768px) {
    .hero-title { font-size: 55px; }
    .hero-subtitle { font-size: 18px; letter-spacing: 1px; }
    .hero-desc { font-size: 14px; margin-bottom: 30px; }
    .hero-actions { flex-direction: column; width: 100%; max-width: 300px; }
    .btn-hero-solid, .btn-hero-outline { width: 100%; text-align: center; }
    
    /* Di HP, buat background lebih gelap merata agar teks terbaca jelas */
    .hero-section {
        background-image: 
            linear-gradient(rgba(12, 26, 59, 0.85), rgba(12, 26, 59, 0.95)),
            url('../asset/loginBackground.webp');
    }
}

/* --- 8. ABOUT US SECTION --- */
.about-section {
    padding: 100px 20px;
    background-color: var(--white);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Sisi Teks (Kiri) */
.about-text-side {
    flex: 1;
}

.about-label {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

/* Garis emas di sebelah teks "ABOUT US" */
.about-label::before {
    content: '';
    width: 35px;
    height: 2px;
    background-color: var(--gold);
}

.about-title {
    font-family: 'Barlow', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.2;
    margin-bottom: 25px;
}

.about-desc {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.85;
}

.btn-about {
    display: inline-block;
    background-color: var(--navy);
    color: var(--white);
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px; /* Sesuai gambar, sedikit membulat tapi tidak lonjong */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 15px;
    transition: var(--transition);
}

.btn-about:hover {
    background-color: var(--navy-dark);
    transform: translateY(-2px);
}

/* Sisi Gambar (Kanan) dengan Efek Potongan Miring */
.about-image-side {
    flex: 1;
    min-height: 480px;
    /* Ganti background-color dengan background-image jika foto sudah siap */
    background-color: #dbe5f5; /* Warna biru pucat seperti di mockup */
    background-image: url('../asset/about-photo.jpg'); /* Siapkan foto ini nanti */
    background-size: cover;
    background-position: center;
    
    /* Inilah kunci efek miringnya (Slanted Edge) */
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
    
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Teks Placeholder Image (Hapus jika foto asli sudah dipakai) */
.image-placeholder-text {
    font-family: 'Barlow', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.7;
    text-align: center;
}

/* Responsif untuk HP */
@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
        gap: 40px;
    }

    .about-image-side {
        width: 100%;
        min-height: 300px;
        /* Hapus efek potongan miring di layar kecil agar gambar terlihat utuh */
        clip-path: none; 
        border-radius: var(--radius);
    }
}

/* --- 9. ACADEMY / PROGRAMS SECTION --- */
.academy-section {
    background-color: var(--navy-dark);
    padding: 100px 20px;
    color: var(--white);
}

.academy-container {
    max-width: 1200px;
    margin: 0 auto;
}

.academy-header {
    text-align: center;
    margin-bottom: 60px;
}

.academy-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.academy-label::before {
    content: '';
    width: 35px;
    height: 2px;
    background-color: var(--gold);
}

.academy-main-title {
    font-family: 'Barlow', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

/* Layout 3 Kolom */
.academy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px; /* Memberikan efek garis pemisah tipis jika card beda warna */
}

.academy-card {
    background-color: var(--navy); /* Sedikit lebih terang dari navy-dark */
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.academy-card:hover {
    background-color: #21459a; /* Highlight saat di-hover */
}

/* Kotak Gambar dengan Efek Miring (Slanted) */
.academy-img-wrapper {
    height: 280px;
    background-color: #dbe5f5;
    background-image: linear-gradient(to bottom right, #eef2f9, #c4d3eb);
    /* Memotong sudut kanan bawah menjadi lebih tinggi */
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.academy-placeholder {
    font-family: 'Barlow', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.6;
    text-align: center;
    margin-top: -30px; /* Menyesuaikan posisi teks ke tengah area yang tidak terpotong */
}

/* Konten Teks Card */
.academy-content {
    padding: 20px 40px 50px 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.academy-title {
    font-family: 'Barlow', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.academy-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 25px;
    font-weight: 500;
}

.academy-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1; /* Mendorong tombol 'Learn More' ke bawah */
}

.academy-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.academy-link:hover {
    color: var(--gold-light);
    transform: translateX(5px); /* Efek panah bergeser ke kanan */
}

/* Responsif untuk HP dan Tablet */
@media (max-width: 900px) {
    .academy-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .academy-card {
        border-radius: var(--radius);
        overflow: hidden;
    }
}

/* --- 10. FACILITIES SECTION --- */
.facilities-section {
    padding: 100px 20px;
    background-color: var(--white);
}

.facilities-container {
    max-width: 1200px;
    margin: 0 auto;
}

.facilities-header {
    margin-bottom: 40px;
}

.facilities-label {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 15px;
}

.facilities-label::before {
    content: '';
    width: 35px;
    height: 2px;
    background-color: var(--gold);
}

.facilities-title {
    font-family: 'Barlow', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--navy-dark);
}

/* Grid 4 Kolom */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.facility-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.facility-img {
    height: 220px;
    background-color: #dbe5f5; /* Warna placeholder biru pucat */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-family: 'Barlow', sans-serif;
    font-size: 24px;
    font-weight: 700;
    opacity: 0.6;
    text-align: center;
    line-height: 1.2;
}

.facility-content {
    padding: 20px;
}

.facility-subtitle {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy-dark);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.facility-desc {
    font-size: 14px;
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.5;
}

.facilities-action {
    text-align: center;
}

.btn-view-all {
    display: inline-block;
    background-color: var(--navy);
    color: var(--white);
    padding: 14px 36px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-view-all:hover {
    background-color: var(--navy-dark);
}

/* Responsif untuk HP dan Tablet */
@media (max-width: 900px) {
    .facilities-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .facilities-grid { grid-template-columns: 1fr; }
}


/* --- 11. FOOTER SECTION --- */
.main-footer {
    background-color: #0c1a3b; /* Warna navy sangat gelap sesuai desain */
    color: var(--white);
    padding: 80px 20px 30px;
    font-family: 'Barlow', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    /* grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; Pembagian 5 kolom */
    grid-template-columns: 2fr 1fr 1fr 1.5fr; /* Pembagian 5 kolom */
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 250px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon svg {
    fill: var(--white);
    width: 16px;
    height: 16px;
}

.social-icon:hover {
    background-color: var(--gold);
}

.social-icon:hover svg {
    fill: var(--navy-dark);
}

.footer-heading {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: var(--white);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a, .footer-contact-item {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

/* Responsif Footer */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* --- 12. DASHBOARD DARK THEME LAYOUT --- */
.dashboard-body {
    background-color: #0a1128; /* Warna dasar navy sangat gelap */
    background-image: 
        linear-gradient(rgba(10, 17, 40, 0.9), rgba(10, 17, 40, 0.95)),
        url('../asset/loginBackground.webp'); /* Latar belakang shuttlecock samar */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    min-height: 100vh;
    padding-top: var(--header-height);
}

.dash-container {
    display: flex;
    min-height: calc(100vh - var(--header-height));
}

/* --- SIDEBAR (MENU KIRI) --- */
.dash-sidebar {
    width: 260px;
    background-color: #0d1838;
    border-right: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    position: fixed;
    height: calc(100vh - var(--header-height));
    overflow-y: auto;
    z-index: 90;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 30px;
    color: rgba(255,255,255,0.6);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.menu-item svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.menu-item:hover {
    color: var(--white);
    background-color: rgba(255,255,255,0.03);
}

.menu-item.active {
    color: var(--gold);
    border-left-color: var(--gold);
    background: linear-gradient(90deg, rgba(245, 163, 31, 0.1) 0%, transparent 100%);
}

.menu-badge {
    background-color: var(--gold);
    color: var(--navy-dark);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: auto;
}

/* --- MAIN CONTENT (KANAN) --- */
.dash-main {
    flex: 1;
    margin-left: 260px; /* Lebar sidebar */
    padding: 40px;
}

.dash-header-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 6px 16px;
    border-radius: 4px;
    margin-bottom: 25px;
}
.dash-header-label::before {
    content: '';
    width: 20px;
    height: 2px;
    background-color: var(--gold);
}

.dash-welcome {
    font-family: 'Barlow', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
}

.dash-subtitle {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 40px;
}

/* --- DASHBOARD CARDS --- */
.dash-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.dash-card {
    background: linear-gradient(145deg, rgba(28, 61, 138, 0.4), rgba(18, 42, 97, 0.6));
    border: 1px solid rgba(255,255,255,0.1);
    padding: 25px;
    display: flex;
    flex-direction: column;
    position: relative;
    /* Efek sudut terpotong di kanan bawah seperti desain */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
    transition: var(--transition);
}

.dash-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.3);
}

.dash-card-icon {
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.dash-card-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--navy-dark);
}

.dash-card-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 5px;
}

.dash-card-value {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.dash-card-info {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
    flex-grow: 1;
}

.dash-card-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
}
.dash-card-link:hover { text-decoration: underline; }

/* --- DASHBOARD TABLES --- */
.dash-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.dash-panel {
    background-color: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 25px;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.panel-title {
    font-size: 16px;
    font-weight: 600;
}

.btn-view-all-small {
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-view-all-small:hover { background-color: rgba(255,255,255,0.2); }

.dash-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 13px;
}
.dash-list-item:last-child { border-bottom: none; }

.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}
.status-confirmed { background-color: #10b981; color: #fff; }
.status-paid { color: #10b981; font-weight: 600; }

@media (max-width: 1024px) {
    .dash-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .dash-grid-2 { grid-template-columns: 1fr; }
}

/* Default: Sembunyikan bagian menu dashboard mobile di Desktop */
.mobile-dashboard-menu {
    display: none;
}

.hide-on-mobile {
    display: block;
}

@media (max-width: 768px) {
    .hide-on-mobile {
        display: none !important;
    }

    /* MENGHILANGKAN SIDEBAR KIRI SECARA TOTAL DI HP */
    .dash-sidebar {
        display: none; 
    }

    /* Memenuhi layar utama */
    .dash-main {
        margin-left: 0;
        padding: 20px;
    }

    /* MUNCULKAN MENU DASHBOARD DI DALAM HAMBURGER */
    .mobile-dashboard-menu {
        display: block;
        width: 100%;
        margin-top: 15px;
    }

    .mobile-menu-divider {
        border-top: 1px solid var(--border-color);
        margin: 15px 0;
    }

    .mobile-menu-title {
        font-size: 11px;
        font-weight: 700;
        color: var(--text-muted);
        margin-bottom: 10px;
        letter-spacing: 1.5px;
    }

    .mobile-menu-list {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    /* Modifikasi warna menu item karena background navbar mobile putih */
    .mobile-menu-list .menu-item {
        color: var(--text-dark);
        padding: 10px 15px;
        border-left: none; /* Hilangkan garis kiri */
        border-radius: 6px;
    }
    
    .mobile-menu-list .menu-item svg {
        fill: var(--text-dark);
    }

    .mobile-menu-list .menu-item:hover {
        background-color: var(--bg-light);
        color: var(--navy);
    }
    .mobile-menu-list .menu-item:hover svg {
        fill: var(--navy);
    }

    /* Status Aktif di Menu Mobile */
    .mobile-menu-list .menu-item.active {
        background-color: rgba(245, 163, 31, 0.15); /* Emas tipis */
        color: var(--gold);
        background-image: none; /* Buang gradien desktop */
    }
    .mobile-menu-list .menu-item.active svg {
        fill: var(--gold);
    }
    /* Setelan Dropdown Terbuka */
    .header-container.menu-open .nav-wrapper {
        max-height: 100vh; /* Diubah: Setinggi penuh layar HP */
        overflow-y: auto;  /* Ditambahkan: Agar menu bisa di-scroll ke bawah */
        opacity: 1;
        padding: 20px;
        padding-bottom: 100px; /* Jarak ekstra di bawah agar tidak mentok */
    }
}

/* --- 13. PROFILE PAGE STYLES --- */
.profile-card {
    background-color: rgba(13, 24, 56, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 40px;
    display: flex;
    gap: 40px;
    margin-top: 10px;
}

/* Kolom Kiri */
.profile-info-col {
    flex: 1;
    padding-right: 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.1); /* Garis pemisah tengah */
}

/* Kolom Kanan */
.profile-settings-col {
    flex: 1;
}

.profile-section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 25px;
}

/* Baris Data */
.profile-data-row {
    display: flex;
    margin-bottom: 20px;
    font-size: 14px;
}

.profile-data-label {
    width: 150px;
    color: rgba(255, 255, 255, 0.6);
}

.profile-data-value {
    flex: 1;
    color: var(--white);
    font-weight: 500;
}

/* Tombol Edit Outline */
.btn-edit-profile {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    margin-top: 10px;
    cursor: pointer;
}

.btn-edit-profile:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

/* Tautan Settings */
.setting-link-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.setting-link-item:hover {
    color: var(--gold);
}

/* Area Upload Foto */
.profile-picture-section {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #0c1a3b;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-upload-info {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
}

.btn-upload-new {
    background-color: var(--gold);
    color: var(--navy-dark);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.btn-upload-new:hover {
    background-color: var(--gold-light);
}

/* Responsif untuk Layar Mobile */
@media (max-width: 768px) {
    .profile-card {
        flex-direction: column; /* Mengubah kolom menjadi baris (atas-bawah) */
        padding: 25px;
        gap: 30px;
    }

    .profile-info-col {
        padding-right: 0;
        border-right: none; /* Menghilangkan garis vertikal */
        border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Menggantinya dengan garis horizontal */
        padding-bottom: 30px;
    }

    .profile-data-row {
        flex-direction: column; /* Label di atas, Value di bawah */
        gap: 5px;
        margin-bottom: 15px;
    }
    
    .profile-data-label {
        width: 100%;
        font-size: 12px;
    }
}
/* --- 14. JADWAL LAPANGAN (BOOKING PAGE) --- */
.booking-section {
    padding: 120px 20px 60px; /* Padding atas besar agar tidak tertutup header sticky */
    background-color: var(--bg-light);
    min-height: 100vh;
}

.booking-container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Navigasi Tanggal */
.date-navigator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px 20px;
    background-color: var(--navy-dark);
    border-radius: var(--radius);
}

.current-date {
    font-size: 20px;
    margin: 0;
    color: var(--gold);
    letter-spacing: 1px;
}

.date-nav-btn {
    color: var(--white);
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.date-nav-btn:hover {
    background-color: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
}

/* Tabel Jadwal */
.schedule-table-wrapper {
    overflow-x: auto; /* Mengizinkan geser horizontal di layar kecil */
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    min-width: 900px; /* Mencegah kolom tabel menyusut terlalu kecil di HP */
}

.schedule-table th {
    background-color: #f8f9fa;
    color: var(--navy-dark);
    padding: 15px 10px;
    border: 1px solid var(--border-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.time-col, .time-cell {
    width: 80px;
    font-weight: 700 !important;
    background-color: #f8f9fa;
    color: var(--navy-dark);
    border: 1px solid var(--border-color);
}

.schedule-table td {
    border: 1px solid var(--border-color);
    padding: 0; 
    height: 45px;
}

/* Status Available (Tersedia) */
.cell-available a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    color: #10b981; /* Warna hijau sukses */
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition);
}

.cell-available a:hover {
    background-color: #10b981;
    color: #ffffff;
}

/* Status Booked (Sudah Dipesan) */
.cell-booked {
    background-color: #f1f5f9; /* Abu-abu pucat */
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
    cursor: not-allowed;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 5px,
        rgba(0,0,0,0.02) 5px,
        rgba(0,0,0,0.02) 10px
    );
}

/* Responsif HP */
/* Responsif HP (Optimasi Tampilan Matriks Grid) */
/* Responsif HP (Optimasi Tampilan Matriks Blok Warna) */
@media (max-width: 768px) {
    .booking-container { padding: 15px; }
    .current-date { font-size: 16px; }
    .date-nav-btn { padding: 6px 10px; font-size: 12px; }

    /* 1. Melepas batas minimal lebar tabel agar bisa menyusut */
    .schedule-table {
        min-width: 100%; 
    }

    /* 2. Rotasi Header (Nama Lapangan) 90 derajat berlawanan arah jarum jam */
    .schedule-table th:not(.time-col) {
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        height: 60px;
        padding: 10px 0;
        font-size: 12px;
        text-align: left;
    }
    
    /* Mengecilkan lebar kolom jam */
    .time-col, .time-cell {
        width: 45px;
        font-size: 11px;
        padding: 5px 2px;
    }

    /* Memendekkan baris agar lebih padat di layar HP */
    .schedule-table td {
        height: 35px;
    }

    /* 3. Menyembunyikan teks Available (Background Putih tetap diwarisi dari Desktop) */
    .cell-available a {
        font-size: 0;
        color: transparent;
    }

    /* 4. Menyembunyikan teks Booked (Background Abu-abu tetap diwarisi dari Desktop) */
    .cell-booked {
        font-size: 0;
        color: transparent;
    }
}

/* --- 15. SHOPPING CART (KERANJANG BOOKING) --- */
.cart-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 5px;
    margin-right: 5px;
}

.cart-icon-btn svg {
    width: 24px;
    height: 24px;
    stroke: var(--navy-dark); /* Warna icon cart */
    transition: var(--transition);
}

.cart-icon-btn:hover svg { stroke: var(--gold); }

/* Lencana / Badge Jumlah Angka */
.cart-badge {
    position: absolute;
    top: -2px;
    right: -5px;
    background-color: var(--gold);
    color: var(--navy-dark);
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Kotak Dropdown Cart */
.cart-dropdown {
    position: absolute;
    top: 55px;
    right: 0;
    width: 320px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid var(--border-color);
    display: none; /* Sembunyikan default */
    flex-direction: column;
    z-index: 9999;
}

.cart-dropdown.show { display: flex; } /* Class untuk menampilkan cart */

.cart-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
    font-size: 15px;
    color: var(--navy-dark);
}

.cart-body {
    max-height: 350px;
    overflow-y: auto;
}

.cart-item {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-item-title { font-weight: 700; font-size: 14px; color: var(--navy-dark); }
.cart-item-meta { font-size: 12px; color: var(--text-muted); }

/* Tombol Tong Sampah (Trash) */
.cart-remove-btn {
    background: rgba(239, 68, 68, 0.1);
    border: none;
    color: #ef4444;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.cart-remove-btn:hover {
    background: #ef4444;
    color: white;
}

.cart-footer {
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
}

/* --- STATE TERPILIH DI TABEL JADWAL --- */
.cell-available a.selected {
    background-color: var(--gold) !important;
    color: var(--navy-dark) !important;
}

/* --- 16. DATA TABLE & PAGINATION --- */
.data-table-wrapper {
    overflow-x: auto;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}

.data-table th {
    background-color: var(--navy-dark);
    color: var(--white);
    padding: 12px 15px;
    font-weight: 600;
    white-space: nowrap;
}

.data-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    white-space: nowrap;
}

.data-table tr:hover {
    background-color: #f8fafc;
}

.table-link {
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
}

.table-link:hover {
    color: var(--gold);
    text-decoration: underline;
}

/* Pagination Nav */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 10px 0;
}

.pagination-info {
    font-size: 13px;
    color: var(--text-muted);
}

.pagination-nav {
    display: flex;
    gap: 5px;
    list-style: none;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 35px;
    padding: 0 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--white);
    color: var(--navy-dark);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.page-link:hover, .page-item.active .page-link {
    background-color: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.page-link.disabled {
    color: #cbd5e1;
    pointer-events: none;
    background-color: #f8fafc;
}

/* PASTIKAN ADA CSS INI */
/* Card Gradient Styling */
.card-blue-gradient {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    padding: 25px;
    border-radius: 12px;
}
.dash-card-icon-container {
    color: #3b82f6;
    margin-bottom: 15px;
}
.dash-card-title-alt {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 1px;
}
.dash-card-value-large {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin: 10px 0 5px 0;
}
.dash-card-subtext {
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
    margin-bottom: 20px;
}
.dash-card-action-link {
    font-size: 12px;
    color: #f59e0b;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

/* Panel Layouts */
.dash-panel-dark {
    background-color: #0f172a;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px;
}
.panel-header-alt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.panel-title-alt {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}
.btn-panel-view-all {
    font-size: 12px;
    background-color: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

/* Row Component: Upcoming List */
.booking-row-item {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}
.booking-date-block {
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 8px 12px;
    text-align: center;
    min-width: 70px;
    margin-right: 15px;
}
.date-month-year {
    font-size: 12px;
    font-weight: 800;
    color: #ffffff;
}
.date-day-name {
    font-size: 10px;
    color: #94a3b8;
    margin-top: 2px;
}
.booking-detail-block {
    flex-grow: 1;
}
.booking-time-range {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 3px;
}
.booking-court-name {
    font-size: 12px;
    color: #64748b;
}
.badge-status-confirmed {
    background-color: rgba(16, 185, 129, 0.15);
    color: #10b981;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

/* Row Component: Recent Transactions */
.transaction-row-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.transaction-row-item:last-child {
    border-bottom: none;
}
.trans-left-meta, .trans-right-meta {
    display: flex;
    flex-direction: column;
}
.trans-right-meta {
    text-align: right;
}
.trans-date {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 4px;
}
.trans-desc {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}
.trans-amount {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}
.trans-status-paid {
    font-size: 12px;
    color: #10b981;
    font-weight: 700;
}
.empty-state-text {
    padding: 30px 0;
    color: #475569;
    text-align: center;
    font-size: 14px;
}