/**
 * ZAIN POS - Mobile-First Native App Responsive CSS System
 * Designed for Android & iOS Touch Ergonomics
 */

/* ==========================================================================
   1. GLOBAL TOKENS & SAFE AREA INSETS (iOS & Android)
   ========================================================================== */
:root {
    --mobile-dock-height: 64px;
    --mobile-safe-bottom: env(safe-area-inset-bottom, 0px);
    --mobile-safe-top: env(safe-area-inset-top, 0px);
    --mobile-primary: #008cff;
    --mobile-success: #15ca20;
    --mobile-danger: #fd3550;
    --mobile-warning: #ff9700;
}

/* ==========================================================================
   2. MOBILE TOP SHORTCUT RIBBON (Non-POS Pages)
   ========================================================================== */
.mobile-top-ribbon-dock {
    display: none;
}

@media (max-width: 767.98px) {
    .mobile-top-ribbon-dock {
        display: block;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        z-index: 1000;
        background: #ffffff;
        border-bottom: 1px solid rgba(0, 0, 0, 0.07);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    }

    .dark-theme .mobile-top-ribbon-dock {
        background: #1e293b;
        border-bottom-color: rgba(255, 255, 255, 0.08);
    }

    .page-wrapper {
        margin-top: 108px !important;
    }
}

.mobile-quick-ribbon-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 0px;
}

.mobile-quick-ribbon {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding: 6px 12px;
    scrollbar-width: none; /* Firefox */
}

.mobile-quick-ribbon::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.mobile-ribbon-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.mobile-ribbon-chip:active {
    transform: scale(0.95);
}

.mobile-ribbon-chip i {
    font-size: 16px;
}

/* Vibrant Chip Variations */
.mobile-ribbon-chip.chip-pos {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.35);
}

.mobile-ribbon-chip.chip-purchase {
    background: #eff6ff;
    color: #1d4ed8 !important;
    border-color: #bfdbfe;
}

.mobile-ribbon-chip.chip-invoices {
    background: #fef2f2;
    color: #b91c1c !important;
    border-color: #fecaca;
}

.mobile-ribbon-chip.chip-item {
    background: #f0fdf4;
    color: #15803d !important;
    border-color: #bbf7d0;
}

.mobile-ribbon-chip.chip-buyback {
    background: #fffbeb;
    color: #b45309 !important;
    border-color: #fde68a;
}

.mobile-ribbon-chip.chip-stock {
    background: #f8fafc;
    color: #334155 !important;
    border-color: #e2e8f0;
}

/* ==========================================================================
   3. MOBILE BOTTOM TAB DOCK (The App Tab Bar)
   ========================================================================== */
.mobile-bottom-dock {
    display: none; /* Desktop hidden */
}

