/* =================================================================== */
/*                     GURU SMANTAP STYLESHEET (FINAL V2)              */
/* =================================================================== */

/* CSS Reset & Palet Warna Utama */
:root {
    --primary-teal: #1abc9c;
    --primary-purple: #8e44ad;
    --primary-orange: #f39c12;
    --primary-blue: #3498db;

    --gradient-teal: linear-gradient(135deg, #1dd1a1, #1abc9c);
    --gradient-purple: linear-gradient(135deg, #9b59b6, #8e44ad);
    --gradient-orange: linear-gradient(135deg, #feca57, #f39c12);

    --content-bg: #f4f6f9;
    --white: #ffffff;
    --text-dark: #333;
    --text-light: #6c757d;
    --danger-red: #e74c3c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #e9ebee;
}

/* =================================================================== */
/*           Struktur Utama Aplikasi (Mode Full-Screen)                */
/* =================================================================== */

.mobile-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--content-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.status-bar {
    display: none;
}

main {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px 25px;
}

/* =================================================================== */
/*                     Header & Navigasi                             */
/* =================================================================== */

.colorful-header {
    background: var(--gradient-teal);
    padding: 20px 25px;
    color: var(--white);
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(26, 188, 156, 0.3);
    /* === UPDATE: Buat header menempel di atas === */
    position: sticky;
    top: 0;
    z-index: 1000;
    /* Hilangkan border-radius bawah */
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.colorful-header .app-icon {
    font-size: 28px;
    margin-right: 15px;
}

.colorful-header h1 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.colorful-header p {
    font-size: 12px;
    opacity: 0.9;
    margin: 0;
}

.page-header {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 0 15px 0;
    justify-content: center;
    padding-left: 50px;
    padding-right: 50px;
}

.back-button {
    position: absolute;
    left: 0;
    top: -8px;
    font-size: 18px;
    color: var(--text-dark);
    text-decoration: none;
    background: #e9ebee;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.back-button:hover {
    background-color: #dcdfe4;
}

.bottom-nav {
    background-color: var(--white);
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-light);
    cursor: pointer;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-item i {
    font-size: 20px;
}

.nav-item span {
    font-size: 11px;
    margin-top: 4px;
}

.nav-item.active,
.nav-item:hover {
    color: var(--primary-teal);
}

/* =================================================================== */
/*                     Halaman Utama (index.php)                       */
/* =================================================================== */

/* === UPDATE: Gaya baru untuk area selamat datang === */
.welcome-section {
    text-align: center;
    padding: 10px 0;
}

.welcome-logo {
    font-size: 50px;
    color: var(--primary-teal);
    margin-bottom: 0px;
}

.welcome-logo img {
    max-width: 100px;
    /* Atur lebar maksimum logo */
    height: auto;
    /* Tinggi akan menyesuaikan secara otomatis */
}

.welcome-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.main-content {
    text-align: center;
    padding: 10px;
}

.main-content p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* === UPDATE: Gaya baru untuk tombol & form proporsional === */
.btn-primary,
.home-search-form button {
    display: block;
    /* Buat sebagai blok agar bisa full width */
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-orange);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.5);
}

.btn-primary i {
    margin-right: 10px;
}

.home-search-form button {
    background-color: var(--primary-purple);
    color: white;
    box-shadow: 0 4px 15px rgba(142, 68, 173, 0.4);
}

.home-search-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(142, 68, 173, 0.5);
}

.home-divider {
    text-align: center;
    color: var(--text-light);
    margin: 25px 0;
    font-weight: 500;
}

.home-search-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.home-search-form input {
    width: 100%;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 14px 15px;
    /* Samakan padding vertikal dengan tombol */
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    outline-color: var(--primary-purple);
}

/* SISA CSS BIARKAN SAMA SEPERTI SEBELUMNYA */
/* ... (semua gaya untuk halaman kelas, siswa, detail, dll.) ... */
/* =================================================================== */
/*                     Halaman Daftar Kelas (kelas.php)                */
/* =================================================================== */

.search-container {
    display: flex;
    align-items: center;
    background-color: #f0f2f5;
    border-radius: 25px;
    padding: 10px 15px;
    margin-bottom: 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.search-container i {
    color: #90949c;
    margin-right: 10px;
}

.search-container input {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
}

.jenjang-header-colorful {
    padding: 12px 20px;
    border-radius: 25px;
    color: white;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.jenjang-header-colorful:first-of-type {
    margin-top: 0;
}

.class-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.class-card-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border-radius: 18px;
    padding: 20px 10px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.class-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.class-card-new i {
    font-size: 28px;
    margin-bottom: 12px;
}

.class-card-new span {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
}

.bg-level-10 {
    background: linear-gradient(45deg, #EC407A, #D81B60);
}

.bg-level-11 {
    background: linear-gradient(45deg, #FFCA28, #FFA000);
}

.bg-level-12 {
    background: linear-gradient(45deg, #42A5F5, #1E88E5);
}

.icon-level-10 {
    color: #D81B60;
}

.icon-level-11 {
    color: #FFA000;
}

.icon-level-12 {
    color: #1E88E5;
}

/* =================================================================== */
/*             Daftar Siswa & Detail Siswa (siswa.php, dll)            */
/* =================================================================== */

.detail-section-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    border-left: 4px solid var(--primary-teal);
    padding-left: 10px;
}

.data-list a {
    text-decoration: none;
}

.data-list .list-item-card {
    background: var(--white);
    border-radius: 15px;
    margin-bottom: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.data-list .list-item-card:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.data-list .item-icon {
    font-size: 20px;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.data-list .item-details {
    flex-grow: 1;
}

.data-list .item-details h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.data-list .item-details p {
    font-size: 12px;
    color: var(--text-light);
    margin: 0;
}

.data-list .item-arrow i {
    color: var(--text-light);
    font-size: 16px;
    margin-left: 15px;
}

.detail-card {
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.profile-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.profile-item:last-child {
    border-bottom: none;
}

.profile-item .label {
    color: var(--text-light);
    font-size: 13px;
}

.profile-item .value {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 13px;
    text-align: right;
}

.history-card {
    background: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    overflow: visible;
    margin-bottom: 20px;
}

.history-card-header {
    padding: 15px 20px;
    border-radius: 12px;
    color: var(--white);
    font-weight: 600;
}

.history-card-header h3 {
    font-size: 16px;
    margin: 0;
    color: inherit;
}

.history-card-header p {
    font-size: 13px;
    opacity: 0.9;
    color: inherit;
}

.history-card-body {
    padding: 15px 0 0 0;
}

.riwayat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.riwayat-item {
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
}

.riwayat-item i {
    font-size: 22px;
    margin-bottom: 5px;
}

.riwayat-item .total {
    font-size: 22px;
    font-weight: 700;
}

.riwayat-item .label {
    font-size: 12px;
    color: #555;
}

.riwayat-poin {
    background-color: #fffde7;
    border: 1px solid #fff59d;
}

.riwayat-poin i {
    color: #fbc02d;
}

.riwayat-poin .total {
    color: #f57f17;
}

.riwayat-absensi {
    background-color: #ffebee;
    border: 1px solid #ef9a9a;
}

.riwayat-absensi i {
    color: #d32f2f;
}

.riwayat-absensi .total {
    color: #b71c1c;
}

.riwayat-izin {
    background-color: #e8eaf6;
    border: 1px solid #9fa8da;
}

.riwayat-izin i {
    color: #303f9f;
}

.riwayat-izin .total {
    color: #1a237e;
}

.riwayat-konseling {
    background-color: #e0f2f1;
    border: 1px solid #80cbc4;
}

.riwayat-konseling i {
    color: #00796b;
}

.riwayat-konseling .total {
    color: #004d40;
}


.rank-list {
    background-color: var(--white);
    border-radius: 15px;
    padding: 10px 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
}

.rank-list a {
    text-decoration: none;
    color: inherit;
}

.rank-list-row {
    display: flex;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #f0f2f5;
}

.rank-list a:last-child .rank-list-row {
    border-bottom: none;
}

.rank-list-row .rank-number {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    width: 45px;
    flex-shrink: 0;
}

.rank-list-row .info-details {
    flex-grow: 1;
}

.rank-list-row .info-details h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.rank-list-row .info-details p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

.rank-list-row .points-value {
    font-weight: 700;
    font-size: 16px;
}

.points-value.high {
    color: #27ae60;
}

.points-value.low {
    color: var(--danger-red);
}

/* SISA CSS LAINNYA */
/* ... (Tambahkan sisa CSS Anda yang tidak ada di atas di sini) ... */

.color-cycle-1 {
    background-color: #2980b9;
}

.color-cycle-2 {
    background-color: #27ae60;
}

.color-cycle-3 {
    background-color: #f39c12;
}

.color-cycle-4 {
    background-color: #8e44ad;
}

.color-cycle-5 {
    background-color: #c0392b;
}

.jenjang-10 .item-icon {
    background-color: #fce4ec;
    color: #d81b60;
}

.jenjang-11 .item-icon {
    background-color: #fff8e1;
    color: #ffa000;
}

.jenjang-12 .item-icon {
    background-color: #e3f2fd;
    color: #1e88e5;
}

.card-color-1 .item-icon {
    background-color: #e0f2f1;
    color: #00796b;
}

.card-color-2 .item-icon {
    background-color: #f3e5f5;
    color: #8e24aa;
}

.card-color-3 .item-icon {
    background-color: #fff3e0;
    color: #f57c00;
}

.card-color-4 .item-icon {
    background-color: #e3f2fd;
    color: #1976d2;
}

.history-card-header {
    padding: 15px 20px;
    border-radius: 12px;
    /* Diterapkan di sini, bukan di .history-card */
    color: var(--white);
    font-weight: 600;
}

.history-card-header h3 {
    font-size: 16px;
    margin: 0;
    color: inherit;
    /* Mewarisi warna dari parent */
}

.history-card-header p {
    font-size: 13px;
    opacity: 0.9;
    color: inherit;
    /* Mewarisi warna dari parent */
}

/* Mengatur ulang kartu utama */
.history-card {
    background: none;
    /* Latar belakang transparan */
    box-shadow: none;
    /* Hilangkan bayangan */
    padding: 0;
    /* Hapus padding */
    border-radius: 0;
    overflow: visible;
}

.history-card-body {
    padding: 15px 0 0 0;
    /* Hanya padding atas */
}

.riwayat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.riwayat-item {
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
}

.riwayat-item i {
    font-size: 22px;
    margin-bottom: 5px;
}

.riwayat-item .total {
    font-size: 22px;
    font-weight: 700;
}

.riwayat-item .label {
    font-size: 12px;
    color: #555;
}

/* Palet Warna Pastel untuk Statistik */
.riwayat-poin {
    background-color: #fffde7;
    border: 1px solid #fff59d;
}

.riwayat-poin i {
    color: #fbc02d;
}

.riwayat-poin .total {
    color: #f57f17;
}

.riwayat-absensi {
    background-color: #ffebee;
    border: 1px solid #ef9a9a;
}

.riwayat-absensi i {
    color: #d32f2f;
}

.riwayat-absensi .total {
    color: #b71c1c;
}

.riwayat-izin {
    background-color: #e8eaf6;
    border: 1px solid #9fa8da;
}

.riwayat-izin i {
    color: #303f9f;
}

.riwayat-izin .total {
    color: #1a237e;
}

.riwayat-konseling {
    background-color: #e0f2f1;
    border: 1px solid #80cbc4;
}

.riwayat-konseling i {
    color: #00796b;
}

.riwayat-konseling .total {
    color: #004d40;
}

.absen-S .item-icon {
    background-color: #fff8e1;
    color: #f57c00;
}

.absen-I .item-icon {
    background-color: #e3f2fd;
    color: #1976d2;
}

.absen-A .item-icon {
    background-color: #ffcdd2;
    color: #d32f2f;
}

.attendance-status {
    padding: 6px 14px;
    border-radius: 20px;
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
}

.status-S {
    background-color: #f57c00;
}

.status-I {
    background-color: #1976d2;
}

.status-A {
    background-color: #d32f2f;
}

.detail-block {
    margin-bottom: 20px;
}

.detail-block .label {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.detail-block .value {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
}

.detail-block .value.long-text {
    line-height: 1.6;
}

.transaction-detail-list .item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.transaction-detail-list .item:last-child {
    border-bottom: none;
}

.transaction-detail-list .item .name {
    flex-grow: 1;
    padding-right: 15px;
}

.transaction-detail-list .item .bobot {
    font-weight: 600;
}

.bobot-positif {
    color: #27ae60;
}

.bobot-negatif {
    color: var(--danger-red);
}

.evidence-image {
    width: 100%;
    border-radius: 15px;
    margin-top: 10px;
}

/* --- Form Filter Bulan & Tahun --- */
.filter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    background-color: var(--white);
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.filter-form select,
.filter-form button {
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.filter-form select {
    flex: 1;
}

.filter-form button {
    background-color: var(--primary-teal);
    color: var(--white);
    border-color: var(--primary-teal);
    cursor: pointer;
}

/* --- Kontainer Grafik --- */
.chart-container {
    background-color: var(--white);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

/* --- Tabel Rekap Siswa --- */
.recap-table-container {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    /* Agar border-radius bekerja dengan tabel */
}

.recap-table {
    width: 100%;
    border-collapse: collapse;
}

.recap-table th,
.recap-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #f0f2f5;
}

.recap-table th {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 600;
}

.recap-table td {
    font-size: 14px;
    color: var(--text-dark);
}

.recap-table tr:last-child td {
    border-bottom: none;
}

.recap-table .student-name {
    font-weight: 600;
}

.recap-table .count-cell {
    text-align: center;
    font-weight: 700;
    font-size: 16px;
}

/* === WARNA ANGKA PADA TABEL REKAP KEHADIRAN === */
.count-s {
    color: #f57c00;
}

/* Oranye */
.count-i {
    color: #1976d2;
}

/* Biru */
.count-a {
    color: #d32f2f;
}

/* Merah */


/* === GAYA BARU UNTUK FORM PENCARIAN IZIN === */
.search-form-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.search-form-card .form-group {
    margin-bottom: 15px;
}

.search-form-card .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 5px;
}

.search-form-card .date-range {
    display: flex;
    gap: 10px;
}

.search-form-card input[type="text"],
.search-form-card input[type="date"],
.search-form-card input[type="month"] {
    /* <-- Tambahkan ini */
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

.search-form-card .btn-search {
    width: 100%;
    padding: 12px;
    border: none;
    background-color: var(--primary-teal);
    color: var(--white);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

/* === GAYA BARU UNTUK DASHBOARD PEMINATAN === */
.peminatan-details {
    display: flex;
    align-items: flex-start;
    /* Agar ikon dan teks sejajar di atas */
}

.peminatan-details .item-icon {
    margin-top: 5px;
    /* Sedikit ke bawah agar pas dengan teks */
}

/* Warna ikon untuk setiap kategori peminatan */
.peminatan-Kuliah .item-icon {
    background-color: #e3f2fd;
    /* Biru */
    color: #1e88e5;
}

.peminatan-Kerja .item-icon {
    background-color: #e8f5e9;
    /* Hijau */
    color: #388e3c;
}

.peminatan-Wirausaha .item-icon {
    background-color: #fff8e1;
    /* Kuning */
    color: #ffa000;
}

.peminatan-TNI-Polri .item-icon {
    /* Ganti '/' dengan '-' untuk nama kelas */
    background-color: #fce4ec;
    /* Pink */
    color: #d81b60;
}

.peminatan-Belum-Tahu .item-icon {
    background-color: #f5f5f5;
    /* Abu-abu */
    color: #757575;
}


.peminatan-details {
    display: flex;
    align-items: flex-start;
}

.peminatan-details .item-icon {
    margin-top: 5px;
}

/* Warna ikon untuk setiap kategori peminatan */
.peminatan-Kuliah .item-icon {
    background-color: #e3f2fd;
    /* Biru Pucat */
    color: #1e88e5;
    /* Biru Kuat */
}

.peminatan-Kerja .item-icon {
    background-color: #e8f5e9;
    /* Hijau Pucat */
    color: #388e3c;
    /* Hijau Kuat */
}

.peminatan-Wirausaha .item-icon {
    background-color: #fff8e1;
    /* Kuning Pucat */
    color: #ffa000;
    /* Kuning Kuat */
}

/* Ganti '/' dengan '-' untuk nama kelas yang valid */
.peminatan-TNI-Polri .item-icon {
    background-color: #fce4ec;
    /* Pink Pucat */
    color: #d81b60;
    /* Pink Kuat */
}

.peminatan-Belum-Tahu .item-icon {
    background-color: #f5f5f5;
    /* Abu-abu Pucat */
    color: #757575;
    /* Abu-abu Kuat */
}


/* assets/css/style.css */

/* ... (semua kode CSS yang sudah ada sebelumnya) ... */


/* === GAYA BARU: TABULASI HORIZONTAL UNTUK PERINGKAT POIN === */

/* --- Kontainer Tab Navigasi --- */
.tabs-container {
    display: flex;
    border-bottom: 2px solid #e9ebee;
    /* Garis bawah pemisah */
    margin-bottom: 20px;
}

.tab-item {
    padding: 15px 20px;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-light);
    cursor: pointer;
    position: relative;
    border-bottom: 3px solid transparent;
    /* Indikator tidak aktif */
    transition: all 0.3s ease;
}

.tab-item:hover {
    color: var(--text-dark);
}

.tab-item.active {
    color: var(--primary-teal);
    border-bottom-color: var(--primary-teal);
    /* Indikator aktif */
}

/* --- Kontainer Konten Tab --- */
.tab-content {
    /* Tidak perlu gaya khusus */
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* --- Daftar Peringkat (Kita gunakan kembali .rank-list dari sebelumnya) --- */
/* (Pastikan gaya untuk .rank-list dan turunannya masih ada) */
.rank-list {
    background-color: var(--white);
    border-radius: 15px;
    padding: 10px 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
}

.rank-list-row {
    display: flex;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #f0f2f5;
}

.rank-list a:last-child .rank-list-row {
    border-bottom: none;
}

/* ... sisa gaya untuk .rank-list-row ... */