/* ==================================================================
   KODE CSS PUSPEN SLIDER - FINAL & RESMI
   Teks Kiri - Slider Kanan - Full Width - Gambar Utuh
   ================================================================== */

/* 1. PAKSA CONTAINER MENJADI FULL WIDTH (MENGHINDARI BATAS WEBSITE ASLI) */
/* Ini membuat kotak pembungkus (Yellow Box) melebar sampai ujung layar */
.puspen-slider-section-bg .container {
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0 !important;
}



/* 2. ATURAN UTAMA LAYOUT (WRAPPER) */
/* Ini membuat Teks ke Kiri, Gambar ke Kanan, dan Full Width */
.puspen-slider-section-bg .slider-content-wrapper {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;               /* Sejajar vertikal di tengah */
    justify-content: space-between;    /* KUNCI: Dorong Teks Kiri & Slider Kanan */
    
    width: 100% !important;
    max-width: 100% !important;        /* Memaksa konten memenuhi lebar layar */
    margin: 0 !important;              /* Hilangkan tengah-tengah (auto-center) */
    
    
    position: relative;
    z-index: 10;
    /* PENTING: Fokus pada dua baris ini saja */
    padding: 0 20px !important;   /* <--- GANTI ANGKA INI (20) JADI 10 atau 0 */
    
    gap: 30px !important;        /* <--- GANTI ANGKA INI (30) JADI 50 */
}

/* 3. ATUR KOLOM (LEBAR) */
.puspen-slider-section-bg .slider-column {
    flex: 1;                          /* Bagi rata ruang */
    min-width: 300px;                 /* Minimal lebar di HP */
}

/* Kolom Kanan (Slider) sedikit lebih lebar dari Teks */
.puspen-slider-section-bg .slider-column:last-child {
    flex: 1.2;
}

/* 4. STYLING TEKS */
.puspen-slider-section-bg .slider-text-content {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0);
}

.puspen-slider-section-bg .slider-text-content h2 {
    color: #ffda08;
}

.puspen-slider-section-bg .slider-text-content p {
    color: #ffffff;
    line-height: 1.6;
}

/* 5. LOGIKA SLIDER (AGAR GAMBAR UTUH & RESPONSIVE) */

/* Reset Tinggi (Nuklear) - Matikan intervensi JS/CSS lama */
.puspen-slider-section-bg .slider-bimtek-container,
.puspen-slider-section-bg .slider-wrapper-bimtek,
.puspen-slider-section-bg .slide-track-bimtek,
.puspen-slider-section-bg .slide-bimtek {
    height: auto !important;
    min-height: 0px !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Jendela Slider (Hanya tampilkan 1 gambar) */
.puspen-slider-section-bg .slider-wrapper-bimtek {
    overflow: hidden !important;
    width: 100%;
    position: relative;
    max-height: 500px;    /* Tinggi di Laptop */
}

/* Pastikan slide berjejer horizontal */
.puspen-slider-section-bg .slide-track-bimtek {
    display: flex; 
    width: 100%;
}

/* Gambar Isi Jendela */
.puspen-slider-section-bg .slide-bimtek {
    min-width: 100%;
}

.puspen-slider-section-bg .slide-img-bimtek {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important; /* GAMBAR UTUH TANPA TERPOTONG */
    display: block;
}

/* 6. RESPONSIVE (HP & TABLET) */

/* Tablet (Max 992px) */
@media (max-width: 992px) {
    /* Layout menjadi Vertikal (Atas Bawah) */
    .puspen-slider-section-bg .slider-content-wrapper {
        flex-direction: column;
    }
    
    .puspen-slider-section-bg .slider-column {
        width: 100%;
        text-align: left;
    }
    
    .puspen-slider-section-bg .slider-wrapper-bimtek {
        max-height: 400px; /* Tinggi slider di tablet */
    }
}

/* HP Mobile (Max 768px) */
@media (max-width: 768px) {
    /* Teks padding dikurangi */
    .puspen-slider-section-bg .slider-text-content {
        padding: 15px 10px;
    }
    
    /* Tinggi slider di HP */
    .puspen-slider-section-bg .slider-wrapper-bimtek {
        max-height: 300px;
    }
}




/* ==================================================================
   STYLE TOMBOL KATEGORI (Tombol Pil/Kapsul)
   ================================================================== */
.category-buttons-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Jarak antar tombol */
    text-decoration: none;
    margin-top: 20px; /* Jarak bawah paragraf */
}

