.riwayat-toolbar {
    border: 1px solid #d8e3f2;
    border-radius: 10px;
    padding: 10px;
    background-color: #f9fbff;
}

.riwayat-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2px;
    color: #3f4d5f;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.riwayat-btn {
    border-radius: 8px;
    font-weight: 600;
}

.riwayat-btn .badge {
    margin-left: 6px;
    border-radius: 999px;
    font-size: 11px;
    padding: 4px 7px;
}

.riwayat-modal .modal-content {
    border-radius: 12px;
    border: 1px solid #d8dee9;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(13, 42, 84, .16);
}

.riwayat-modal .modal-header {
    padding-top: 11px;
    padding-bottom: 11px;
}

.riwayat-table {
    margin-bottom: 0;
}

.riwayat-table thead th {
    background-color: #edf2f8;
    color: #1f2f46;
    border-bottom-width: 1px;
    font-size: 12px;
    white-space: nowrap;
}

.riwayat-table tbody td {
    font-size: 13px;
    vertical-align: middle;
}

.riwayat-empty {
    border: 1px dashed #cdd7e6;
    background-color: #f7f9fc;
    color: #516174;
}

@media (max-width: 576px) {
    .riwayat-btn {
        width: 100%;
        margin-right: 0 !important;
    }
}
