* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}

:root {
    --primary: #4a90d9;
    --success: #27ae60;
    --danger: #e74c3c;
    --warning: #f39c12;
    --dark: #2c3e50;
    --bg: #f0f2f5;
    --card: #ffffff;
    --text: #333333;
    --text-light: #888888;
    --radius: 12px;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
}

[data-theme="dark"] {
    --primary: #5fa3e0;
    --success: #2ecc71;
    --danger: #e74c3c;
    --warning: #f1c40f;
    --dark: #ecf0f1;
    --bg: #1a1a2e;
    --card: #16213e;
    --text: #e0e0e0;
    --text-light: #a0a0a0;
    --shadow: 0 2px 8px rgba(0,0,0,0.3);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
}

/* ─── Header ─── */
header {
    text-align: center;
    padding: 32px 16px 24px;
}

header h1 {
    font-size: 2em;
    color: var(--dark);
}

.subtitle {
    color: var(--text-light);
    margin-top: 4px;
}

.header-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.header-bar h1 {
    flex: 1;
    font-size: 1.3em;
    text-align: center;
}

.back-btn {
    background: var(--bg);
    color: var(--text);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 500;
    white-space: nowrap;
}

/* ─── Main Menu ─── */
.main-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.menu-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 32px 20px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    box-shadow: var(--shadow);
    transition: transform 0.15s, box-shadow 0.15s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.menu-card:active {
    transform: scale(0.97);
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.menu-icon {
    font-size: 3em;
}

.menu-title {
    font-size: 1.2em;
    font-weight: 700;
}

.menu-desc {
    font-size: 0.85em;
    color: var(--text-light);
}

.pulse {
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 144, 217, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(74, 144, 217, 0); }
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.1s;
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.96);
    opacity: 0.85;
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-secondary { background: #95a5a6; color: #fff; }
.btn-block { display: flex; width: 100%; margin-bottom: 8px; }
.btn-large { padding: 18px 20px; font-size: 1.15em; }

/* ─── Inputs ─── */
.input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1em;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    background: #fff;
}

.input:focus {
    border-color: var(--primary);
}

label {
    display: block;
    font-weight: 600;
    margin: 12px 0 6px;
    font-size: 0.9em;
    color: var(--text-light);
}

.form-group {
    margin-bottom: 8px;
}

/* ─── Tabs ─── */
.tabs {
    display: flex;
    gap: 4px;
    background: var(--bg);
    border-radius: 10px;
    padding: 4px;
}

.admin-layout {
    display: flex;
    gap: 20px;
    margin-top: 16px;
}

.admin-sidebar {
    flex-shrink: 0;
    width: 200px;
}

.admin-sidebar .tabs {
    flex-direction: column;
    position: sticky;
    top: 16px;
}

.admin-sidebar .tab {
    text-align: left;
    padding: 10px 14px;
    width: 100%;
}

.stock-alert-box {
    background: #fff3e0;
    border: 1px solid #ffb74d;
    border-radius: 10px;
    padding: 10px 12px;
    color: #e65100;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.stock-alert-box:hover {
    background: #ffe0b2;
}
.stock-alert-box.ok {
    background: #e8f5e9;
    border-color: #81c784;
    color: #2e7d32;
}
.stock-alert-box .sa-title {
    font-size: 0.85em;
    opacity: 0.8;
}
.stock-alert-box .sa-count {
    font-size: 1.3em;
}

.admin-main {
    flex: 1;
    min-width: 0;
}

@media (max-width: 640px) {
    .admin-layout {
        flex-direction: column;
    }
    .admin-sidebar {
        width: 100%;
    }
    .admin-sidebar .tabs {
        flex-direction: row;
        overflow-x: auto;
        position: static;
    }
    .admin-sidebar .tab {
        white-space: nowrap;
        text-align: center;
    }
}

.tab {
    padding: 8px 16px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s;
}

.tab.active {
    background: var(--primary);
    color: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ─── Lists ─── */
.list {
    margin-top: 12px;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--card);
    border-radius: var(--radius);
    margin-bottom: 8px;
    box-shadow: var(--shadow);
}

.list-item .info {
    flex: 1;
    min-width: 0;
}

.list-item .name {
    font-weight: 600;
    font-size: 1.05em;
}

.list-item .meta {
    font-size: 0.85em;
    color: var(--text-light);
}

.list-item .price {
    font-weight: 700;
    color: var(--success);
    font-size: 1.1em;
    white-space: nowrap;
}

.list-item .cat-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 600;
    color: #fff;
    margin-left: 6px;
}

.list-item .actions {
    display: flex;
    gap: 6px;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    font-size: 1.2em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s;
}

.btn-icon:active {
    transform: scale(0.9);
}