.btn-cat {
    background-color: rgba(255, 177, 8, 0.2); /* Kuning transparan (Tipis) */
    border: 1px solid #ff9c08; /* Garis pinggir kuning */
    color: #ffda08; /* Teks kuning */
    padding: 8px 20px;
    border-radius: 30px; /* Membuat sudut membulat (Pil) */
    font-size: 15px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease; /* Efek halus saat di-hover */
}

/* Efek saat Kursor Mouse di Tombol */
.btn-cat:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    
    color: #ffffff; /* Teks berubah hitam */
    transform: translateY(-2px); /* Tombol sedikit naik ke atas */
    box-shadow: 0 4px 10px rgba(255, 218, 8, 0.4); /* Efek bayangan */
}


/* ==================================================================
   STYLE TOMBOL KEMBALI (BACK BUTTON)
   ================================================================== */
.btn-back {
    background-color: rgba(255, 177, 8, 0.2); /* Kuning transparan (Tipis) */
    
    border: 1px solid #ff9c08; /* Garis putih transparan */
    color: #ffffff; /* Teks putih */
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Jarak icon dengan teks */
}

/* Efek Hover */
.btn-back:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    border-color: #ff9c08;
    box-shadow: 0 4px 10px rgba(255, 218, 8, 0.4); /* Efek bayangan */
}




/* ==================================================================
   STYLE CELENDER
   ================================================================== */

    /* ==================================================================
           CSS KHUSUS KALENDER 
           ================================================================== */
        
       
/* CSS KHUSUS KALENDER (Disatukan agar rapi) */
.calendar-container {
    font-family: 'Poppins', sans-serif;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 50px;
}

.calendar-header {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #e4e4e4;
    padding-bottom: 20px;
}

#selectionStatus {
    display: none;
    font-weight: 600;
    border-radius: 10px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.year-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.year-title {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 2rem;
    color: #003a92;
    margin: 20px 0;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.month-card {
    border: 1px solid #575757;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.month-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(104, 104, 104, 0.164);
}

.month-title {
    background: #0064a7;

    color: rgb(255, 255, 255);
    text-align: center;
    padding: 10px;
    font-weight: 600;
    margin: 0;
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
}

.day-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ff7b00;
    padding: 10px 0;
    background: #f3f3f3;
    border: 1px solid #e6e6e6; /* Ketebalan, Gaya, Warna */
}

.day-cell {
    padding: 8px 0;
    cursor: pointer;
    font-size: 0.9rem;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}

.day-cell:hover:not(.empty) {
    background-color: #e9ecef;
    font-weight: bold;
    border-radius: 5px;
}

/* --- STYLE: TANGGAL MERAH (Libur & Minggu) --- */
.calendar-container .day-cell.holiday {
    background-color: #dc3545; 
    color: #ffffff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    margin: 0 auto;
    font-weight: bold;
    box-shadow: 0 0 8px rgba(220, 53, 69, 0.6);
    z-index: 1;
}

/* --- STYLE: TANGGAL DIPILIH (Biru) --- */
.calendar-container .day-cell.selected {
    background-color: #0d6efd;
    color: #ffffff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    margin: 0 auto;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(13, 110, 253, 0.6);
    z-index: 2; /* Di atas Merah */
}

.day-cell.empty {
    cursor: default;
    background: none;
}

.modal-header-custom {
    background: #0d6efd;
    color: white;
    border-radius: 10px 10px 0 0;
}

.warning-box {
    background-color: #fff3cd;
    border: 1px solid #ffecb5;
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}

.warning-box.show {
    display: block;
    animation: fadeIn 0.5s;
}

.invalid-feedback {
    display: none; 
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    border: none;
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 50px;
    transition: background 0.3s;
}
.btn-whatsapp:hover {
    background-color: #128C7E;
    color: white;
}

@media (max-width: 768px) {
    .year-grid { grid-template-columns: 1fr; }
    .day-cell { height: 35px; }
}


/* ==================================================================
   CSS TAMBAHAN: TOMBOL KECIL ADMIN & JADWAL
   ================================================================== */
