body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7f6;
    color: #333;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

h1 {
    text-align: center;
    color: #0056b3;
}

.filter-form {
    margin-bottom: 30px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.filter-form label {
    font-weight: bold;
}

.filter-form select, .filter-form button {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.filter-form button {
    background-color: #007bff;
    color: white;
    cursor: pointer;
    border: none;
}

.filter-form button:hover {
    background-color: #0056b3;
}

.log-card {
    border: 1px solid #e0e0e0;
    border-left: 5px solid #007bff;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #fff;
}

.log-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.log-header .student-name {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}

.log-header .log-date {
    font-size: 0.9em;
    color: #777;
}

.log-body h3 {
    margin-top: 0;
    color: #0056b3;
    font-size: 1em;
}

.log-body p {
    margin: 5px 0;
    line-height: 1.6;
}

.no-data {
    text-align: center;
    padding: 40px;
    color: #888;
    border: 2px dashed #ccc;
    border-radius: 5px;
}


/* ... (kode CSS yang sudah ada sebelumnya) ... */

.log-body .log-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-top: 15px;
    border: 1px solid #ddd;
    padding: 3px;
}



/* Import Font Roboto dari Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body {
    /* [MODIFIKASI] Mengganti font utama menjadi Roboto dan ukuran lebih kecil */
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7f6;
    color: #333;
    margin: 0;
    padding: 20px;
    font-size: 15px; /* Sedikit lebih kecil dari default */
}