@media (max-width: 767.98px) {
    body:not(.pos-layout-body) {
        padding-bottom: calc(var(--mobile-dock-height) + var(--mobile-safe-bottom) + 12px) !important;
    }

    body.pos-layout-body {
        padding-bottom: 0 !important;
    }

    body.pos-layout-body .mobile-bottom-dock,
    body.pos-layout-body .mobile-more-hub-sheet,
    body.pos-layout-body .mobile-more-hub-backdrop {
        display: none !important;
    }

    .mobile-bottom-dock {
        display: flex;
        position: fixed !important;
        bottom: 0 !important;
        left: 0;
        right: 0;
        height: calc(var(--mobile-dock-height) + var(--mobile-safe-bottom));
        padding-bottom: var(--mobile-safe-bottom);
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
        z-index: 1045 !important;
        transform: translateZ(0) !important;
        will-change: transform;
        justify-content: space-around;
        align-items: center;
    }

    .dark-theme .mobile-bottom-dock {
        background: rgba(26, 34, 44, 0.94);
        border-top-color: rgba(255, 255, 255, 0.08);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
    }

    .mobile-dock-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1;
        height: 100%;
        color: #64748b;
        text-decoration: none !important;
        font-size: 11px;
        font-weight: 500;
        transition: all 0.2s ease;
        padding-top: 4px;
        position: relative;
    }

    .mobile-dock-item i {
        font-size: 22px;
        margin-bottom: 2px;
        transition: transform 0.2s ease;
    }

    .mobile-dock-item:active i {
        transform: scale(0.88);
    }

    .mobile-dock-item.active {
        color: var(--mobile-primary);
        font-weight: 700;
    }

    .mobile-dock-item.active::after {
        content: '';
        position: absolute;
        bottom: calc(var(--mobile-safe-bottom) + 2px);
        width: 18px;
        height: 3px;
        background: var(--mobile-primary);
        border-radius: 6px;
    }

    /* Center Floating Elevated POS Button */
    .mobile-dock-pos-fab {
        position: relative;
        top: -14px;
        width: 54px;
        height: 54px;
        border-radius: 50%;
        background: linear-gradient(135deg, #10b981 0%, #047857 100%);
        color: #ffffff !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-shadow: 0 6px 16px rgba(16, 185, 129, 0.45);
        border: 3px solid #ffffff;
        transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        text-decoration: none !important;
    }

    .dark-theme .mobile-dock-pos-fab {
        border-color: #1a222c;
    }

    .mobile-dock-pos-fab i {
        font-size: 26px;
        margin: 0;
    }

    .mobile-dock-pos-fab:active {
        transform: scale(0.92);
        box-shadow: 0 2px 8px rgba(16, 185, 129, 0.6);
    }
}

/* ==========================================================================
   4. "MORE" APP HUB SUPER-SHEET (Native Modal Sheet)
   ========================================================================== */
.mobile-more-hub-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1058;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-more-hub-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.mobile-more-hub-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 88vh;
    background: #ffffff;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    z-index: 1060;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    display: flex;
    flex-direction: column;
    padding-bottom: calc(var(--mobile-safe-bottom) + 16px);
}

.dark-theme .mobile-more-hub-sheet {
    background: #1e293b;
    color: #f1f5f9;
}

.mobile-more-hub-sheet.show {
    transform: translateY(0);
}

.mobile-hub-drag-handle {
    width: 44px;
    height: 5px;
    background: #cbd5e1;
    border-radius: 10px;
    margin: 10px auto 6px;
    cursor: pointer;
}

.dark-theme .mobile-hub-drag-handle {
    background: #475569;
}

.mobile-hub-header {
    padding: 10px 18px 12px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dark-theme .mobile-hub-header {
    border-bottom-color: #334155;
}

.mobile-hub-content {
    overflow-y: auto;
    padding: 14px 16px;
    -webkit-overflow-scrolling: touch;
}

/* User Card in Hub */
.mobile-hub-user-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    border: 1px solid #e2e8f0;
}

.dark-theme .mobile-hub-user-card {
    background: #0f172a;
    border-color: #334155;
}

.mobile-close-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 18px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.dark-theme .mobile-close-circle {
    background: #334155;
    color: #cbd5e1;
}

.mobile-pill-btn {
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none !important;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.15s ease;
}

.mobile-pill-btn:active {
    transform: scale(0.95);
}

/* Spotlight Search */
.mobile-spotlight-bar {
    border-radius: 24px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    height: 42px;
    font-size: 12.5px !important;
}

.dark-theme .mobile-spotlight-bar {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f1f5f9 !important;
}

/* AirDrop Squircles Launcher */
.mobile-hub-squircles-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 6px 2px 8px;
    margin-bottom: 10px;
}

.mobile-hub-squircles-grid {
    display: flex;
    gap: 12px;
    min-width: max-content;
}

.mobile-hub-squircle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 62px;
    cursor: pointer;
    text-decoration: none !important;
    background: transparent;
    border: none;
    padding: 0;
    transition: transform 0.15s ease;
    flex-shrink: 0;
}

.mobile-hub-squircle-item:active {
    transform: scale(0.92);
}