.sub-buttons-container {
    display: flex;
    justify-content: center;
    gap: 15px; /* Jarak antar tombol */
    margin-top: 15px; /* Jarak dari tombol utama di atasnya */
}

.btn-mini {
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 5px; /* Bentuk kotak sedikit membulat */
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    min-width: 90px; /* Agar tombol berukuran rapi (kotak kecil) */
    text-align: center;
    border: 1px solid transparent;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Style Tombol Admin (Outline Hitam) */
.btn-admin {
    background: white;
    color: #ffffff;
    border: 1px solid #d3d3d3;
}

.btn-admin:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 218, 8, 0.4); /* Efek bayangan */
}

/* Style Tombol Jadwal (Primary Biru) */
.btn-jadwal {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-jadwal:hover {
    background: linear-gradient(135deg,var(--secondary-color), var(--primary-color));
    background-color: #0a58ca;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
}
/* ==================================================================
   CSS TAMBAHAN: TOMBOL KECIL & MODAL
   ================================================================== */
.sub-buttons-container { 
    display: flex; 
    justify-content: center; 
    gap: 15px; 
    margin-top: 15px; 
}
.btn-mini {
    font-size: 0.8rem; 
    padding: 6px 12px; 
    border-radius: 5px; 
    text-decoration: none; 
    transition: all 0.3s ease;
    font-weight: 600; 
    min-width: 90px; 
    text-align: center; 
    border: 1px solid transparent; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.btn-admin { 
    background: linear-gradient(135deg, rgb(255, 255, 255), rgba(182, 182, 182, 0.959));
    color: #101283; 
    border: 1px solid #ff8800; 
}
.btn-admin:hover { 
    background-color: #333; 
    color: white; 
    transform: translateY(-2px); 
}
.btn-jadwal { 
    background-color: #0d6efd; 
    color: white; 
}
.btn-jadwal:hover { 
    background-color: #0a58ca; 
    transform: translateY(-2px); 
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3); 
}

/* Style Modal Admin (Warna Gelap Agar Beda) */
.modal-header-admin {
    background: #04536b; 
    color: white; 
    border-radius: 12px 12px 0 0;
}
.invalid-feedback { 
    display: none; 
    width: 100%; 
    margin-top: 0.25rem; 
    font-size: 0.875em; 
    color: #dc3545; }



    /* ==================================================================
   CSS TAMBAHAN: PERAPIHAN BIODATA PESERTA
   ================================================================== */

/* 1. Style Kartu Peserta (Agar terpisah rapi) */
.participant-row {
    background-color: #ffffff; /* Putih bersih */
    border: 1px solid #e0e0e0;
    border-left: 5px solid #0d6efd; /* Garis biru di kiri sebagai penanda */
    margin-bottom: 25px !important; /* Jarak antar peserta (Spasi Besar) */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    padding: 15px !important; /* Isi dalam kartu lebih lega */
    transition: all 0.3s ease;
}

.participant-row:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* Efek bayangan saat disentuh */
    transform: translateY(-2px); /* Sedikit naik ke atas */
}

/* 2. Style Input di dalam Kartu */
.participant-row .form-control {
    border-radius: 5px;
    font-size: 0.9rem;
    margin-bottom: 5px; /* Sedikit jarak antar input dalam satu baris */
}

/* 3. Tampilan Mobile (Kolom Menurun) */
@media (max-width: 768px) {
    .participant-row .row {
        flex-direction: column; /* Paksa kolom turun ke bawah */
    }
    
    .participant-row .col-auto {
        width: 100%;
        text-align: right; /* Tombol hapus di kanan */
        margin-top: 10px;
    }
    
    .participant-row .col-md-2, 
    .participant-row .col-md-3 {
        width: 100% !important; /* Input jadi memanjang ke bawah */
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* 4. Tampilan Desktop (Kolom Sejajar Rapi) */
@media (min-width: 769px) {
    .participant-row .form-control {
        height: 38px; /* Tinggi input seragam */
    }
}

/* Style tambahan agar terlihat rapi */
#adminDateTrigger:hover {
    border-color: #0d6efd;
    background-color: #f8f9fa;
}
/* Pastikan kalender dropdown muncul di atas elemen lain */
#adminCalendarWrapper {
    max-height: 300px;
    overflow-y: auto;
}


/* =========================================
   UPDATE CSS: ANTI TERPOTONG (BREAK WORD)
   ========================================= */

/* Pastikan input email bisa memecah kata panjang */
#participantsList .p-email {
    word-break: break-all; /* Pecah email panjang agar turun baris */
    min-width: 0; /* Penting untuk Flexbox/Grid agar tidak overflow */
}

