* {
  -webkit-tap-highlight-color: transparent;
}

/* Only page-specific add-ons. Main UI comes from dashboard.css */

.reportsSearchRow {
    display: flex;
    gap: 10px;
    align-items: center;
}

.reportsInp {
    flex: 1;
    height: 44px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, .08);
    background: #fff;
    padding: 0 12px;
    outline: none;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
}

.reportsInp:focus {
    border-color: rgba(37, 99, 235, .35);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, .10);
}

/* Alerts tiles inside dashboard tileGrid */
.alertTile {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.alertDot {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--chipBg);
    font-size: 18px;
}

.alertBody {
    flex: 1;
    min-width: 0;
}

.alertTitle {
    font-weight: 1000;
    font-size: 13px;
}

.alertSub {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.alertMeta {
    margin-top: 8px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.alertPill {
    font-size: 11px;
    font-weight: 1000;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
}

.alertPill.high {
    background: rgba(185, 28, 28, .10);
    border-color: rgba(185, 28, 28, .18);
    color: #7f1d1d;
}

.alertBtn {
    margin-left: auto;
    border: none;
    padding: 10px 12px;
    border-radius: 14px;
    font-weight: 1000;
    cursor: pointer;
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    color: #fff;
}

/* Tables in dashboard already styled, just ensure min width */
.table {
    min-width: 760px;
}

/* =========================
   FILTERS (Dashboard theme)
   - Bottom Sheet + Overlay
   - Filter button + chips
========================= */

/* Top action row (Search + Filters) */
.actionsRow {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.searchInp {
    flex: 1;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, .08);
    background: #fff;
    padding: 0 12px;
    font-weight: 900;
    outline: none;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .05);
}

.searchInp:focus {
    border-color: rgba(37, 99, 235, .35);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}

.searchBtn {
    height: 44px;
    padding: 0 14px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    font-weight: 1000;
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    color: #fff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .10);
}

.searchBtn:active {
    transform: scale(.98);
}

/* Filters icon button */
.filterBtn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, .08);
    background: #fff;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
}

.filterBtn:active {
    transform: scale(.98);
}

/* Tabs (Orders / Enrolled / Subs / Delivery) */
.tabStrip {
    display: flex;
    gap: 10px;
    overflow: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
}

.tabStrip::-webkit-scrollbar {
    display: none;
}

.chip {
    border: none;
    background: rgba(15, 23, 42, .06);
    color: rgba(15, 23, 42, .72);
    font-weight: 1000;
    font-size: 12px;
    padding: 9px 12px;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
}

.chip.active {
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    color: #fff;
    box-shadow: 0 12px 22px rgba(0, 0, 0, .10);
}

/* Overlay */
#sheetOverlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, .45);
    z-index: 88;
    display: none;
}

/* Bottom Sheet */
#filterSheet {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
    width: min(92vw, 520px);
    background: #fff;
    border-radius: 22px;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 24px 70px rgba(2, 6, 23, .28);
    z-index: 89;
    overflow: hidden;
    display: none;
}

.sheetTop {
    padding: 14px 14px 10px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid rgba(15, 23, 42, .06);
    background: linear-gradient(180deg, #fff, rgba(255, 255, 255, .85));
}

.sheetTitle {
    font-weight: 1000;
    font-size: 16px;
}

.sheetSub {
    margin-top: 3px;
    font-size: 12px;
    color: var(--muted);
    font-weight: 900;
}

.xBtn {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, .08);
    background: #fff;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
    font-weight: 1000;
}

.xBtn:active {
    transform: scale(.98);
}

.sheetBody {
    padding: 12px 14px 14px;
}

.fGrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.fLabel {
    font-size: 12px;
    color: var(--muted);
    font-weight: 900;
    margin-bottom: 6px;
}

.fSelect {
    width: 100%;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, .08);
    background: #fff;
    padding: 0 12px;
    font-weight: 900;
    outline: none;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .05);
}

.fSelect:focus {
    border-color: rgba(37, 99, 235, .35);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}

/* Toggle (Only issues) */
.fToggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, .06);
    background: linear-gradient(135deg, var(--chipBg), rgba(255, 255, 255, .92));
}

.togTxt .togTitle {
    font-weight: 1000;
    font-size: 13px;
}

.togTxt .togSub {
    margin-top: 3px;
    font-size: 12px;
    color: var(--muted);
    font-weight: 900;
}

/* Switch */
.switch {
    position: relative;
    width: 48px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .18);
    border-radius: 999px;
    transition: .2s ease;
}

.slider:before {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    left: 3px;
    top: 3px;
    border-radius: 999px;
    background: #fff;
    transition: .2s ease;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}

.switch input:checked+.slider {
    background: linear-gradient(135deg, var(--brand), var(--brand2));
}

.switch input:checked+.slider:before {
    transform: translateX(20px);
}

/* Sheet buttons */
.sheetBtns {
    margin-top: 14px;
    display: flex;
    gap: 10px;
}

.btnGhostWide {
    flex: 1;
    border: none;
    padding: 12px 12px;
    border-radius: 14px;
    font-weight: 1000;
    cursor: pointer;
    background: rgba(15, 23, 42, .06);
    color: rgba(15, 23, 42, .78);
}

.btnGhostWide:active {
    transform: scale(.98);
}

.btnPriWide {
    flex: 1;
    border: none;
    padding: 12px 12px;
    border-radius: 14px;
    font-weight: 1000;
    cursor: pointer;
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    color: #fff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .12);
}

.btnPriWide:active {
    transform: scale(.98);
}

/* Alerts list tile (optional, if you show alerts section) */
.alertList {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.tile {
    background: #fff;
    border-radius: 18px;
    padding: 12px;
    border: 1px solid rgba(15, 23, 42, .06);
    box-shadow: 0 10px 22px rgba(15, 23, 42, .05);
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.alertTile {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
}

.alertDot {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--chipBg);
    border: 1px solid rgba(15, 23, 42, .08);
}

.alertBody {
    min-width: 0;
}

.alertTitle {
    font-weight: 1000;
    font-size: 13px;
}

.alertSub {
    margin-top: 3px;
    font-size: 12px;
    color: var(--muted);
    font-weight: 900;
    line-height: 1.35;
    word-break: break-word;
}

.alertMeta {
    margin-top: 8px;
}

.alertPill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    font-size: 11px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .06);
    font-weight: 1000;
}

.alertPill.high {
    background: rgba(239, 68, 68, .12);
    color: #b91c1c;
}

.alertBtn {
    border: none;
    padding: 10px 12px;
    border-radius: 14px;
    font-weight: 1000;
    cursor: pointer;
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    color: #fff;
}

.alertBtn:active {
    transform: scale(.98);
}

/* (Tumhara existing orders.css content yahi rahega — exact same) */

/* ===== Alerts Popup ===== */
#alertOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    z-index: 9998;
}

#alertModal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(720px, 92vw);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .25);
    z-index: 9999;
    padding: 14px;
}

#alertModal .pvTop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

#alertModal .pvTitle {
    font-weight: 1000;
    font-size: 16px;
}

#alertModal .pvSub {
    font-size: 12px;
    color: var(--muted);
}
.kpiRow {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}