.mobile-hub-squircle {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.mobile-hub-squircle-item.active .mobile-hub-squircle {
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 5.5px var(--squircle-color);
    transform: translateY(-2px);
}

.dark-theme .mobile-hub-squircle-item.active .mobile-hub-squircle {
    box-shadow: 0 0 0 3px #1e293b, 0 0 0 5.5px var(--squircle-color);
}

.mobile-hub-squircle-label {
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    margin-top: 5px;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 64px;
    overflow: hidden;
}

.mobile-hub-squircle-item.active .mobile-hub-squircle-label {
    color: var(--squircle-color);
    font-weight: 700;
}

.dark-theme .mobile-hub-squircle-label {
    color: #94a3b8;
}

/* Squircles Color Themes */
.squircle-sales { --squircle-color: #2563eb; background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); }
.squircle-purchases { --squircle-color: #d97706; background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%); }
.squircle-inventory { --squircle-color: #059669; background: linear-gradient(135deg, #10b981 0%, #047857 100%); }
.squircle-finance { --squircle-color: #0891b2; background: linear-gradient(135deg, #06b6d4 0%, #0e7490 100%); }
.squircle-expenses { --squircle-color: #e11d48; background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%); }
.squircle-reports { --squircle-color: #7c3aed; background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%); }
.squircle-partners { --squircle-color: #4f46e5; background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%); }
.squircle-repairs { --squircle-color: #ea580c; background: linear-gradient(135deg, #f97316 0%, #c2410c 100%); }
.squircle-settings { --squircle-color: #475569; background: linear-gradient(135deg, #64748b 0%, #334155 100%); }
.squircle-utilities { --squircle-color: #0284c7; background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%); }

/* Sub-module Inset Grouped Action List */
.mobile-hub-sublist {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 12px;
}

.dark-theme .mobile-hub-sublist {
    background: #0f172a;
    border-color: #334155;
}

.mobile-hub-subitem {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: background 0.15s ease;
}

.dark-theme .mobile-hub-subitem {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.mobile-hub-subitem:last-child {
    border-bottom: none;
}

.mobile-hub-subitem:active {
    background: rgba(0, 0, 0, 0.04);
}

.dark-theme .mobile-hub-subitem:active {
    background: rgba(255, 255, 255, 0.05);
}

/* Active Submenu Highlighting */
.mobile-hub-subitem.active {
    background: rgba(37, 99, 235, 0.09) !important;
    border-left: 4.5px solid #2563eb !important;
}

.dark-theme .mobile-hub-subitem.active {
    background: rgba(59, 130, 246, 0.16) !important;
    border-left: 4.5px solid #60a5fa !important;
}

.mobile-subitem-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 12px;
    flex-shrink: 0;
}

.mobile-subitem-title {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1px;
}

.mobile-hub-subitem.active .mobile-subitem-title {
    color: #1d4ed8;
    font-weight: 700;
}

.dark-theme .mobile-subitem-title {
    color: #f1f5f9;
}

.dark-theme .mobile-hub-subitem.active .mobile-subitem-title {
    color: #93c5fd;
}

.mobile-subitem-desc {
    font-size: 11px;
    color: #64748b;
}

.mobile-current-badge {
    font-size: 10px;
    font-weight: 700;
    background: #dbeafe;
    color: #1d4ed8;
    padding: 3px 8px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.dark-theme .mobile-current-badge {
    background: rgba(59, 130, 246, 0.25);
    color: #bfdbfe;
}

/* Icon Variations */
.icon-blue { background: #e0f2fe; color: #0284c7; }
.icon-green { background: #dcfce7; color: #16a34a; }
.icon-orange { background: #ffedd5; color: #ea580c; }
.icon-purple { background: #f3e8ff; color: #9333ea; }
.icon-amber { background: #fef3c7; color: #d97706; }
.icon-rose { background: #ffe4e6; color: #e11d48; }
.icon-slate { background: #f1f5f9; color: #475569; }

/* ==========================================================================
   5. COMPACT MOBILE DASHBOARD STYLES
   ========================================================================== */
@media (max-width: 767.98px) {
    .mobile-metric-compact {
        padding: 10px 12px !important;
        min-height: 72px;
    }

    .mobile-metric-compact .widgets-icons-2 {
        width: 32px !important;
        height: 32px !important;
        font-size: 16px !important;
    }

    .mobile-metric-compact h5,
    .mobile-metric-compact h4 {
        font-size: 1.15rem !important;
        margin-top: 2px !important;
        margin-bottom: 0 !important;
        font-weight: 700;
    }

    .mobile-metric-compact p {
        font-size: 11px !important;
        font-weight: 500;
    }

    /* Swipeable Analytics container */
    .mobile-swipeable-chart {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }
}

/* ==========================================================================
   6. POCKET POS MOBILE SCREEN STYLES
   ========================================================================== */
@media (max-width: 767.98px) {
    /* Segmented Control */
    .pos-mobile-segmented {
        display: flex;
        background: #e2e8f0;
        border-radius: 12px;
        padding: 3px;
        margin-bottom: 12px;
    }

    .dark-theme .pos-mobile-segmented {
        background: #334155;
    }

    .pos-segment-btn {
        flex: 1;
        padding: 7px 10px;
        text-align: center;
        font-size: 12.5px;
        font-weight: 600;
        color: #64748b;
        border: none;
        background: transparent;
        border-radius: 10px;
        transition: all 0.2s ease;
    }

    .pos-segment-btn.active {
        background: #ffffff;
        color: #0f172a;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    }

    .dark-theme .pos-segment-btn.active {
        background: #0f172a;
        color: #ffffff;
    }

    /* Mobile Cart Item Card */
    .pos-mobile-cart-item {
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        padding: 10px 12px;
        margin-bottom: 8px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    }

    .dark-theme .pos-mobile-cart-item {
        background: #1e293b;
        border-color: #334155;
    }

    /* Touch Stepper */
    .pos-mobile-stepper {
        display: inline-flex;
        align-items: center;
        background: #f1f5f9;
        border-radius: 8px;
        border: 1px solid #e2e8f0;
    }

    .dark-theme .pos-mobile-stepper {
        background: #0f172a;
        border-color: #334155;
    }

    .pos-stepper-btn {
        width: 32px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        font-size: 16px;
        font-weight: 700;
        color: #0f172a;
    }

    .dark-theme .pos-stepper-btn {
        color: #ffffff;
    }

    .pos-stepper-val {
        width: 32px;
        text-align: center;
        font-weight: 700;
        font-size: 13px;
    }

    /* Sticky Bottom Checkout Bar */
    .pos-mobile-checkout-bar {
        position: fixed;
        bottom: calc(var(--mobile-dock-height) + var(--mobile-safe-bottom));
        left: 0;
        right: 0;
        background: #ffffff;
        border-top: 1px solid #e2e8f0;
        padding: 8px 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
        z-index: 1030;
    }

    .dark-theme .pos-mobile-checkout-bar {
        background: #1e293b;
        border-top-color: #334155;
    }
}

/* ==========================================================================
   7. TOUCH ERGONOMICS & UNIVERSAL COMPACTNESS
   ========================================================================== */
@media (max-width: 767.98px) {
    /* Screen Containers */
    .container, .container-fluid {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* Page Header & Breadcrumbs */
    .page-breadcrumb {
        margin-bottom: 8px !important;
        padding: 4px 0 !important;
    }

    .page-breadcrumb .breadcrumb {
        display: none !important;
    }

    .page-breadcrumb .page-title {
        font-size: 1.15rem !important;
        padding-right: 0 !important;
        border-right: none !important;
    }

    /* Cards */
    .card {
        margin-bottom: 10px !important;
        border-radius: 12px !important;
    }

    .card-body {
        padding: 10px 12px !important;
    }

    /* Compact Buttons Across Software */
    .btn:not(.btn-lg):not(.pos-stepper-btn):not(.mobile-dock-pos-fab) {
        padding: 5px 10px !important;
        font-size: 12px !important;
        min-height: 34px !important;
    }

    .btn-group {
        flex-wrap: wrap;
        gap: 4px;
    }

    /* Form Inputs Density */
    .form-control, .form-select {
        height: 38px !important;
        min-height: 38px !important;
        font-size: 13px !important;
    }

    .form-label {
        font-size: 12px !important;
        margin-bottom: 3px !important;
        font-weight: 600;
    }

    .mb-3 {
        margin-bottom: 8px !important;
    }

    .mb-4 {
        margin-bottom: 12px !important;
    }

    /* Table Compact Density */
    .table-responsive {
        -webkit-overflow-scrolling: touch;
    }

    .table > :not(caption) > * > * {
        padding: 6px 8px !important;
        font-size: 12px !important;
        vertical-align: middle;
    }

    .table thead th {
        font-size: 11px !important;
        text-transform: uppercase;
        letter-spacing: 0.4px;
    }

    /* DataTables Toolbar on Mobile */
    .dataTables_wrapper .dataTables_filter {
        margin-bottom: 6px !important;
    }

    .dataTables_wrapper .dataTables_filter input {
        width: 100% !important;
        margin-left: 0 !important;
        height: 36px !important;
    }

    /* Header text buttons hidden on mobile */
    .topbar .top-menu .navbar-nav > .d-flex {
        display: none !important;
    }

    .topbar .navbar {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    /* POS page container bottom spacing on mobile so inputs aren't blocked by action bar */
    .page-wrapper-1 {
        padding-bottom: 75px !important;
    }

    .pos-bottom-actions {
        padding-bottom: max(10px, env(safe-area-inset-bottom)) !important;
        z-index: 1045 !important;
    }

    /* Modal Mobile App Feel */
    .modal-dialog {
        margin: 0.5rem auto;
    }

    .modal-content {
        border-radius: 16px;
    }

    /* Strict Mobile Z-Index & Overlay Stacking Hierarchy */
    .topbar {
        z-index: 1010 !important;
    }

    .user-box .dropdown-menu {
        z-index: 1030 !important;
    }

    .wrapper.toggled .overlay {
        z-index: 1050 !important;
    }

    .wrapper.toggled .sidebar-wrapper {
        z-index: 1055 !important;
    }

    /* Suppress desktop footer and back-to-top button on mobile */
    .page-footer, .back-to-top {
        display: none !important;
    }

    /* Universal Compact Buttons for All Screens (Overrides .px-5, .px-4, .btn-primary) - 100% Center Aligned */
    .btn.px-5, .btn.px-4, .btn.px-3, .card-header .btn, .page-breadcrumb .btn, .btn:not(.btn-lg):not(.pos-stepper-btn):not(.mobile-dock-pos-fab) {
        height: 32px !important;
        min-height: 32px !important;
        padding: 0 12px !important;
        font-size: 11.5px !important;
        font-weight: 600 !important;
        border-radius: 8px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        vertical-align: middle !important;
    }

    .btn.px-5 i, .btn.px-4 i, .btn.px-3 i, .card-header .btn i, .page-breadcrumb .btn i {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-right: 4px !important;
        font-size: 14px !important;
        line-height: 1 !important;
    }

    .card-header {
        padding: 8px 10px !important;
    }

    .card-header h5, .card-header h6 {
        font-size: 13px !important;
        font-weight: 700 !important;
        margin-bottom: 0 !important;
    }
}

/* POS Multiple / Split Payment Table Styles */
.pos-payment-split-table .pos-payment-type-select {
    min-height: 34px !important;
    height: 34px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
}

.pos-payment-split-table input[name^="payment_amount"] {
    height: 34px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.pos-payment-split-table .remove-pos-payment {
    height: 34px !important;
    padding: 0 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#addPosPaymentBtn {
    font-weight: 700 !important;
    letter-spacing: 0.2px;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 6px rgba(13, 110, 253, 0.1) !important;
}

#addPosPaymentBtn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.2) !important;
}

#addPosPaymentBtn:active {
    transform: scale(0.98);
}


/* POS Center FAB Active Ring */
.mobile-dock-pos-fab.active-pos {
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.45), 0 8px 20px rgba(16, 185, 129, 0.6) !important;
    transform: translateY(-3px);
}



