﻿
.table th,
.table td {
    vertical-align: middle;
    text-align: center;
    padding: 8px;
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: 8px;
}

/* Center pagination under table */
.pagination {
    justify-content: center;
    margin-top: 15px;
    flex-wrap: wrap; /* wrap to new line on small screens */
}

    /* Active page (green like Edit button) */
    .pagination .page-item.active .page-link {
        background-color: #28a745; /* green */
        border-color: #28a745;
        color: #fff;
    }

    /* Default page links (neutral gray) */
    .pagination .page-link {
        color: #6c757d;
        background-color: #fff;
        border: 1px solid #dee2e6;
        margin: 2px;
        transition: all 0.3s ease;
    }

        /* Hover effect (light green) */
        .pagination .page-link:hover {
            background-color: #e6f4ea;
            color: #28a745;
            border-color: #28a745;
        }

    /* Rounded and uniform size */
    .pagination .page-link {
        border-radius: 4px;
        min-width: 36px;
        text-align: center;
        font-size: 14px;
    }

    /* Next/Previous arrows styling */
    .pagination .page-item:first-child .page-link,
    .pagination .page-item:last-child .page-link {
        border-radius: 4px;
    }

    /* Disabled state */
    .pagination .page-item.disabled .page-link {
        color: #ccc;
        pointer-events: none;
        background-color: #f8f9fa;
    }

@media (max-width: 576px) {
    .pagination .page-link {
        min-width: 28px;
        font-size: 12px;
        padding: 4px 6px;
    }
}
