﻿/* ==========================================================
   Maestro Pagination
   ========================================================== */

.maestro-table-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 1.5rem;
}

.dt-paging-button.previous,
.dt-paging-button.next {
    color: #475569 !important;
    font-weight: 600;
}

.dt-paging {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
}

/* Buttons */

.dt-paging-button {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: none !important;
    border-radius: 10px;
    background: transparent !important;
    color: #64748b !important;
    font-weight: 500;
    transition: all .2s ease;
}

    /* Hover */

    .dt-paging-button:not(.disabled):not(.current):hover {
        background: #eef5ff !important;
        color: var(--maestro-primary) !important;
    }

    /* Current page */

    .dt-paging-button.current {
        background: var(--maestro-primary) !important;
        color: #fff !important;
        box-shadow: 0 2px 6px rgba(23,105,224,.15);
    }

    /* Disabled */

    .dt-paging-button.disabled {
        opacity: .35;
        cursor: default;
    }

    /* Hide first / last */

    .dt-paging-button.first,
    .dt-paging-button.last {
        display: none !important;
    }