.container {
    max-width: 1400px; /* Lebarkan container agar tabel muat */
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

h1 {
    text-align: center;
    color: #0056b3;
    font-weight: 700; /* Lebih tegas */
}

h3 {
    font-weight: 500; /* Lebih tegas */
}

.filter-form {
    margin-bottom: 30px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.filter-form label {
    font-weight: 500;
}

.filter-form select, .filter-form button {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
}

.filter-form button {
    background-color: #007bff;
    color: white;
    cursor: pointer;
    border: none;
}

.filter-form button:hover {
    background-color: #0056b3;
}

/* Style untuk kartu statistik dan grafik di index.php */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 30px; }
.stat-card { background-color: #fff; padding: 25px; border-radius: 8px; text-align: center; box-shadow: 0 4px 8px rgba(0,0,0,0.05); border-left: 5px solid #007bff; }
.stat-card h3 { margin-top: 0; font-size: 1.1em; color: #6c757d; }
.stat-card .number { font-size: 2.8em; font-weight: bold; color: #343a40; }
.chart-container { background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.05); margin-top: 30px; }
#logbookTable_wrapper { background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.05); }
.thumbnail-img { width: 100px; height: auto; border-radius: 5px; cursor: pointer; }

/* Style umum lainnya yang sudah ada */
.log-card { border: 1px solid #e0e0e0; border-left: 5px solid #007bff; border-radius: 5px; padding: 15px; margin-bottom: 20px; background-color: #fff; }
.log-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.log-header .student-name { font-size: 1.2em; font-weight: bold; color: #333; }
.log-header .log-date { font-size: 0.9em; color: #777; }
.log-body h3 { margin-top: 0; color: #0056b3; font-size: 1em; }
.log-body p { margin: 5px 0; line-height: 1.6; }
.log-body .log-image { max-width: 100%; height: auto; border-radius: 5px; margin-top: 15px; border: 1px solid #ddd; padding: 3px; }
.no-data { text-align: center; padding: 40px; color: #888; border: 2px dashed #ccc; border-radius: 5px; }




/* Import Font Roboto dari Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* --- BACKGROUND MODERN --- */
body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* [MODIFIKASI] Ganti background solid menjadi warna dasar yang lebih cerah */
    background-color: #f8f9fa; 
    color: #333;
    margin: 0;
    padding: 20px;
    font-size: 15px;
    position: relative; /* Diperlukan untuk menempatkan ornamen */
    overflow-x: hidden; /* Mencegah scroll horizontal karena ornamen */
}

/* Ornamen blob pertama (biru) */
body::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.15), transparent 70%);
    border-radius: 47% 53% 70% 30% / 30% 50% 50% 70%;
    filter: blur(50px);
    z-index: -1;
    animation: animateBlob 15s linear infinite alternate;
}

/* Ornamen blob kedua (hijau) */
body::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(40, 167, 69, 0.15), transparent 70%);
    border-radius: 47% 53% 30% 70% / 50% 50% 50% 50%;
    filter: blur(60px);
    z-index: -1;
    animation: animateBlob 20s linear infinite alternate-reverse;
}

/* Keyframes untuk animasi blob */
@keyframes animateBlob {
    0% {
        transform: rotate(0deg) scale(1);
    }
    100% {
        transform: rotate(360deg) scale(1.1);
    }
}
/* --- AKHIR BACKGROUND MODERN --- */


/* Sisa CSS lainnya tetap sama */
.container {
    max-width: 1400px;
    margin: 0 auto;
    /* [MODIFIKASI] Buat kontainer utama sedikit transparan agar background terlihat */
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
}

h1 { text-align: center; color: #0056b3; font-weight: 700; }
h3 { font-weight: 500; }

.filter-form { margin-bottom: 30px; display: flex; gap: 10px; align-items: center; }
.filter-form label { font-weight: 500; }
.filter-form select, .filter-form button { padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 15px; }
.filter-form button { background-color: #007bff; color: white; cursor: pointer; border: none; }
.filter-form button:hover { background-color: #0056b3; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 30px; }
.stat-card { background-color: #fff; padding: 25px; border-radius: 8px; text-align: center; box-shadow: 0 4px 8px rgba(0,0,0,0.05); border-left: 5px solid #007bff; }
.stat-card h3 { margin-top: 0; font-size: 1.1em; color: #6c757d; }
.stat-card .number { font-size: 2.8em; font-weight: bold; color: #343a40; }

#logbookTable_wrapper, #rekapTable_wrapper, .chart-container, .weekly-recap-container { 
    background: #fff; 
    padding: 20px; 
    border-radius: 8px; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.05); 
}
#rekapTable_wrapper { margin-top: 30px; }
.chart-container { margin-top: 30px; }
.weekly-recap-container { margin-bottom: 30px; }

.thumbnail-img { width: 100px; height: auto; border-radius: 5px; cursor: pointer; }

.weekly-recap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 15px; overflow-x: auto; }
.day-column { background-color: #f8f9fa; border-radius: 5px; padding: 10px; border-top: 3px solid #007bff; }
.day-column h3 { text-align: center; font-size: 1em; margin: 5px 0 10px 0; color: #495057; border-bottom: 1px solid #dee2e6; padding-bottom: 5px; }
.recap-card { background-color: #fff; border: 1px solid #e9ecef; border-radius: 4px; padding: 8px; margin-bottom: 8px; font-size: 0.9em; }
.recap-card strong { display: block; color: #0056b3; }
.recap-card small { color: #6c757d; display: block; margin-top: 3px; }
.no-recap { color: #6c757d; text-align: center; font-style: italic; padding: 20px 0; }
.recap-subtitle { text-align: center; margin-top: -15px; margin-bottom: 20px; color: #6c757d; font-style: italic; }

/* Import Font Roboto dari Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* --- [MODIFIKASI] BACKGROUND GRADASI ANIMASI --- */
body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    margin: 0;
    padding: 20px;
    font-size: 15px;

    /* Latar Belakang Gradasi Animasi Cepat */
    background: linear-gradient(-45deg, #3498db, #e74c3c, #9b59b6, #23d5ab);
    background-size: 400% 400%;
    animation: gradientAnimation 10s ease infinite;
}

/* Keyframes untuk animasi gradasi */
@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* --- AKHIR BACKGROUND GRADASI --- */


/* Sisa CSS lainnya kembali ke versi sebelumnya (tanpa modifikasi background) */
.container {
    max-width: 1400px;
    margin: 0 auto;
    background-color: #fff; /* Pastikan kontainer utama punya background solid */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

h1 { text-align: center; color: #0056b3; font-weight: 700; }
h3 { font-weight: 500; }

.filter-form { margin-bottom: 30px; display: flex; gap: 10px; align-items: center; }
.filter-form label { font-weight: 500; }
.filter-form select, .filter-form button { padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 15px; }
.filter-form button { background-color: #007bff; color: white; cursor: pointer; border: none; }
.filter-form button:hover { background-color: #0056b3; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 30px; }
.stat-card { background-color: #fff; padding: 25px; border-radius: 8px; text-align: center; box-shadow: 0 4px 8px rgba(0,0,0,0.05); border-left: 5px solid #007bff; }
.stat-card h3 { margin-top: 0; font-size: 1.1em; color: #6c757d; }
.stat-card .number { font-size: 2.8em; font-weight: bold; color: #343a40; }

#logbookTable_wrapper, #rekapTable_wrapper, .chart-container, .weekly-recap-container { 
    background: #fff; 
    padding: 20px; 
    border-radius: 8px; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.05); 
}
#rekapTable_wrapper { margin-top: 30px; }
.chart-container { margin-top: 30px; }
.weekly-recap-container { margin-bottom: 30px; }

.thumbnail-img { width: 100px; height: auto; border-radius: 5px; cursor: pointer; }

.weekly-recap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 15px; overflow-x: auto; }
.day-column { background-color: #f8f9fa; border-radius: 5px; padding: 10px; border-top: 3px solid #007bff; }
.day-column h3 { text-align: center; font-size: 1em; margin: 5px 0 10px 0; color: #495057; border-bottom: 1px solid #dee2e6; padding-bottom: 5px; }
.recap-card { background-color: #fff; border: 1px solid #e9ecef; border-radius: 4px; padding: 8px; margin-bottom: 8px; font-size: 0.9em; }
.recap-card strong { display: block; color: #0056b3; }
.recap-card small { color: #6c757d; display: block; margin-top: 3px; }
.no-recap { color: #6c757d; text-align: center; font-style: italic; padding: 20px 0; }
.recap-subtitle { text-align: center; margin-top: -15px; margin-bottom: 20px; color: #6c757d; font-style: italic; }


/* Import Font Roboto dari Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* --- [MODIFIKASI] BACKGROUND GRADASI HIJAU-MERAH --- */
body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    margin: 0;
    padding: 20px;
    font-size: 15px;

    /* Gradasi baru dari hijau, kuning, oranye, ke merah */
    background: linear-gradient(-45deg, #2ecc71, #f1c40f, #e67e22, #e74c3c);
    background-size: 400% 400%;
    /* Animasi cepat 8 detik */
    animation: gradientAnimation 8s ease infinite;
}

/* Keyframes untuk animasi gradasi (tidak berubah) */
@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* --- AKHIR BACKGROUND GRADASI --- */


/* Sisa CSS lainnya tetap sama */
.container {
    max-width: 1400px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

h1 { text-align: center; color: #0056b3; font-weight: 700; }
h3 { font-weight: 500; }

.filter-form { margin-bottom: 30px; display: flex; gap: 10px; align-items: center; }
.filter-form label { font-weight: 500; }
.filter-form select, .filter-form button { padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 15px; }
.filter-form button { background-color: #007bff; color: white; cursor: pointer; border: none; }
.filter-form button:hover { background-color: #0056b3; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 30px; }
.stat-card { background-color: #fff; padding: 25px; border-radius: 8px; text-align: center; box-shadow: 0 4px 8px rgba(0,0,0,0.05); border-left: 5px solid #007bff; }
.stat-card h3 { margin-top: 0; font-size: 1.1em; color: #6c757d; }
.stat-card .number { font-size: 2.8em; font-weight: bold; color: #343a40; }

#logbookTable_wrapper, #rekapTable_wrapper, .chart-container, .weekly-recap-container { 
    background: #fff; 
    padding: 20px; 
    border-radius: 8px; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.05); 
}
#rekapTable_wrapper { margin-top: 30px; }
.chart-container { margin-top: 30px; }
.weekly-recap-container { margin-bottom: 30px; }

.thumbnail-img { width: 100px; height: auto; border-radius: 5px; cursor: pointer; }

.weekly-recap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 15px; overflow-x: auto; }
.day-column { background-color: #f8f9fa; border-radius: 5px; padding: 10px; border-top: 3px solid #007bff; }
.day-column h3 { text-align: center; font-size: 1em; margin: 5px 0 10px 0; color: #495057; border-bottom: 1px solid #dee2e6; padding-bottom: 5px; }
.recap-card { background-color: #fff; border: 1px solid #e9ecef; border-radius: 4px; padding: 8px; margin-bottom: 8px; font-size: 0.9em; }
.recap-card strong { display: block; color: #0056b3; }
.recap-card small { color: #6c757d; display: block; margin-top: 3px; }
.no-recap { color: #6c757d; text-align: center; font-style: italic; padding: 20px 0; }
.recap-subtitle { text-align: center; margin-top: -15px; margin-bottom: 20px; color: #6c757d; font-style: italic; }



/* Import Font Roboto dari Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* --- BACKGROUND GRADASI HIJAU-MERAH --- */
body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    margin: 0;
    padding: 20px;
    font-size: 15px;

    background: linear-gradient(-45deg, #2ecc71, #f1c40f, #e67e22, #e74c3c);
    background-size: 400% 400%;
    animation: gradientAnimation 8s ease infinite;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* --- AKHIR BACKGROUND GRADASI --- */


/* --- STYLING UMUM --- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 12px; /* Sedikit lebih membulat */
    box-shadow: 0 8px 30px rgba(0,0,0,0.15); /* Bayangan lebih dalam */
}

h1 { text-align: center; color: #0056b3; font-weight: 700; margin-bottom: 25px; }
h3 { font-weight: 500; }

.filter-form { margin-bottom: 0; display: flex; gap: 10px; align-items: center; justify-content: center; }
.filter-form label { font-weight: 600; color: #34495e; } /* Label lebih tebal */
.filter-form select, .filter-form button { padding: 10px 15px; border: 1px solid #ccc; border-radius: 6px; font-size: 15px; transition: all 0.3s ease; }
.filter-form select:focus { border-color: #007bff; box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25); outline: none; }
.filter-form button { background-color: #007bff; color: white; cursor: pointer; border: none; }
.filter-form button:hover { background-color: #0056b3; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.1); }


/* --- [MODIFIKASI] CARD STATISTIK LEBIH MENARIK --- */
.stats-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Ukuran kartu sedikit lebih besar */
    gap: 25px; /* Jarak antar kartu */
    margin-bottom: 35px; 
}
.stat-card { 
    background: linear-gradient(135deg, #ffffff, #f0f4f8); /* Gradasi lembut */
    padding: 30px; 
    border-radius: 12px; 
    text-align: center; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.1); /* Bayangan lebih jelas */
    border: 1px solid #e0e6ed; /* Border tipis */
    transition: all 0.3s ease; /* Transisi untuk hover */
    overflow: hidden; /* Penting untuk efek pseudo-element */
    position: relative;
    z-index: 1; /* Pastikan konten di atas pseudo-element */
}
.stat-card:hover {
    transform: translateY(-5px); /* Efek melayang saat hover */
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}
.stat-card h3 { 
    margin-top: 0; 
    font-size: 1.25em; 
    color: #495057; 
    font-weight: 600;
    position: relative; /* Untuk pseudo-element */
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.stat-card h3::after { /* Garis bawah elegan */
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #007bff;
    border-radius: 2px;
}
.stat-card .number { 
    font-size: 3.5em; /* Ukuran angka lebih besar */
    font-weight: 700; 
    color: #007bff; /* Warna angka utama */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05); /* Sedikit bayangan teks */
}
/* Warna spesifik untuk setiap kartu */
.stats-grid .stat-card:nth-child(1) .number { color: #28a745; } /* Hijau */
.stats-grid .stat-card:nth-child(2) .number { color: #ffc107; } /* Kuning */
/* Anda bisa tambahkan warna lain jika ada lebih banyak kartu */


/* --- STYLING BAGIAN LOG BOOK TABLE & CHARTS --- */
#logbookTable_wrapper, #rekapTable_wrapper, .chart-container, .weekly-recap-container,
div[style*="justify-content: center;"] { /* Memilih div filter */
    background: #fff; 
    padding: 25px; /* Padding lebih banyak */
    border-radius: 10px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* Bayangan sedang */
    margin-bottom: 30px; /* Jarak antar bagian */
}
#rekapTable_wrapper { margin-top: 30px; }
.chart-container { margin-top: 30px; }


/* --- [MODIFIKASI] REKAP BIMBINGAN MINGGUAN LEBIH BERWARNA & ELEGAN --- */
.weekly-recap-container h2 {
    color: #34495e; /* Warna judul lebih gelap */
    font-weight: 700;
    margin-bottom: 15px;
}
.recap-subtitle { 
    color: #7f8c8d; 
    font-style: italic; 
    margin-bottom: 25px; /* Jarak lebih besar */
    font-size: 0.95em;
}

.weekly-recap-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Ukuran kolom disesuaikan */
    gap: 20px; 
    overflow-x: auto; 
    padding-bottom: 10px; /* Untuk scrollbar */
}
.day-column { 
    background-color: #fcfdff; /* Background lebih cerah */
    border-radius: 10px; 
    padding: 15px; 
    border-top: 5px solid; /* Border atas lebih tebal */
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}
.day-column:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}
.day-column h3 { 
    text-align: center; 
    font-size: 1.15em; 
    margin: 5px 0 15px 0; 
    color: #2c3e50; /* Warna judul hari lebih gelap */
    border-bottom: 2px solid #e0e6ed; /* Garis bawah lebih jelas */
    padding-bottom: 8px; 
    font-weight: 600;
}
/* Warna border atas untuk setiap hari */
.day-column:nth-child(1) { border-top-color: #3498db; } /* Senin: Biru */
.day-column:nth-child(2) { border-top-color: #e67e22; } /* Selasa: Oranye */
.day-column:nth-child(3) { border-top-color: #2ecc71; } /* Rabu: Hijau */
.day-column:nth-child(4) { border-top-color: #9b59b6; } /* Kamis: Ungu */
.day-column:nth-child(5) { border-top-color: #e74c3c; } /* Jumat: Merah */
.day-column:nth-child(6) { border-top-color: #f1c40f; } /* Sabtu: Kuning */
.day-column:nth-child(7) { border-top-color: #c0392b; } /* Minggu: Merah Tua */

.recap-card { 
    background-color: #ffffff; 
    border: 1px solid #dcdfe4; 
    border-radius: 6px; 
    padding: 10px; 
    margin-bottom: 10px; 
    font-size: 0.9em; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}
.recap-card:hover {
    transform: translateX(5px); /* Sedikit bergerak ke kanan saat hover */
    background-color: #e8f5ff; /* Background biru muda */
}
.recap-card strong { 
    display: block; 
    color: #007bff; 
    font-weight: 600;
    margin-bottom: 3px;
}
.recap-card p {
    margin: 5px 0;
    line-height: 1.4;
    color: #34495e;
}
.recap-card small { 
    color: #888; 
    display: block; 
    margin-top: 5px; 
    font-size: 0.85em;
}
.no-recap { 
    color: #95a5a6; 
    text-align: center; 
    font-style: italic; 
    padding: 20px 0; 
}

/* --- DATATABLES & CHARTS WRAPPER --- */
#logbookTable_wrapper table.dataTable thead th, 
#rekapMahasiswaTable.dataTable thead th {
    background-color: #007bff;
    color: white;
    padding: 10px;
    text-align: left;
    border-bottom: 2px solid #0056b3;
}
#logbookTable_wrapper .dataTables_filter input,
#rekapMahasiswaTable .dataTables_filter input {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px;
    margin-left: 5px;
}
.thumbnail-img { 
    width: 80px; /* Ukuran thumbnail lebih kecil */
    height: auto; 
    border-radius: 4px; 
    cursor: pointer; 
    border: 1px solid #eee;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}



/* Import Font Roboto dari Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* --- [MODIFIKASI] BACKGROUND GRADASI BIRU-MERAH CEPAT --- */
body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    margin: 0;
    padding: 20px;
    font-size: 15px;

    /* Gradasi baru dari biru, ungu, ke merah */
    background: linear-gradient(-45deg, #3498db, #9b59b6, #e74c3c, #c0392b);
    background-size: 400% 400%;
    /* Animasi cepat 8 detik */
    animation: gradientAnimation 8s ease infinite;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* --- AKHIR BACKGROUND GRADASI --- */


/* --- STYLING UMUM --- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

h1 { text-align: center; color: #0056b3; font-weight: 700; margin-bottom: 25px; }
h3 { font-weight: 500; }

.filter-form { margin-bottom: 0; display: flex; gap: 10px; align-items: center; justify-content: center; }
.filter-form label { font-weight: 600; color: #34495e; }
.filter-form select, .filter-form button { padding: 10px 15px; border: 1px solid #ccc; border-radius: 6px; font-size: 15px; transition: all 0.3s ease; }
.filter-form select:focus { border-color: #007bff; box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25); outline: none; }
.filter-form button { background-color: #007bff; color: white; cursor: pointer; border: none; }
.filter-form button:hover { background-color: #0056b3; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.1); }


/* --- CARD STATISTIK --- */
.stats-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 35px; 
}
.stat-card { 
    background: linear-gradient(135deg, #ffffff, #f0f4f8);
    padding: 30px; 
    border-radius: 12px; 
    text-align: center; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border: 1px solid #e0e6ed;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}
.stat-card h3 { 
    margin-top: 0; 
    font-size: 1.25em; 
    color: #495057; 
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.stat-card h3::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #007bff;
    border-radius: 2px;
}
.stat-card .number { 
    font-size: 3.5em;
    font-weight: 700; 
    color: #007bff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}
.stats-grid .stat-card:nth-child(1) .number { color: #28a745; }
.stats-grid .stat-card:nth-child(2) .number { color: #ffc107; }


/* --- STYLING BAGIAN LOG BOOK TABLE & CHARTS --- */
#logbookTable_wrapper, #rekapTable_wrapper, .chart-container, .weekly-recap-container,
div[style*="justify-content: center;"] {
    background: #fff; 
    padding: 25px;
    border-radius: 10px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}
#rekapTable_wrapper { margin-top: 30px; }
.chart-container { margin-top: 30px; }


/* --- REKAP BIMBINGAN MINGGUAN --- */
.weekly-recap-container h2 {
    color: #34495e;
    font-weight: 700;
    margin-bottom: 15px;
}
.recap-subtitle { 
    color: #7f8c8d; 
    font-style: italic; 
    margin-bottom: 25px;
    font-size: 0.95em;
}

.weekly-recap-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px; 
    overflow-x: auto; 
    padding-bottom: 10px;
}
.day-column { 
    background-color: #fcfdff;
    border-radius: 10px; 
    padding: 15px; 
    border-top: 5px solid;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}
.day-column:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}
.day-column h3 { 
    text-align: center; 
    font-size: 1.15em; 
    margin: 5px 0 15px 0; 
    color: #2c3e50;
    border-bottom: 2px solid #e0e6ed;
    padding-bottom: 8px; 
    font-weight: 600;
}
.day-column:nth-child(1) { border-top-color: #3498db; } /* Senin: Biru */
.day-column:nth-child(2) { border-top-color: #e67e22; } /* Selasa: Oranye */
.day-column:nth-child(3) { border-top-color: #2ecc71; } /* Rabu: Hijau */
.day-column:nth-child(4) { border-top-color: #9b59b6; } /* Kamis: Ungu */
.day-column:nth-child(5) { border-top-color: #e74c3c; } /* Jumat: Merah */
.day-column:nth-child(6) { border-top-color: #f1c40f; } /* Sabtu: Kuning */
.day-column:nth-child(7) { border-top-color: #c0392b; } /* Minggu: Merah Tua */

.recap-card { 
    background-color: #ffffff; 
    border: 1px solid #dcdfe4; 
    border-radius: 6px; 
    padding: 10px; 
    margin-bottom: 10px; 
    font-size: 0.9em; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}
.recap-card:hover {
    transform: translateX(5px);
    background-color: #e8f5ff;
}
.recap-card strong { 
    display: block; 
    color: #007bff; 
    font-weight: 600;
    margin-bottom: 3px;
}
.recap-card p {
    margin: 5px 0;
    line-height: 1.4;
    color: #34495e;
}
.recap-card small { 
    color: #888; 
    display: block; 
    margin-top: 5px; 
    font-size: 0.85em;
}
.no-recap { 
    color: #95a5a6; 
    text-align: center; 
    font-style: italic; 
    padding: 20px 0; 
}

/* --- DATATABLES & CHARTS WRAPPER --- */
#logbookTable_wrapper table.dataTable thead th, 
#rekapMahasiswaTable.dataTable thead th {
    background-color: #007bff;
    color: white;
    padding: 10px;
    text-align: left;
    border-bottom: 2px solid #0056b3;
}
#logbookTable_wrapper .dataTables_filter input,
#rekapMahasiswaTable .dataTables_filter input {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px;
    margin-left: 5px;
}
.thumbnail-img { 
    width: 80px;
    height: auto; 
    border-radius: 4px; 
    cursor: pointer; 
    border: 1px solid #eee;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}




/* Import Font Roboto dari Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    margin: 0;
    padding: 20px;
    font-size: 15px;
    background: linear-gradient(-45deg, #3498db, #9b59b6, #e74c3c, #c0392b);
    background-size: 400% 400%;
    animation: gradientAnimation 8s ease infinite;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

h1 { text-align: center; color: #0056b3; font-weight: 700; margin-bottom: 25px; }
h3 { font-weight: 500; }

.filter-form { margin-bottom: 0; display: flex; gap: 10px; align-items: center; justify-content: center; }
.filter-form label { font-weight: 600; color: #34495e; }
.filter-form select, .filter-form button { padding: 10px 15px; border: 1px solid #ccc; border-radius: 6px; font-size: 15px; transition: all 0.3s ease; }
.filter-form select:focus { border-color: #007bff; box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25); outline: none; }
.filter-form button { background-color: #007bff; color: white; cursor: pointer; border: none; }
.filter-form button:hover { background-color: #0056b3; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.1); }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin-bottom: 35px; }
.stat-card { background: linear-gradient(135deg, #ffffff, #f0f4f8); padding: 30px; border-radius: 12px; text-align: center; box-shadow: 0 8px 20px rgba(0,0,0,0.1); border: 1px solid #e0e6ed; transition: all 0.3s ease; overflow: hidden; position: relative; z-index: 1; }
.stat-card:hover { transform: translateY(-5px); box-shadow: 0 12px 25px rgba(0,0,0,0.2); }
.stat-card h3 { margin-top: 0; font-size: 1.25em; color: #495057; font-weight: 600; position: relative; padding-bottom: 10px; margin-bottom: 15px; }
.stat-card h3::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 50px; height: 3px; background-color: #007bff; border-radius: 2px; }
.stat-card .number { font-size: 3.5em; font-weight: 700; color: #007bff; text-shadow: 1px 1px 2px rgba(0,0,0,0.05); }
.stats-grid .stat-card:nth-child(1) .number { color: #28a745; }
.stats-grid .stat-card:nth-child(2) .number { color: #ffc107; }

#logbookTable_wrapper, #rekapTable_wrapper, .chart-container, .weekly-recap-container, div[style*="justify-content: center;"] { background: #fff; padding: 25px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); margin-bottom: 30px; }
#rekapTable_wrapper { margin-top: 30px; }
.chart-container { margin-top: 30px; }
.log-card { border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); padding: 25px; }

.weekly-recap-container h2 { color: #34495e; font-weight: 700; margin-bottom: 15px; }
.recap-subtitle { color: #7f8c8d; font-style: italic; margin-bottom: 25px; font-size: 0.95em; }
.weekly-recap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; overflow-x: auto; padding-bottom: 10px; }
.day-column { background-color: #fcfdff; border-radius: 10px; padding: 15px; border-top: 5px solid; box-shadow: 0 4px 12px rgba(0,0,0,0.08); transition: all 0.3s ease; }
.day-column:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,0,0,0.12); }
.day-column h3 { text-align: center; font-size: 1.15em; margin: 5px 0 15px 0; color: #2c3e50; border-bottom: 2px solid #e0e6ed; padding-bottom: 8px; font-weight: 600; }
.day-column:nth-child(1) { border-top-color: #3498db; }
.day-column:nth-child(2) { border-top-color: #e67e22; }
.day-column:nth-child(3) { border-top-color: #2ecc71; }
.day-column:nth-child(4) { border-top-color: #9b59b6; }
.day-column:nth-child(5) { border-top-color: #e74c3c; }
.day-column:nth-child(6) { border-top-color: #f1c40f; }
.day-column:nth-child(7) { border-top-color: #c0392b; }
.recap-card { background-color: #ffffff; border: 1px solid #dcdfe4; border-radius: 6px; padding: 10px; margin-bottom: 10px; font-size: 0.9em; box-shadow: 0 2px 5px rgba(0,0,0,0.05); transition: all 0.2s ease; }
.recap-card:hover { transform: translateX(5px); background-color: #e8f5ff; }
.recap-card strong { display: block; color: #007bff; font-weight: 600; margin-bottom: 3px; }
.recap-card p { margin: 5px 0; line-height: 1.4; color: #34495e; }
.recap-card small { color: #888; display: block; margin-top: 5px; font-size: 0.85em; }
.no-recap { color: #95a5a6; text-align: center; font-style: italic; padding: 20px 0; }

#logbookTable_wrapper table.dataTable thead th, #rekapMahasiswaTable.dataTable thead th { background-color: #007bff; color: white; padding: 10px; text-align: left; border-bottom: 2px solid #0056b3; }
#logbookTable_wrapper .dataTables_filter input, #rekapMahasiswaTable .dataTables_filter input { border: 1px solid #ccc; border-radius: 4px; padding: 8px; margin-left: 5px; }
.thumbnail-img { width: 80px; height: auto; border-radius: 4px; cursor: pointer; border: 1px solid #eee; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }



body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(270deg, #007bff, #ff0000);
    background-size: 400% 400%;
    animation: gradientShift 5s ease infinite;
}

/* Animasi gradasi */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Supaya kontainer tetap terbaca jelas */
.container {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}





