/*
|--------------------------------------------------------------------------
| RIWAYAT
|--------------------------------------------------------------------------
*/

.riwayat-page {
    padding-bottom: 50px;
}


/*
|--------------------------------------------------------------------------
| HERO
|--------------------------------------------------------------------------
*/

.riwayat-hero {
    margin: 25px 0;
    padding: 30px;
    border-radius: 18px;
    background: #f3f4f6;
}

.hero-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #6b7280;
}

.riwayat-hero h1 {
    margin: 8px 0;
    font-size: 32px;
    line-height: 1.2;
}

.riwayat-hero p {
    margin: 0;
    color: #6b7280;
    line-height: 1.6;
}


/*
|--------------------------------------------------------------------------
| FILTER
|--------------------------------------------------------------------------
*/

.filter-card {
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    background: #fff;
}

.filter-group + .filter-group {
    margin-top: 20px;
}

.filter-label {
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 800;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-buttons a {
    display: inline-block;
    padding: 9px 14px;
    border-radius: 9px;
    background: #f3f4f6;
    color: inherit;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: .2s;
}

.filter-buttons a:hover {
    background: #e5e7eb;
}

.filter-buttons a.active {
    background: #111827;
    color: #fff;
}


/*
|--------------------------------------------------------------------------
| INFO
|--------------------------------------------------------------------------
*/

.data-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-bottom: 12px;
    color: #6b7280;
    font-size: 14px;
}

.data-info strong {
    color: #111827;
}


/*
|--------------------------------------------------------------------------
| TABLE
|--------------------------------------------------------------------------
*/

.table-card {
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    background: #fff;
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    min-width: 650px;
    border-collapse: collapse;
}

thead th {
    padding: 14px 12px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

tbody td {
    padding: 15px 12px;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
}

tbody tr:last-child td {
    border-bottom: 0;
}

tbody tr:hover td {
    background: #fafafa;
}


/*
|--------------------------------------------------------------------------
| NOMOR
|--------------------------------------------------------------------------
*/

.number-index {
    width: 50px;
    color: #9ca3af;
    font-size: 12px;
}


/*
|--------------------------------------------------------------------------
| TANGGAL
|--------------------------------------------------------------------------
*/

.date-cell {
    min-width: 230px;
    text-align: left !important;
}

.date-cell strong {
    color: #111827;
    font-size: 14px;
}


/*
|--------------------------------------------------------------------------
| HASIL ANGKA
|--------------------------------------------------------------------------
*/

.result-number {
    min-width: 120px;
    color: #111827;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: 3px;
}


/*
|--------------------------------------------------------------------------
| EMPTY
|--------------------------------------------------------------------------
*/

.empty-data {
    padding: 50px 20px !important;
    color: #6b7280;
}

.empty-data div {
    margin-bottom: 5px;
    font-weight: 700;
}

.empty-data small {
    color: #9ca3af;
}


/*
|--------------------------------------------------------------------------
| PAGINATION
|--------------------------------------------------------------------------
*/

.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 25px 0;
}

.page-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: 8px;
    background: #f3f4f6;
    color: inherit;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.page-button:hover {
    background: #e5e7eb;
}

.page-button.active {
    background: #111827;
    color: #fff;
}


/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media (max-width: 600px) {

    .riwayat-hero {
        margin-top: 15px;
        padding: 22px;
    }

    .riwayat-hero h1 {
        font-size: 26px;
    }

    .filter-card {
        padding: 16px;
    }

    .filter-buttons a {
        padding: 8px 11px;
        font-size: 12px;
    }

}
