/* Pagination of the lottery history lists (see assets/js/history-pagination.js).
   Same look as the paginated history widgets of the other plugins. */
.gg-is-page-hidden {
    display: none !important;
}

.gg-history-pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding: 0 24px;
}

.gg-history-pagination .page-numbers-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.gg-history-pagination .page-numbers-list li {
    display: flex;
    list-style: none;
}

.gg-history-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border: 0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
    color: #1f2937;
    text-decoration: none;
    background: #f3f4f6;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.gg-history-pagination button.page-numbers:hover:not(:disabled) {
    background: #fde68a;
}

.gg-history-pagination button.page-numbers:disabled {
    opacity: 0.45;
    cursor: default;
}

.gg-history-pagination .page-numbers.current {
    background: #FFC800;
    color: #111827;
    cursor: default;
}

.gg-history-pagination .page-numbers.dots {
    background: transparent;
    cursor: default;
}

.gg-history-pagination button.page-numbers:focus-visible {
    outline: 2px solid #1A382D;
    outline-offset: 2px;
}
