.hms-content-header {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 30px;
}

.heading-design {
    margin: 0;
    font-size: 28px;
    color: #111827;
    font-weight: 700;
    letter-spacing: -0.4px;
}

.desc-design{
    margin: 5px 0 0 0; color: #64748b; font-size: 14px;
}


.button-secondary{
    background: var(--hms-white);
    color: var(--hms-red);
    border: 1px solid var(--hms-red) !important;
    padding: 10px 22px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.button-secondary:hover, .button-secondary:Focus{
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background: #fff5f5 !important;
    color: #c0392b !important;
    border-color: #e74c3c !important;
}


.button-refresh{
    background: var(--hms-white);
    color: var(--hms-black);
    border: 1px solid var(--hms-black) !important;
    padding: 10px 22px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.button-refresh:hover,.button-refresh:Focus {
    background: #6b6b6b1c !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    color: var(--hms-black);
}




/* Container Layout */
#hms-ledger-stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

/* Base Card Styling */
.hms-stat-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.hms-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
}

/* Upper Body: Icon and Text */
.stat-body {
    display: flex;
    align-items: center;
    gap: 16px;
    /*margin-bottom: 20px;*/
}

/* Circular Icon Wrapper */
.stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
}

/* Text Content */
.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
   font-size: 13px; font-weight: 600; color: #64748b; margin-bottom: 2px;
}

.stat-value {
   font-size: 26px; font-weight: 800; color: #0f172a; line-height: 1; margin:0px;
}

/* Footer Section */
.stat-footer {
   margin-top: 8px; font-size: 12px; color: #94a3b8; font-weight: 500;
}

