/* Pagination Styles - Consistent across all pages */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.1rem 0;
    margin-top: 0.1rem;
}

.pagination {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagination li {
    margin: 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
    background: white;
    color: #6b7280;
}

.pagination a:hover {
    border-color: #00b377;
    background: #f0fdf4;
    color: #00b377;
    transform: translateY(-2px);
}

.pagination .active span,
.pagination .active a,
.pagination li.active a,
.pagination li.active span {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border-color: #10b981 !important;
    color: white !important;
}

/* Override any Yii2 default pagination colors */
.pagination > .active > a,
.pagination > .active > a:hover,
.pagination > .active > a:focus,
.pagination > .active > span,
.pagination > .active > span:hover,
.pagination > .active > span:focus {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border-color: #10b981 !important;
    color: white !important;
}

.pagination .disabled span,
.pagination .disabled a {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination .prev a,
.pagination .next a {
    font-size: 1rem;
}

.pagination .prev a:hover,
.pagination .next a:hover {
    border-color: #e5e7eb;
    background: white;
    color: #6b7280;
    transform: none;
}
