﻿@import url(templates/_template-1.css);

@import url(banner/_banner.css);
@import url(news/_lasted-news.css);
@import url(paging/_paging.css);

/* Tổng thể */
.pagination {
    gap: 6px;
}

/* Page item */
.page-item .page-link {
    padding: 8px 14px;
    border-radius: 8px !important;
    border: 1px solid #d5d5d5;
    color: #333;
    background-color: #fff;
    transition: all 0.25s;
}

    /* Hover */
    .page-item .page-link:hover {
        background-color: #f1f1f1;
        border-color: #c8c8c8;
        color: #000;
    }

/* Active */
.page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
    font-weight: 500;
    box-shadow: 0 3px 6px rgba(0, 123, 255, 0.3);
}

/* Disabled */
.page-item.disabled .page-link {
    color: #999;
    background-color: #f8f8f8;
    border-color: #e0e0e0;
}

/* Bo góc nhẹ hơn cho giao diện hiện đại */
.page-link {
    border-radius: 8px !important;
}

.pagination .page-link {
    padding: 8px 18px;
    border-radius: 50px !important;
    border: 1px solid #ddd;
    background: #fff;
    transition: 0.25s;
}

    .pagination .page-link:hover {
        background: #eaeaea;
    }

.pagination .active .page-link {
    background: #0d6efd;
    border-color: #0d6efd;
    color: white;
}
.pagination .page-link {
    display: flex !important;
    justify-content: center;
    align-items: center;
    height: 40px; /* chỉnh tùy bạn */
    min-width: 40px; /* để nút hình tròn hoặc vuông đều nhau */
    padding: 0 !important;
    border-radius: 50px !important; /* nếu bạn muốn dạng pill/circle */
}
.mx-1 {
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-img, .img-fluid {
    width: 100%;
    border-top-left-radius: calc(.25rem - 1px);
    border-top-right-radius: calc(.25rem - 1px);
}