/* Pastikan input nama juga aman jika sangat panjang */
#participantsList .p-name {
    white-space: normal; /* Biarkan teks turun ke bawah (wrap) */
    word-wrap: break-word;
}

/* Pastikan container tidak meledak ke luar */
.participant-row .card-body {
    overflow-x: hidden; /* Sembunyikan scrollbar horizontal jika ada kelebihan kecil */
}

























/* CSS KHUSUS KALENDER */
.calendar-container {
    font-family: 'Poppins', sans-serif;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 50px;
}



.calendar-header {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
}

#selectionStatus {
    display: none;
    font-weight: 600;
    border-radius: 10px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.year-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}
.year-title {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 2rem;
    color: #0d6efd;
    margin: 20px 0;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.month-card {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.month-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.month-title {
    background: #0d6efd;
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: 600;
    margin: 0;
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
}

.day-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #555;
    padding: 10px 0;
    background: #f8f9fa;
}

.day-cell {
    padding: 8px 0;
    cursor: pointer;
    font-size: 0.9rem;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}

.day-cell:hover:not(.empty) {
    background-color: #e9ecef;
    font-weight: bold;
    border-radius: 5px;
}

.calendar-container .day-cell.holiday {
    background-color: #dc3545; 
    color: #ffffff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    margin: 0 auto;
    font-weight: bold;
    box-shadow: 0 0 8px rgba(220, 53, 69, 0.6);
    z-index: 1;
}

.calendar-container .day-cell.selected {
    background-color: #0d6efd;
    color: #ffffff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    margin: 0 auto;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(13, 110, 253, 0.6);
    z-index: 2;
}

.day-cell.empty {
    cursor: default;
    background: none;
}


.modal-header-custom {
    background: #0d6efd;
    color: white;
    border-radius: 10px 10px 0 0;
}

.warning-box {
    background-color: #fff3cd;
    border: 1px solid #ffecb5;
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}

.warning-box.show {
    display: block;
    animation: fadeIn 0.5s;
}

.invalid-feedback {
    display: none; 
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    border: none;
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 50px;
    transition: background 0.3s;
}
.btn-whatsapp:hover {
    background-color: #128C7E;
    color: white;
}

@media (max-width: 768px) {
    .year-grid { grid-template-columns: 1fr; }
    .day-cell { height: 35px; }
}



/* =========================================
   CSS KHUSUS KALENDER ADMIN (MODAL)
   ========================================= */
 .admin-calendar-wrapper {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 5px;
    margin-bottom: 5px;
}

.admin-cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}
.admin-cal-header strong {
    font-size: 0.85rem;
}
.admin-cal-header button {
    background: none; border: 1px solid #ddd; border-radius: 4px;
    padding: 1px 6px; font-size: 0.75rem; cursor: pointer; line-height: 1;
}

.admin-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    text-align: center;
}

.admin-cal-day-name {
    font-size: 0.65rem;
    font-weight: bold;
    color: #666;
    padding: 2px 0;
}