.btn-icon.edit { background: var(--primary); color: #fff; }
.btn-icon.delete { background: var(--danger); color: #fff; }

.inactive {
    opacity: 0.5;
}

/* ─── Modal ─── */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--card);
    border-radius: var(--radius);
    padding: 24px;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content h2 {
    margin-bottom: 16px;
    font-size: 1.3em;
}

.modal-actions {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.modal-actions .btn {
    flex: 1;
}

/* ─── Toast ─── */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--dark);
    color: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95em;
    z-index: 2000;
    transition: transform 0.3s ease;
    pointer-events: none;
    max-width: 90%;
    text-align: center;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* ─── Comanda Layout ─── */
.comanda-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 16px;
    height: calc(100vh - 100px);
}

@media (max-width: 768px) {
    .comanda-layout {
        grid-template-columns: 1fr;
        height: auto;
    }
}

.products-panel {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.search-bar {
    margin-bottom: 12px;
}

.category-filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.category-filters::-webkit-scrollbar {
    display: none;
}

.cat-filter {
    padding: 8px 16px;
    border: 2px solid #ddd;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    background: #fff;
    flex-shrink: 0;
    transition: all 0.2s;
}

.cat-filter.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
    overflow-y: auto;
    padding: 4px;
    flex: 1;
    align-content: start;
}

.product-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 16px 10px;
    text-align: center;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.1s, background 0.15s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    border: 2px solid transparent;
}

.product-card:active {
    transform: scale(0.95);
    background: #e8f4fd;
    border-color: var(--primary);
}

.product-card .p-name {
    font-weight: 600;
    font-size: 0.9em;
    line-height: 1.2;
}

.product-card .p-price {
    font-weight: 700;
    color: var(--success);
    font-size: 1.15em;
}

.product-card .p-cat {
    font-size: 0.7em;
    padding: 2px 8px;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
}

.product-card .p-ingredients {
    font-size: 0.7em;
    color: var(--text-light);
    line-height: 1.2;
    max-height: 28px;
    overflow: hidden;
}

.product-card .p-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 120px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #f8f8f8;
    border-radius: 8px;
    margin-bottom: 6px;
}

/* ─── Cart Panel ─── */
.cart-panel {
    background: var(--card);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.cart-panel h2 {
    font-size: 1.3em;
    margin-bottom: 12px;
    text-align: center;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    margin: 12px 0;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.cart-item .ci-info {
    flex: 1;
    min-width: 0;
}

.cart-item .ci-name {
    font-weight: 600;
    font-size: 0.95em;
}

.cart-item .ci-price {
    font-size: 0.85em;
    color: var(--text-light);
}

.cart-item .ci-qty {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-item .ci-qty button {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item .ci-qty .minus { background: #eee; color: var(--text); }
.cart-item .ci-qty .plus { background: var(--primary); color: #fff; }
.cart-item .ci-qty .count { font-weight: 700; min-width: 24px; text-align: center; }

.cart-item .ci-remove {
    background: none;
    border: none;
    color: var(--danger);
    font-size: 1.2em;
    cursor: pointer;
    padding: 4px;
}

.cart-total {
    font-size: 1.3em;
    font-weight: 700;
    text-align: right;
    padding: 12px 0;
    border-top: 2px solid var(--bg);
    margin-top: 8px;
}

.empty-cart {
    text-align: center;
    color: var(--text-light);
    padding: 40px 0;
}

/* ─── Orders Grid ─── */
.orders-grid {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.order-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.order-card.new-order {
    border: 3px solid var(--warning);
    animation: highlightPulse 0.6s ease 3;
}

@keyframes highlightPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(243, 156, 18, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(243, 156, 18, 0); }
}

.order-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--primary);
    color: #fff;
}

.order-header .order-table {
    font-weight: 700;
    font-size: 1.1em;
}

.order-header .order-time {
    font-size: 0.85em;
    opacity: 0.9;
}

.order-body {
    padding: 12px 16px;
}

.order-items-list {
    list-style: none;
}

.order-items-list li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95em;
}

.order-items-list li .oi-qty {
    font-weight: 700;
    margin-right: 8px;
}

.order-footer {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #eee;
}

.order-total {
    flex: 1;
    font-size: 1.2em;
    font-weight: 700;
    align-self: center;
}

.empty-state {
    text-align: center;
    color: var(--text-light);
    padding: 60px 20px;
    font-size: 1.1em;
}

/* ─── Status Dot ─── */
.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot.connected { background: var(--success); }
.status-dot.disconnected { background: var(--danger); }

/* ─── Footer ─── */
footer {
    text-align: center;
    padding: 24px;
    color: var(--text-light);
    font-size: 0.85em;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

/* ─── Ingredient Tags & Suggestions ─── */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ingredient-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #e8f4fd;
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 0.85em;
    font-weight: 500;
}

.suggestions-dropdown {
    position: absolute;
    z-index: 1100;
    background: var(--card);
    border: 1px solid #ddd;
    border-radius: 8px;
    max-height: 180px;
    overflow-y: auto;
    width: calc(100% - 52px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.suggestion-item {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 0.9em;
    border-bottom: 1px solid #f0f0f0;
}

.suggestion-item:active {
    background: var(--primary);
    color: #fff;
}

/* ─── Ingredient Toggle Modal ─── */
.ingredient-toggles {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 12px 0;
}

.ing-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: #f0f2f5;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.15s;
    border: 2px solid transparent;
}

.ing-toggle.active {
    background: #d4edda;
    border-color: var(--success);
    color: #155724;
}

.ing-toggle:not(.active) {
    color: #999;
    text-decoration: line-through;
}

.ing-toggle-icon {
    font-size: 1em;
    font-weight: 700;
}

.qty-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 16px 0;
}

/* ─── Active Tables Chip ─── */
.active-table-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    padding: 10px 12px;
    background: var(--card);
    border: 2px solid #ddd;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.85em;
    white-space: nowrap;
    transition: all 0.15s;
    flex-shrink: 0;
    gap: 2px;
}

.active-table-chip.selected {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

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

/* ─── Table Chips in Comanda ─── */
.table-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--card);
    border: 2px solid #ddd;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.85em;
    transition: all 0.15s;
    gap: 2px;
}

.table-chip.selected {
    background: var(--success);
    color: #fff;
    border-color: var(--success);
}

.table-chip.occupied {
    border-color: var(--danger);
}

.table-chip.occupied.selected {
    background: var(--warning);
    border-color: var(--danger);
}

.table-chip:active {
    transform: scale(0.92);
}
.product-card {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--danger);
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 0.75em;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ─── Cart Item Edit & Ingredient Info ─── */
.ci-edit-btn {
    background: #eee;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ci-removed {
    font-size: 0.75em;
    color: var(--danger);
    font-weight: 600;
}

.ci-ingredients {
    font-size: 0.75em;
    color: var(--success);
    font-weight: 500;
}

/* ─── Menu Modal ─── */
.menu-course-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 14px;
}

