/* Лёгкий режим: системные шрифты + отключение бесконечных анимаций */
:root {
    --font: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---- отключить бесконечные пульсации (CPU/GPU нагрузка) ---- */
.kt-fail-btn { animation: none !important; }
.chip.pulse { animation: none !important; }
.k-mins.late { animation: none !important; }
.table-card.busy::before { animation: none !important; }

/* ---- модал ашылуын тездету: blur жою + қысқа анимация ---- */
.modal-overlay { -webkit-backdrop-filter: none; backdrop-filter: none; animation: liteFade .09s; }
.modal { animation: liteRise .11s; }
@keyframes liteFade { from { opacity: 0; } }
@keyframes liteRise { from { opacity: 0; transform: translateY(10px) scale(.99); } }

/* ---- индикатор загрузки на кнопках оплаты ---- */
.lite-loading { opacity: .75; cursor: wait; }
.lite-spin {
    display: inline-block; width: 14px; height: 14px;
    margin-left: 6px; vertical-align: -2px;
    border: 2px solid rgba(255,255,255,.45); border-top-color: #fff;
    border-radius: 50%; animation: lite-rotate .7s linear infinite;
}
@keyframes lite-rotate { to { transform: rotate(360deg); } }

/* ---- ЖЕҢІЛ төлем модалы (lite-patch.js litePayModal) ---- */
.litePay { }
.litePay .modal { box-shadow: none !important; }
.litePay .modal-body { padding: 14px 18px 16px; }
.litePay .lpay-total { text-align: center; padding: 2px 0 10px; }
.litePay .lpay-total b { font-size: 34px; font-weight: 820; font-variant-numeric: tabular-nums; letter-spacing: -.3px; }
.litePay .lpay-total small { color: var(--muted, #64748b); font-size: 16px; font-weight: 700; margin-left: 4px; }
.litePay .lpay-tog { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.litePay .lpay-m {
    min-height: 46px; padding: 12px; border-radius: 12px;
    border: 2px solid var(--line, #e2e8f0); background: #fff;
    font-weight: 800; font-size: 14px; transition: none;
}
.litePay .lpay-m.on[data-m="cash"] { border-color: var(--green, #16a34a); background: var(--green-bg, #dcfce7); color: var(--green, #16a34a); }
.litePay .lpay-m.on[data-m="card"] { border-color: var(--blue, #2563eb); background: var(--blue-bg, #dbeafe); color: var(--blue, #2563eb); }
.litePay .lpay-q { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-bottom: 10px; }
.litePay .lpay-quick {
    min-height: 46px; padding: 11px 4px; border-radius: 10px;
    background: #f4f6fb; font-weight: 800; font-size: 14px;
    font-variant-numeric: tabular-nums; transition: none;
}
.litePay .lpay-quick:active { background: var(--dark, #141832); color: #fff; }
.litePay .lpay-row { display: flex; gap: 8px; }
.litePay .lpay-row input {
    flex: 1; min-width: 0; font-size: 20px; font-weight: 820; text-align: center;
    padding: 10px; border-radius: 11px; border: 2px solid var(--line, #e2e8f0); outline: none;
}
.litePay .lpay-add { min-height: 46px; white-space: nowrap; padding: 10px 14px; font-size: 13px; }
.litePay .lpay-full { min-height: 46px; margin-top: 8px; width: 100%; border-radius: 11px;border: 2px solid #dde3ed;outline: none;}
.litePay .lpay-list { margin: 8px 0 4px; display: flex; flex-direction: column; gap: 6px; }
.litePay .lpay-li {
    display: flex; justify-content: space-between; align-items: center;
    background: #f8fafc; border: 1px dashed var(--line, #cbd5e1); border-radius: 9px;
    padding: 8px 11px; font-weight: 720; font-size: 13.5px;
}
.litePay .lpay-li .lpay-rm { color: var(--red, #dc2626); font-weight: 900; padding: 0 4px; }
.litePay .lpay-ch { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding: 11px 14px; border-radius: 11px; font-weight: 800; }
.litePay .lpay-c.ok { background: var(--green-bg, #dcfce7); color: var(--green, #16a34a); }
.litePay .lpay-c.bad { background: var(--red-bg, #fee2e2); color: var(--red, #dc2626); }
.litePay .lpay-c b { font-size: 20px; color:black;}