/* Color Themes */
/* GREEN - Arriving */
.card-green { border-color: #e2fbe8; }
.card-green .stat-icon { background: #f0fdf4; color: #22c55e; }

/* BLUE - In-House */
.card-blue { border-color: #e0f2fe; }
.card-blue .stat-icon { background: #f0f9ff; color: #0ea5e9; }

/* RED - Overdue */
.card-red { border-color: #fee2e2; }
.card-red .stat-icon { background: #fef2f2; color: #ef4444; }

/* ORANGE - Due Out */
.card-orange { border-color: #ffedd5; }
.card-orange .stat-icon { background: #fff7ed; color: #f97316; }


.hms-status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
}
.bg-processing { background: #2ecc71; } /* Confirmed */
.bg-on-hold { background: #f1c40f; }    /* Pending */
.bg-completed { background: #3498db; }  /* Checked out */
.bg-cancelled { background: #e74c3c; }  /* Cancelled */

#hms-bookings-list-wrapper table {
    border: none;
    box-shadow: none;
    background: #fff;
}

.hms-pagination-container {
    min-height: 50px; /* Prevents layout jumping when buttons hide */
    transition: all 0.3s ease;
}

#hms-prev-page, #hms-next-page {
    transition: opacity 0.2s ease;
}


.hms-filter-pill {
    padding: 8px 18px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}
.hms-filter-pill:hover { background: #f9f9f9; }
/*.hms-filter-pill.active {*/
/*    background: #1a1a1a !important;*/
/*    color: #fff !important;*/
/*    border-color: #1a1a1a !important;*/
/*}*/

.bg-checked-out { background: #9b59b6 !important; } /* Professional Purple */



.hms-filter-toolbar{
    background: #fff; padding: 10px; border-radius: 12px; border: 1px solid #f0f0f0; margin-bottom: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    
}

/* Container for the search bar */
/* Toolbar Container */
.hms-filter-toolbar {
    background: #ffffff;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    margin-bottom: 25px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
}

.hms-toolbar-inner {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    gap: 16px;
}

/* 1. Quick Filter Pills - More refined */
#hms-quick-filters {
    display: flex;42%
    gap: 15px;
    background: #f8fafc;
    padding: 4px;
    border-radius: 10px;
    border: 1px solid #dadada;;
}

.hms-filter-pill {
    padding: 6px 14px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    color: #64748b;
    transition: all 0.2s;
}

.hms-filter-pill:hover { color: #1e293b; }

.hms-filter-pill.active {
        background: var(--hms-primary);
    color: var(--hms-white);#dadada;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
    border: none !important;
}

/* 2. Premium Search Bar - Match your request */
.hms-search-bar-wrapper {
    width: 42%;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    height: 40px; /* Refined height */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
    position: relative;
    transition: all 0.2s;
}






/* Card Table Container */
.hms-card-table {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

/* Premium Pagination Footer */
.hms-pagination-footer {
    padding: 15px 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hms-page-btn {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.2s;
}


/* Fix for Status Pill Backgrounds */
.hms-status-pill.bg-green { background: #ecfdf5 !important; color: #10b981 !important; }
.hms-status-pill.bg-green .dot { background: #10b981; }

.hms-status-pill.bg-blue { background: #eff6ff !important; color: #3b82f6 !important; }
.hms-status-pill.bg-blue .dot { background: #3b82f6; }

.hms-status-pill.bg-red { background: #fef2f2 !important; color: #ef4444 !important; }
.hms-status-pill.bg-red .dot { background: #ef4444; }

.hms-status-pill.bg-slate { background: #f8fafc !important; color: #64748b !important; }
.hms-status-pill.bg-slate .dot { background: #94a3b8; }

/* Premium Text Button Styles */
.hms-btn-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: 0.2s;
    white-space: nowrap;
}

.btn-checkin { background: #eff6ff; color: #3b82f6; border: 1px solid;}
.btn-checkin:hover {     background: #dbeafe; border: 1px solid var(--hms-black); transform: translateY(-1px);  color: var(--hms-black);}

.btn-view, .btn-extend { background: #fff7ed; color: #f59e0b; border: 1px solid; }
.btn-view:hover { background: #ffedd5; border: 1px solid var(--hms-black); transform: translateY(-1px);  color: var(--hms-black);}

.btn-cancel { background: #fef2f2; color: #ef4444; border: 1px solid; }
.btn-cancel:hover { background: #fee2e2; border: 1px solid var(--hms-black); transform: translateY(-1px);  color: var(--hms-black);}
.hms-page-btn:hover { border-color: #cbd5e1; background: #fcfdfe; color: var(--hms-black); }

/* Table Text & Meta */
.hms-guest-info .guest-name { font-weight: 700; color: #0f172a; font-size: 14px; }
.hms-guest-info .guest-meta { font-size: 11px; color: #94a3b8; text-transform: uppercase; }
.hms-icon-text { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #475569; }
.meta-text { color: #64748b; font-weight: 500; }


.hms-table td{
    padding: 0px;
}


.hms-table{
        border-collapse: separate !important;
    border-spacing: 0 10px !important;
    text-align: left;
    background-color: #f8fafc9e!important;
    padding: 0px 10px!important;
    border: 1px solid #e0e0e0b0!important;
    border-radius: 10px!important;
}


.hms-search-bar-wrapper:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.hms-search-bar-wrapper .search-icon {
    width: 18px;
    height: 18px;
    color: #94a3b8;
    margin-right: 10px;
}

#hms-booking-search-input {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    height: 100% !important;
    width: 100%;
    font-size: 14px;
    color: #1e293b;
    outline: none !important;
    box-shadow: none !important;
}

#hms-clear-search {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #cbd5e1;
}

#hms-clear-search svg { width: 16px; height: 16px; }
#hms-clear-search:hover { color: #ef4444; }

/* 3. Status Dropdown - Slim & Clean */
.hms-status-select {
    height: 40px;
    min-width: 160px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    background: #ffffff;
    cursor: pointer;
    outline: none;
}

.hms-status-select:hover { border-color: #cbd5e1; }

#hms-clear-all-filters:hover {
    background: #fff5f5 !important;
    color: #c0392b !important;
    border-color: #e74c3c !important;
}



/* Ensure the modal overlay can be seen */
.hms-modal-overlay.active {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
}

.flatpickr-calendar {
    z-index: 9999999999 !important; /* Extremely high to beat the modal overlay */
}
#hms-extend-date-picker {
    background: #fff !important;
    cursor: pointer !important;
}



@keyframes hms-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7); }
    70% { transform: scale(0.95); box-shadow: 0 0 0 10px rgba(231, 76, 60, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}












/*Modal css*/

/* ==========================================================================
   HMS BOOKING TAB - PREMIUM MODAL ENGINE (LIQUID PRO)
   ========================================================================== */
/* ==========================================================================
   HMS PREMIUM MODAL ENGINE (LIQUID PRO - UPDATED)
   ========================================================================== */

/* 1. Backdrop Overlay (Glassmorphism) */
.hms-modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(8px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(8px) saturate(150%) !important;
    z-index: 99999999 !important;
    display: none; /* Controlled via .active in JS */
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
}

.hms-modal-overlay.active {
    display: flex !important;
    opacity: 1 !important;
}

/* 2. Modal Content Container */
.hms-modal-content {
    background: #ffffff !important;
    border-radius: 24px !important;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.45) !important;
    width: 90% !important;
    max-height: 90vh !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    border: none !important;
    transform: scale(0.95) translateY(10px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hms-modal-overlay.active .hms-modal-content {
    transform: scale(1) translateY(0);
}

/* 3. Header Styling (modal-top) */
.modal-top {
    padding: 20px 30px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    background: var(--hms-primary)!important; /* Fallback */
}

/* Color Overrides for specific modals */
/*#hms-checkin-modal .modal-top, */
/*#hms-confirm-paid-modal .modal-top { background: #2ecc71 !important; }*/
#hms-extend-modal .modal-top, 
#hms-email-pay-modal .modal-top { background: #3498db !important; }
#hms-qr-payment-modal .modal-top { background: #111827 !important; }
#hms-cancel-modal .modal-top { background: #dc2626 !important; }

.modal-top h2 {
    color: #ffffff !important;
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

/* 4. Scrollable Middle Area */
.hms-modal-body-scroll {
    flex: 1 !important;
    overflow-y: auto !important;
    padding: 30px !important;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.hms-modal-body-scroll::-webkit-scrollbar {
    width: 6px;
}

.hms-modal-body-scroll::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 20px;
}

/* 5. Premium Footer */
.hms-modal-footer {
    flex-shrink: 0;
    padding: 20px 30px !important;
    background: #f8fafc !important; /* Force Grey Background */
    border-top: 1px solid #e2e8f0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px;
    margin: 0 !important;
}

/* 6. Form Components */
.hms-form-label {
    display: block;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: #64748b;
    letter-spacing: 0.5px;
}

.hms-form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #f8fafc;
    outline: none !important;
}

.hms-form-input:focus {
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* 7. Action Buttons */
.hms-btn-discard {
    background: #fff !important;
    color: #64748b !important;
    border: 1px solid #e2e8f0 !important;
    padding: 10px 18px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: 0.2s;
        display: flex !important;
    justify-content: center;
    align-items: center;

}

.hms-btn-discard:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}

.hms-btn-save {
    background: var(--hms-primary)!important;
    color: #fff !important;
    border: none !important;
    padding: 10px 22px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px;
    transition: 0.2s;
}

.hms-btn-save:hover {
    background: #000 !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Override for Check-In Primary */
.hms-btn-save.check-in {
    background: var(--hms-primary) !important;
}

/* 8. Selectable Tags (Check-In) */
.hms-selectable-tag {
    flex: 1;
    min-width: 60px;
    height: 45px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    color: #475569;
    transition: all 0.2s ease;
}

.hms-selectable-tag.selected {
    background: var(--hms-primary)!important;
    color: var(--hms-white);
    border-color: var(--hms-black)!important;
    box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3);
}

/* 9. Close Button (X) */
.hms-modal-close-x {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    display: flex !important;
    /*align-items: center !important;*/
    justify-content: center !important;
    font-size: 30px !important;
    transition: 0.5s !important;
    line-height: 9px;
}

.hms-modal-close-x:hover {
    background: rgba(255, 255, 255, 0.4) !important;
    transform: scale(1.05);
}

/* ==========================================================================
   HEROICON GLOBAL COLOR & SIZE FIX
   ========================================================================== */

.modal-top svg, 
.hms-btn-save svg, 
.button-refresh svg,
.hms-status-icon svg {
    width: 20px !important;
    height: 20px !important;
    /*color: #ffffff !important; */
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Status icon in footer (Info) */
.hms-footer-status .hms-status-icon svg {
    color: inherit !important; 
    width: 18px !important;
}

/* Alignment for close X if using SVG */
.hms-modal-close-x svg {
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
}














/* ==========================================================================
   CUSTOM LOADER / SPINNER
   ========================================================================== */
.hms-loader-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 12px;
}

.hms-loader-box p {
    margin-top: 15px;
    color: #64748b;
    font-weight: 600;
    font-size: 15px;
}

.hms-custom-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #f1f5f9;
    border-top: 4px solid #3498db; /* Uses your primary blue */
    border-radius: 50%;
    animation: hms-spin 1s linear infinite;
}

@keyframes hms-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

























/* ==========================================================================
   MODAL INNER CONTENT & SKELETON LOADER (COMPACT & PREMIUM)
   ========================================================================== */

/* Skeleton Animation */
@keyframes hms-skeleton-pulse {
    0% { background-color: var(--hms-off-white); }
    50% { background-color: #e2e8f0; }
    100% { background-color: var(--hms-off-white); }
}

.hms-skeleton {
    animation: hms-skeleton-pulse 1.5s infinite ease-in-out;
    border-radius: 6px;
    display: block;
}

.hms-skeleton-text { height: 12px; margin-bottom: 8px; width: 100%; border-radius: 4px; }
.hms-skeleton-title { height: 20px; margin-bottom: 12px; width: 50%; border-radius: 4px; }
.hms-skeleton-box { height: 60px; width: 100%; border-radius: 10px; margin-top: 12px; }

/* Modal Content Grid & Cards (Tighter Spacing) */
.hms-modal-grid-2 { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 12px; /* Reduced from 20px */
    margin-bottom: 16px;
}

.hms-guest-profile-box { 
    background: var(--hms-off-white); 
    padding: 16px; /* Reduced from 20px */
    border-radius: 12px; 
    border: 1px solid rgba(0,0,0,0.04); 
    border-left: 3px solid var(--hms-primary); /* Premium brand accent line */
    box-shadow: inset 0 0 20px var(--hms-primary-glow); /* Subtle brand glow */
}

.hms-meta-box { 
    background: var(--hms-white); 
    padding: 16px; 
    border-radius: 12px; 
    border: 1px solid rgba(0,0,0,0.06); 
    text-align: right; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: flex-end;
}

.hms-detail-label { 
    font-size: 10px; /* Sharper */
    text-transform: uppercase; 
    color: #64748b; 
    font-weight: 800; 
    margin-bottom: 4px; 
    display: block; 
    letter-spacing: 0.5px;
}

.hms-detail-value { 
    font-size: 13px; 
    color: var(--hms-black); 
    font-weight: 600; 
    margin: 0;
}

/* Modal Action Buttons (Sleeker) */
.hms-action-buttons { 
    display: flex; 
    gap: 8px; 
    margin-top: 12px; 
}

.hms-btn-icon { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 6px; 
    padding: 6px 12px; /* Reduced padding */
    border-radius: 6px; 
    font-size: 12px; 
    font-weight: 600; 
    text-decoration: none; 
    transition: all 0.2s ease; 
    border: 1px solid rgba(0,0,0,0.1); 
    color: var(--hms-black); 
    background: var(--hms-white);
    cursor: pointer;
}

.hms-btn-icon:hover { 
    background: var(--hms-primary); 
    border-color: var(--hms-primary); 
    color: var(--hms-white); 
    box-shadow: var(--card-shadow);
}

/* Room Items */
.hms-room-card { 
    background: var(--hms-white); 
    padding: 12px 16px; 
    border-radius: 10px; 
    margin-bottom: 8px; 
    border: 1px solid rgba(0,0,0,0.06); 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    transition: 0.2s;
}
.hms-room-card:hover {
    border-color: var(--hms-primary);
}

/* Premium Total Bar using your Gradient */
.hms-total-row { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    background: var(--hms-glass-gradient); /* Uses your custom gradient */
    background-color: var(--hms-black); /* Fallback */
    color: var(--hms-white); 
    padding: 16px 20px; 
    border-radius: 12px; 
    margin-top: 16px; 
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255,255,255,0.1);
}










.hms-tab-count {
    min-width: 20px;
    height: 20px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    color: inherit;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
}

.hms-filter-pill.active .hms-tab-count {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.hms-pagination-footer {
    padding: 16px 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hms-page-number-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hms-page-number {
    min-width: 36px;
    height: 36px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
}

.hms-page-number:hover,
.hms-page-number.active {
    background: var(--hms-primary);
    color: #fff;
    border-color: var(--hms-primary);
}

.hms-page-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.hms-page-dots {
    padding: 0 6px;
    color: #94a3b8;
    font-weight: 800;
}


.card-purple {
    border-color: #ede9fe;
}

.card-purple .stat-icon {
    background: #f5f3ff;
    color: #8b5cf6;
}