/*
Template Name: Velzon - Admin & Dashboard Template
Author: Themesbrand
Website: https://themesbrand.com/
Contact: support@themesbrand.com
File: Custom Css File
*/

.card,
[class*="-card "],
[class$="-card"] {
    border-radius: var(--vz-card-inner-border-radius) var(--vz-card-inner-border-radius) 0 0 !important;
}

.app-pagination-wrap {
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.app-pagination-info .dataTables_info {
    color: #6b7280;
    font-weight: 500;
}

.app-pagination-nav {
    margin-left: auto;
    max-width: 100%;
    overflow-x: auto;
}

.app-pagination-control nav {
    min-width: max-content;
}

.app-pagination-control .pagination {
    margin-bottom: 0;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 0.95rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 0.35rem 1rem rgba(15, 23, 42, 0.06);
}

.app-pagination-control .page-link {
    border: 0;
    border-right: 1px solid rgba(148, 163, 184, 0.22);
    background: transparent;
    color: #014576;
    min-height: 3rem;
    padding: 0.55rem 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.app-pagination-control .page-item:last-child .page-link {
    border-right: 0;
}

.app-pagination-control .page-item.active .page-link {
    background: #014576;
    color: #ffffff;
}

.app-pagination-control .page-item:not(.active):not(.disabled) .page-link:hover,
.app-pagination-control .page-item:not(.active):not(.disabled) .page-link:focus {
    background: rgba(1, 69, 118, 0.1);
    color: #01355a;
    box-shadow: none;
}

.app-pagination-control .page-item.disabled .page-link {
    color: #9ca3af;
    background: rgba(148, 163, 184, 0.12);
}

[data-layout-mode=dark] .app-pagination-wrap {
    border-top-color: var(--vz-border-color);
}

[data-layout-mode=dark] .app-pagination-info .dataTables_info {
    color: #a8b0bb;
}

[data-layout-mode=dark] .app-pagination-control .pagination {
    background: var(--vz-card-bg-custom);
    border-color: var(--vz-border-color);
    box-shadow: none;
}

[data-layout-mode=dark] .app-pagination-control .page-link {
    border-right-color: rgba(255, 255, 255, 0.08);
    color: #c7d2df;
}

[data-layout-mode=dark] .app-pagination-control .page-item.active .page-link {
    color: #ffffff;
}

[data-layout-mode=dark] .app-pagination-control .page-item.disabled .page-link {
    background: rgba(255, 255, 255, 0.06);
    color: #7a8596;
}

@media (max-width: 767.98px) {
    .app-pagination-wrap {
        justify-content: center !important;
    }

    .app-pagination-info {
        width: 100%;
        text-align: center;
    }

    .app-pagination-nav {
        margin-left: 0;
    }

    .app-pagination-control .page-link {
        min-height: 2.6rem;
        padding: 0.45rem 0.75rem;
        font-size: 0.95rem;
    }
}