.admin-cal-cell {
    padding: 2px 0;
    cursor: pointer;
    font-size: 0.75rem;
    border-radius: 3px;
    transition: 0.2s;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.admin-cal-cell:hover { background-color: #e2e6ea; }
.admin-cal-cell.empty { background: none; cursor: default; }
.admin-cal-cell.holiday { color: #dc3545; font-weight: bold; }
.admin-cal-cell.temp-start {
    background-color: #dc3545 !important;
    color: white !important;
    border-radius: 50%;
    font-weight: bold;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
}
.admin-cal-cell.selected-range {
    background-color: #0d6efd !important;
    color: white !important;
    border-radius: 2px;
}

.admin-cal-cell.range-start { border-radius: 10px 0 0 10px; margin-left: 1px; }
.admin-cal-cell.range-end { border-radius: 0 10px 10px 0; margin-right: 1px; }
.admin-cal-cell.range-start.range-end { border-radius: 10px; margin: 0 1px; }
#adminDateWarning { font-size: 0.75rem; padding: 5px 10px; }
.date-range-display {
    font-weight: bold;
    color: #0d6efd;
    margin-top: 2px;
    min-height: 20px;
    font-size: 0.85rem;
}

@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); }
    70% { box-shadow: 0 0 0 5px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}




/* =========================================
   CSS KHUSUS PESERTA (FULL WIDTH & 2 BARIS BERDAMPINGAN)
   ========================================= */
/* Container untuk list peserta agar bisa discroll jika panjang */

/* 1. Container Luar: Tambah jarak kiri-kanan dari pinggir modal */
#participantsList {
    padding-left: 25px !important;  /* Jarak kiri diperbesar */
    padding-right: 25px !important; /* Jarak kanan diperbesar */
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* 2. Kotak Card: Pastikan bentuknya rapi */
#participantsList .card {
    width: 100% !important;
    margin-bottom: 15px !important; /* Jarak antar kartu */
    border: 1px solid #e2e8f0;
    border-left: 5px solid #0d6efd !important; /* Saka (Garis Biru) */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    background: white;
    border-radius: 8px !important; /* Sudut melengkung */
    overflow: hidden !important; /* Agar border-radius dan saka bekerja sempurna */
    box-sizing: border-box !important; /* Agar lebar termasuk border */
}

/* 3. Isi Kartu (PENTING): Tambah jarak dalam agar Angka 1 & Input tidak menempel ke Saka/Bingkai */
#participantsList .card-body {
    padding: 15px 20px !important; /* Padding diperbesar: 15px atas/bawah, 20px kiri/kanan */
}

/* 4. Badge (Angka 1): Tambah jarak agar tidak nempel teks */
#participantsList .badge {
    font-size: 0.8rem;
    padding: 8px 12px !important; /* Badge agak gemuk agar rapi */
    border-radius: 20px !important; /* Bentuk pil */
    margin-right: 10px !important; /* Jarak antara Angka 1 dan Nama Peserta */
    margin-bottom: 5px !important;
}

/* 5. Input Form: Tambah jarak antar kolom */
#participantsList .form-control, 
#participantsList .form-select {
    margin-bottom: 8px !important;
    font-size: 0.9rem !important;
}

/* 6. Tombol Hapus: Pastikan ada jarak di kanan jika ada */
#participantsList .btn-danger {
    padding: 5px 10px !important;
    font-size: 0.8rem !important;
}

/* 7. Row Layout: Kompak tapi rapi */
#participantsList .row {
    margin-left: -5px !important;
    margin-right: -5px !important;
}
#participantsList .row > div {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

/* =========================================
   FIX Z-INDEX NAVBAR & DROPDOWN (PERBAIKAN BUG)
   ========================================= */
/* 1. Navbar: Di atas Slider tapi di bawah Modal */
.navbar {
    position: relative !important;
    z-index: 9999 !important; 
}

/* 2. Dropdown Menu: Harus di atas Navbar */
.navbar .dropdown-menu {
    z-index: 10000 !important; 
}

/* 3. Modal Backdrop: Di atas Navbar (9999) */
.modal-backdrop {
    z-index: 10500 !important; 
}

/* 4. Modal Content: Di atas Backdrop */
.modal {
    z-index: 10550 !important; 
}

/* 5. Pastikan elemen di dalam modal (seperti kalender admin) juga tinggi */
#adminCalendarWrapper {
    z-index: 10600 !important;
}








/* ==================================================================
   CSS TAMBAHAN: TOMBOL LOKASI DAN BIAYA ADMIN & JADWAL
   ================================================================== */

.btn-mini-invest {
    font-size: 1rem; 
    padding: 6px 12px; 
    border-radius: 5px; 
    text-decoration: none; 
    transition: all 0.3s ease;
    font-weight: 600; 
    min-width: 90px; 
    text-align: center; 
    
}

/* Style Tombol Admin (Outline Hitam) */
.btn-admin-invest {
    color: #000000;
}

.btn-admin-invest:hover {
    color: rgb(6, 14, 134);
    transform: translateY(-2px);
    text-decoration: underline;
}