.menu-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
}

.menu-product-card {
    background: var(--card);
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 10px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s;
    font-size: 0.85em;
}

.menu-product-card:active {
    transform: scale(0.95);
}

.menu-product-card.selected {
    border-color: var(--success);
    background: #d4edda;
}

.menu-product-card .mp-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.menu-product-card .mp-price {
    color: var(--success);
    font-weight: 700;
    font-size: 0.95em;
}

.menu-selected-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--success);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

.menu-selected-tag .ms-remove {
    background: rgba(255,255,255,0.3);
    border: none;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ─── Split Bill Modal ─── */
.split-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.split-modal.show {
    display: flex;
}

.split-modal-content {
    background: var(--card);
    border-radius: var(--radius);
    padding: 24px;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
}

.split-customers {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.split-customer-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 12px;
    border: 2px solid #ddd;
}

.split-customer-card.checked {
    border-color: var(--success);
    background: #f0fff4;
}

.split-customer-name {
    font-weight: 700;
    font-size: 0.95em;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.split-customer-items {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.split-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px 0;
    font-size: 0.85em;
    border-bottom: 1px solid #eee;
}

.split-item-row .si-name {
    flex: 1;
    font-size: 0.85em;
}

.split-item-row .si-qty {
    display: flex;
    align-items: center;
    gap: 4px;
}

.split-item-row .si-qty button {
    width: 24px; height: 24px;
    border: none;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ddd;
    color: var(--text);
}

.split-item-row .si-qty .si-count {
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

.split-customer-total {
    text-align: right;
    font-weight: 700;
    font-size: 0.95em;
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid #ddd;
    color: var(--success);
}

.split-header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.split-method-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8f9fa;
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.15s;
}

.split-method-card:active {
    transform: scale(0.98);
    border-color: var(--primary);
    background: #e8f4fd;
}

/* ─── Split cíclico (nuevo) ─── */

.split-asignar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--card);
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 6px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.15s;
    border: 2px solid transparent;
    user-select: none;
}
.split-asignar-item:active {
    transform: scale(0.97);
}
.split-asignar-item .sai-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85em;
    color: #fff;
    flex-shrink: 0;
    transition: all 0.15s;
}
.split-asignar-item .sai-name {
    flex: 1;
    font-weight: 600;
    font-size: 0.95em;
}
.split-asignar-item .sai-qty {
    font-size: 0.85em;
    color: var(--text-light);
    margin-right: 4px;
}
.split-asignar-item .sai-price {
    font-weight: 700;
    font-size: 0.9em;
    min-width: 60px;
    text-align: right;
}
.split-client-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    color: #fff;
    font-weight: 600;
    font-size: 0.8em;
}
