/*----- Mở Breadcrumb -----*/
.amt-breadcrumb {
    /* ví dụ: margin, font-size, etc. */
}

.amt-breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.amt-breadcrumb li {
    display: flex;
    align-items: center;
}

.amt-breadcrumb a {
    text-decoration: none;
}

.amt-breadcrumb-separator {
    margin: 0 0.4em;
}
/*----- Đóng Breadcrumb -----*/
/*----- Mở Pagination -----*/
.amt-pagination {
    display: flex;
    gap: 4px;
    margin-top: 20px;
}

.amt-align-left   { justify-content: flex-start; }
.amt-align-center { justify-content: center; }
.amt-align-right  { justify-content: flex-end; }

.amt-page {
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.amt-page:hover {
    background: #f5f5f5;
    border: 1px solid #f5f5f5;
}

.amt-size-sm {
    padding: 4px 8px;
    font-size: 12px;
}

.amt-size-md {
    padding: 6px 12px;
    font-size: 14px;
}

.amt-page.active {
    background: #0d6efd;
    border-color: #0b5ed7;
    color: #fff;
}

.amt-page.dots {
    border: none;
    cursor: default;
}

.amt-page.disabled {
    opacity: .4;
    cursor: default;
}
/*----- Đóng Pagination -----*/


/* Nút filter mobile: ẩn trên desktop */
/*#btnfilteroffice,
.office-filter-mobile-trigger {
    display: none;
}*/
.office-filter-mobile-trigger {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}
#btnfilteroffice.amt-btn-filter-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 999px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
}
@media (max-width: 860px) {
    
}

/* Popup filter */
.amt-filter-popup {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: none;
}

.amt-filter-popup.show {
    display: block;
}

.amt-filter-popup-backdrop {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(2px);
}

.amt-filter-popup-panel {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 96vw;
    width: 96vw;
    max-height: 88vh;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.amt-filter-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid #eee;
}

.amt-filter-popup-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.amt-filter-popup-close {
    border: none;
    background: transparent;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.amt-filter-popup-body {
    padding: 10px 14px 14px;
    overflow-y: auto;
}

/* Tuỳ chỉnh thêm cho form bên trong nếu cần */
.amt-filter-popup .office-filter-form {
    /* ví dụ nếu _filter_form có class office-filter-form */
}

