@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.select2-container .select2-selection--single {
    height: 2.05rem !important;
}
.spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.spinner-loading {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.2);
    border-top-color: #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
.div-table{
    background: white;
    border-radius: 1rem;
    padding: .5rem;
}
/* ======= Bảng chính ======= */
.order-table {
    width: 100%;
    background: white;
    /* border-radius: 10px; */
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
    overflow: hidden;
}

/* ======= Header bảng ======= */
.order-table thead {
    background: #f4f8fcfe;
}

.order-table th, .order-table td {
    padding: 12px;
    text-align: left;
}

.order-table th {
    color: #333;
}

  /* ======= Phần thân bảng ======= */
  /* .order-table tbody tr:last-child td {
    border-bottom: none;
  } */
.order-table tbody tr {
    border-bottom: 1px solid #eef3f6;
}

.pagination-ksoft {
    margin-top: 15px;
    background: #f4f8fcfe;
    display: flex;
    justify-content: space-between; /* Canh trái & phải */
    align-items: center;
    padding: 5px;
    border-radius: .5rem;
}
.pagination-controls {
    display: flex;
    align-items: center;
}
.pagination-ksoft .ant-pagination-item {
    font-family: SegoeUI;
    line-height: 30px;
    text-align: center;
    vertical-align: middle;
    min-width: 32px;
    height: 32px;
    padding: 0px 6px;
    margin: 0 4px;
    text-decoration: none;
    background-color: transparent;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 10px;
}

.pagination-ksoft .ant-pagination-item-active {
    background: #006666;
    color: white;
    border-color: #006666;
}

  
.pagination-ksoft .ant-pagination-item:not(.ant-pagination-item-active):hover {
    transition: all 0.2s;
    background-color: rgba(0, 0, 0, 0.06);
}
.first\:rounded-s-lg:first-child {
    border-start-start-radius: .5rem;
    border-end-start-radius: .5rem;
}
.last\:rounded-e-lg:last-child {
    border-start-end-radius: .5rem;
    border-end-end-radius: .5rem;
}
.ant-chevron-disabled {
    cursor: not-allowed !important;
    opacity: 0.5;
}
.table-header {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}
.table-header label{
    margin-bottom: 0 !important;
}
.per-page-select {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.mw-1000{
    min-width: 1000px !important;
}
.mw-1200{
    min-width: 1200px !important;
}
.table-responsive{
    overflow-x: auto !important;
}
.circle-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #e8ebf1;
    border: none;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    color: #4a4a4a;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    font-size: 16px;
}

.circle-btn:hover {
    cursor: pointer;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Tuỳ biến từng loại nút (giống ảnh bạn gửi) */
.btn-view:hover {
    background-color: #2e89ff;
    color: white;
}
.btn-edit:hover {
    background-color: #e65000;
    color: white;
}

.btn-send:hover {
    background-color: #17a2b8;
    color: white;
}
.btn-refresh:hover {
    background-color: #6c757d;
    color: white;
}
.btn-trash:hover {
    background-color: #e5103f;
    color: white;
}
.btn-print:hover {
    background-color: #28a745;
    color: white;
}
.gap-2 {
    gap: 0.5rem !important;
}