/* ConQ modern skin — v2
   Loaded AFTER app.css / bootstrap. Keeps the black + red identity, refines shades,
   removes off-theme blue, and modernises cards, tables, tabs, buttons, forms and the top bar.
   Everything is driven by the tokens below so a shade can be tuned in one place. */

:root {
    --cq-red: #E31E24;
    --cq-red-600: #C4161C;
    --cq-red-400: #FF4D4D;
    --cq-red-soft: rgba(227, 30, 36, .08);
    --cq-red-ring: rgba(227, 30, 36, .22);
    --cq-ink: #14151A;
    --cq-ink-2: #23252D;
    --cq-text: #3b3d45;
    --cq-muted: #7a7d88;
    --cq-line: rgba(20, 21, 26, .08);
    --cq-bg: #F6F6F8;
    --cq-card: #ffffff;
    --cq-radius: 16px;
    --cq-radius-sm: 10px;
    --cq-shadow-1: 0 1px 2px rgba(20, 21, 26, .05), 0 2px 8px rgba(20, 21, 26, .05);
    --cq-shadow-2: 0 10px 30px rgba(20, 21, 26, .10);
    --cq-shadow-red: 0 10px 24px rgba(227, 30, 36, .28);
    --cq-gold: #F5B301;

    /* re-point Bootstrap's palette so every .btn-primary/.text-bg-primary/link becomes on-theme */
    --primary: var(--cq-red);
    --bs-primary: #E31E24;
    --bs-primary-rgb: 227, 30, 36;
    --bs-link-color: #C4161C;
    --bs-link-color-rgb: 196, 22, 28;
    --bs-link-hover-color: #E31E24;
    --bs-link-hover-color-rgb: 227, 30, 36;
    --bs-info: #23252D;
    --bs-info-rgb: 35, 37, 45;
    --bs-body-color: #3b3d45;
    --bs-border-radius: .6rem;
    --bs-border-radius-lg: 1rem;
    --bs-primary-bg-subtle: #fdeaea;
    --bs-primary-border-subtle: #f7b8ba;
    --bs-primary-text-emphasis: #8f1116;
}

body {
    background: var(--cq-bg) !important;
    color: var(--cq-text);
    -webkit-font-smoothing: antialiased;
}

/* ---------- links & buttons ---------- */
a, .btn-link { color: var(--cq-red-600); }
a:hover, .btn-link:hover { color: var(--cq-red); }

.btn { border-radius: .65rem; font-weight: 500; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.btn:active { transform: translateY(1px); }

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--cq-red);
    --bs-btn-border-color: var(--cq-red);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--cq-red-600);
    --bs-btn-hover-border-color: var(--cq-red-600);
    --bs-btn-active-bg: #A8121A;
    --bs-btn-active-border-color: #A8121A;
    --bs-btn-disabled-bg: var(--cq-red);
    --bs-btn-disabled-border-color: var(--cq-red);
    --bs-btn-focus-shadow-rgb: 227, 30, 36;
    color: #fff;
    background-color: var(--cq-red);
    border-color: var(--cq-red);
}
.btn-primary:hover { background-color: var(--cq-red-600); border-color: var(--cq-red-600); box-shadow: var(--cq-shadow-red); }

.btn-outline-primary {
    --bs-btn-color: var(--cq-red);
    --bs-btn-border-color: var(--cq-red);
    --bs-btn-hover-bg: var(--cq-red);
    --bs-btn-hover-border-color: var(--cq-red);
    --bs-btn-active-bg: var(--cq-red-600);
    --bs-btn-active-border-color: var(--cq-red-600);
}

.btn-dark { --bs-btn-bg: var(--cq-ink); --bs-btn-border-color: var(--cq-ink); --bs-btn-hover-bg: #000; --bs-btn-hover-border-color: #000; }

.btn-success {
    --bs-btn-bg: var(--cq-ink);
    --bs-btn-border-color: var(--cq-ink);
    --bs-btn-hover-bg: #000;
    --bs-btn-hover-border-color: #000;
    --bs-btn-active-bg: #000;
    --bs-btn-active-border-color: #000;
    --bs-btn-disabled-bg: var(--cq-ink);
    --bs-btn-disabled-border-color: var(--cq-ink);
}

.text-primary { color: var(--cq-red) !important; }
.bg-primary { background-color: var(--cq-red) !important; }
.border-primary { border-color: var(--cq-red) !important; }
.form-check-input:checked { background-color: var(--cq-red); border-color: var(--cq-red); }
.form-control:focus, .form-select:focus { border-color: var(--cq-red-400); box-shadow: 0 0 0 .25rem var(--cq-red-ring); }
.form-control, .form-select { border-radius: .65rem; border-color: rgba(20, 21, 26, .14); }
.progress-bar { background-color: var(--cq-red); }
.page-link { color: var(--cq-red-600); }
.page-item.active .page-link { background-color: var(--cq-red); border-color: var(--cq-red); color: #fff; }
.spinner-border.text-primary { color: var(--cq-red) !important; }

/* ---------- cards ---------- */
.card {
    border: 1px solid var(--cq-line);
    border-radius: var(--cq-radius);
    box-shadow: var(--cq-shadow-1);
    background: var(--cq-card);
}
.card-header, .card-footer { background: transparent !important; border-color: var(--cq-line); }
.card-header:first-child { border-radius: var(--cq-radius) var(--cq-radius) 0 0; }
.dbcard.card { border: 1px solid var(--cq-line); box-shadow: var(--cq-shadow-1); }
.dbcard.card:hover { transform: translateY(-4px); box-shadow: var(--cq-shadow-2); }

.action-card, .quick-action { border-radius: var(--cq-radius); border-color: var(--cq-line); box-shadow: var(--cq-shadow-1); background: #fff; }
.action-card::after { background: linear-gradient(135deg, var(--cq-ink), var(--cq-red)) !important; }
.action-card:hover { border-color: transparent; box-shadow: var(--cq-shadow-red); }
.quick-action:hover { background: linear-gradient(135deg, var(--cq-ink), var(--cq-red)); }
.icon-box { background: var(--cq-red-soft) !important; color: var(--cq-red) !important; border-radius: 14px; }
.quick-stats .card { border: 1px solid var(--cq-line); border-left: 5px solid var(--cq-red); }

/* ---------- top bar: frosted glass + red accent line ---------- */
.conq-toprow {
    background: rgba(255, 255, 255, .86) !important;
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--cq-line);
    box-shadow: 0 2px 14px rgba(20, 21, 26, .05);
    position: sticky;
}
.conq-toprow::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
    background: linear-gradient(90deg, var(--cq-red) 0%, var(--cq-red-400) 35%, transparent 75%);
}
.navbar-brand h3, .navbar-brand h4 { letter-spacing: -.5px; }
.dropdown-menu { border: 1px solid var(--cq-line); border-radius: 14px; box-shadow: var(--cq-shadow-2); padding-bottom: .4rem; overflow: hidden; }
.dropdown-menu .dropdown-item { border-radius: 8px; margin: 1px 6px; width: auto; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--cq-red-soft); color: var(--cq-red-600); }
.dropdown-item.bg-success-subtle { background: linear-gradient(135deg, var(--cq-ink), var(--cq-ink-2)) !important; color: #fff; margin: 0 0 6px; border-radius: 0; }

/* ---------- tabs ---------- */
.nav-tabs .nav-link.active, .nav-pills .nav-link.active { color: var(--cq-red-600); }
.nav-pills .nav-link.active { background: var(--cq-red); color: #fff; }
.nav-tabs .nav-link { color: var(--cq-muted); }
.nav-tabs .nav-link:hover { color: var(--cq-red); }

/* ---------- tables ---------- */
.table { --bs-table-striped-bg: rgba(20, 21, 26, .022); --bs-table-hover-bg: var(--cq-red-soft); }
.table > thead > tr > th {
    font-size: .72rem; text-transform: uppercase; letter-spacing: .06em;
    color: var(--cq-muted); font-weight: 600; border-bottom: 1px solid var(--cq-line);
}

/* ---------- badges ---------- */
.badge { font-weight: 600; letter-spacing: .02em; border-radius: 999px; padding: .42em .75em; }
.text-bg-primary { background-color: var(--cq-red) !important; }
.text-bg-info { background-color: var(--cq-ink-2) !important; color: #fff !important; }   /* dark bg: bootstrap's default black text was unreadable (toasts, badges) */
.text-bg-light { color: var(--cq-ink) !important; }

/* ---------- modals / alerts ---------- */
.modal-content { border: 0; border-radius: 18px; box-shadow: var(--cq-shadow-2); }
.alert { border-radius: 12px; border: 1px solid transparent; }
.alert-info { background: #f1f1f4; border-color: #e2e2e8; color: var(--cq-ink-2); }

/* ---------- misc ---------- */
.credit-hud .badge { background: var(--cq-red-soft) !important; color: var(--cq-red-600) !important; border: 1px solid var(--cq-border-light-red, rgba(227,30,36,.18)) !important; }
.credit-hud:hover .badge { background: var(--cq-red) !important; color: #fff !important; }
::-webkit-scrollbar-thumb { background: #d9dade; }
::-webkit-scrollbar-thumb:hover { background: var(--cq-red); }
::-webkit-scrollbar-track { box-shadow: none; background: transparent; }

/* opacity-only on purpose: a `transform`, even one that animates to `none`, makes a browser treat the
   element as if it still has a live transform animation for as long as the (fill-mode: both) Animation
   stays attached - which is forever, since nothing here ever cancels it. That silently turns the element
   into a NEW CONTAINING BLOCK for any `position: fixed/absolute` descendant (e.g. the My Tenders sticky
   pagination bar, once nested a level under this), so it stops tracking the viewport and instead sticks
   to that ancestor's own (possibly tiny, possibly off-screen) box. Never reintroduce transform/filter here. */
@keyframes cq-rise { from { opacity: 0; } to { opacity: 1; } }
.cq-rise { animation: cq-rise .45s ease-out both; }

@media (prefers-reduced-motion: reduce) {
    .cq-rise, .btn, .card { animation: none !important; transition: none !important; }
}

/* =====================================================================
   MY PLAN (store-style)
   ===================================================================== */
.mp-head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.mp-head h1 { font-size: 1.6rem; font-weight: 700; margin: 0; color: var(--cq-ink); letter-spacing: -.02em; }

.mp-tabs {
    display: inline-flex; gap: .25rem; padding: .3rem; background: #fff;
    border: 1px solid var(--cq-line); border-radius: 999px; box-shadow: var(--cq-shadow-1);
    margin-bottom: 1.5rem; max-width: 100%; overflow-x: auto;
}
.mp-tabs button {
    border: 0; background: transparent; padding: .5rem 1.1rem; border-radius: 999px;
    color: var(--cq-muted); font-weight: 600; white-space: nowrap; transition: all .2s ease;
    display: inline-flex; align-items: center; gap: .4rem;
}
.mp-tabs button:hover { color: var(--cq-ink); }
.mp-tabs button.on { background: var(--cq-ink); color: #fff; box-shadow: 0 4px 12px rgba(20, 21, 26, .25); }
.mp-tabs button.on i { color: var(--cq-red-400); }

/* hero */
.mp-hero {
    position: relative; overflow: hidden; color: #fff; border-radius: 22px; padding: 1.75rem;
    background:
        radial-gradient(600px 280px at 105% -20%, rgba(227, 30, 36, .55), transparent 60%),
        radial-gradient(420px 240px at -10% 120%, rgba(255, 77, 77, .25), transparent 60%),
        linear-gradient(135deg, #0d0d10 0%, #1c1d23 100%);
    box-shadow: var(--cq-shadow-2);
}
.mp-hero::before {
    content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(120deg, #000 0%, transparent 65%);
    -webkit-mask-image: linear-gradient(120deg, #000 0%, transparent 65%);
}
.mp-hero > * { position: relative; }
.mp-eyebrow { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #ff8d8f; font-weight: 700; }
.mp-hero h2 { font-size: 2rem; font-weight: 800; margin: .15rem 0 0; letter-spacing: -.02em; }
.mp-hero .art { width: 132px; height: 132px; flex: none; filter: drop-shadow(0 12px 24px rgba(227, 30, 36, .45)); }
.mp-chip {
    display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .75rem; border-radius: 999px;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); font-size: .78rem; backdrop-filter: blur(4px);
}
.mp-hero .btn-light { color: var(--cq-ink); font-weight: 600; }
.mp-hero .btn-cta { background: var(--cq-red); border-color: var(--cq-red); color: #fff; font-weight: 600; box-shadow: var(--cq-shadow-red); }
.mp-hero .btn-cta:hover { background: var(--cq-red-400); }

/* usage tiles */
.mp-usage-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin-top: 1.25rem; }
.mp-usage {
    background: #fff; border: 1px solid var(--cq-line); border-radius: var(--cq-radius); padding: 1rem 1.1rem;
    box-shadow: var(--cq-shadow-1); transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: hidden;
}
.mp-usage:hover { transform: translateY(-3px); box-shadow: var(--cq-shadow-2); }
.mp-usage .ico {
    width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.15rem;
    background: var(--cq-red-soft); color: var(--cq-red);
}
.mp-usage .num { font-size: 1.6rem; font-weight: 800; color: var(--cq-ink); line-height: 1; letter-spacing: -.02em; }
.mp-usage .of { color: var(--cq-muted); font-weight: 500; font-size: .85rem; }
.mp-bar { height: 8px; background: #efeff2; border-radius: 99px; overflow: hidden; }
.mp-bar > span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--cq-red), var(--cq-red-400)); transition: width .8s cubic-bezier(.2, .7, .2, 1); }
.mp-bar.low > span { background: linear-gradient(90deg, #a30d12, var(--cq-red)); animation: cq-pulse 1.6s ease-in-out infinite; }
.mp-bar.unl > span { background: repeating-linear-gradient(45deg, var(--cq-ink), var(--cq-ink) 8px, var(--cq-ink-2) 8px, var(--cq-ink-2) 16px); }
@keyframes cq-pulse { 50% { opacity: .6; } }
.mp-link { color: var(--cq-red-600); font-weight: 600; font-size: .8rem; cursor: pointer; text-decoration: none; }
.mp-link:hover { color: var(--cq-red); text-decoration: underline; }

.mp-included { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.mp-included span { background: #fff; border: 1px solid var(--cq-line); border-radius: 999px; padding: .3rem .8rem; font-size: .8rem; color: var(--cq-ink-2); display: inline-flex; gap: .35rem; align-items: center; }
.mp-included i { color: var(--cq-red); }

/* plan store cards */
.mp-plans { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); align-items: stretch; }
.mp-plan {
    position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--cq-line);
    border-radius: 22px; overflow: hidden; box-shadow: var(--cq-shadow-1); transition: transform .25s ease, box-shadow .25s ease;
}
.mp-plan:hover { transform: translateY(-6px); box-shadow: var(--cq-shadow-2); }
.mp-plan.current { border: 2px solid var(--cq-red); box-shadow: 0 0 0 5px var(--cq-red-soft), var(--cq-shadow-2); }
.mp-plan.popular { border: 2px solid var(--cq-ink); }
.mp-plan .ribbon {
    position: absolute; top: 14px; right: -34px; transform: rotate(38deg); width: 140px; text-align: center;
    background: var(--cq-red); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .1em; padding: .25rem 0; text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(227, 30, 36, .4); z-index: 2;
}
.mp-plan .ribbon.dark { background: var(--cq-ink); box-shadow: 0 4px 10px rgba(0, 0, 0, .35); }
.mp-plan .cover {
    height: 150px; display: grid; place-items: center; position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--c1), var(--c2));
}
.mp-plan .cover::after { /* soft sheen */
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(220px 120px at 20% 0%, rgba(255,255,255,.22), transparent 70%);
}
.mp-plan .cover svg { width: 120px; height: 120px; position: relative; z-index: 1; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .3)); transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.mp-plan:hover .cover svg { transform: scale(1.1) rotate(-3deg); }
.mp-plan .body { padding: 1.15rem 1.25rem .5rem; flex: 1; }
.mp-plan .pname { font-weight: 800; font-size: 1.25rem; color: var(--cq-ink); letter-spacing: -.01em; }
.mp-plan .pdesc { color: var(--cq-muted); font-size: .82rem; min-height: 2.4em; }
.mp-price { display: flex; align-items: baseline; gap: .45rem; flex-wrap: wrap; margin: .6rem 0 .1rem; }
.mp-price .now { font-size: 2rem; font-weight: 800; color: var(--cq-ink); letter-spacing: -.03em; line-height: 1; }
.mp-price s { color: var(--cq-muted); }
.mp-price .off { background: var(--cq-red); color: #fff; font-size: .7rem; font-weight: 800; padding: .2rem .5rem; border-radius: 6px; }
.mp-gst { font-size: .75rem; color: var(--cq-muted); }
.mp-feats { list-style: none; margin: .9rem 0 0; padding: .9rem 0 0; border-top: 1px dashed var(--cq-line); display: grid; gap: .5rem; }
.mp-feats li { display: flex; gap: .55rem; font-size: .84rem; color: var(--cq-ink-2); align-items: flex-start; }
.mp-feats li > i { color: var(--cq-red); font-size: 1rem; line-height: 1.3; }
.mp-feats .sub { display: block; color: var(--cq-muted); font-size: .74rem; }
.mp-feats .val { margin-left: auto; font-weight: 700; color: var(--cq-ink); white-space: nowrap; }
.mp-plan .foot { padding: 1rem 1.25rem 1.25rem; }
.mp-buy {
    width: 100%; border: 0; padding: .75rem 1rem; border-radius: 12px; font-weight: 700; color: #fff;
    background: linear-gradient(135deg, var(--cq-red), var(--cq-red-600)); box-shadow: var(--cq-shadow-red);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.mp-buy:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.06); }
.mp-buy:disabled { background: #ececef; color: #8b8d97; box-shadow: none; cursor: default; }
.mp-buy.dark { background: linear-gradient(135deg, var(--cq-ink), var(--cq-ink-2)); box-shadow: 0 8px 20px rgba(20, 21, 26, .3); }
.mp-buy.ghost { background: #fff; color: var(--cq-ink); border: 1.5px solid var(--cq-ink); box-shadow: none; }

/* add-on store tiles */
.mp-addons { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.mp-addon {
    position: relative; border-radius: 20px; padding: 1.1rem 1.15rem; cursor: pointer; overflow: hidden; color: #fff;
    background: linear-gradient(140deg, var(--c1), var(--c2)); box-shadow: var(--cq-shadow-1);
    transition: transform .25s ease, box-shadow .25s ease; border: 2px solid transparent; min-height: 168px; display: flex; flex-direction: column;
}
.mp-addon::before { /* glow orb */
    content: ""; position: absolute; width: 190px; height: 190px; right: -60px; top: -70px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.28), transparent 65%); transition: transform .5s ease;
}
.mp-addon::after { /* big ghost icon */
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.14) 50%, transparent 60%); transform: translateX(-120%); transition: transform .8s ease;
}
.mp-addon:hover { transform: translateY(-5px) scale(1.015); box-shadow: 0 16px 34px rgba(20, 21, 26, .25); }
.mp-addon:hover::before { transform: scale(1.3); }
.mp-addon:hover::after { transform: translateX(120%); }
.mp-addon.sel { border-color: #fff; box-shadow: 0 0 0 3px var(--cq-red), 0 16px 34px rgba(227, 30, 36, .35); }
.mp-addon .aico { width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .18); display: grid; place-items: center; font-size: 1.35rem; backdrop-filter: blur(4px); }
.mp-addon .aname { font-weight: 700; font-size: 1.05rem; margin-top: .7rem; }
.mp-addon .have { font-size: .78rem; opacity: .8; }
.mp-addon .aprice { margin-top: auto; display: flex; align-items: baseline; gap: .4rem; }
.mp-addon .aprice b { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.mp-addon .aprice small { opacity: .8; }
.mp-addon .aprice s { opacity: .6; }
.mp-addon .tag { position: absolute; top: 12px; right: 12px; font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: #fff; color: var(--cq-red-600); padding: .2rem .55rem; border-radius: 99px; z-index: 1; }
.mp-addon.maxed { filter: grayscale(.85); opacity: .75; }

/* checkout panel */
.mp-checkout { background: #fff; border: 1px solid var(--cq-line); border-radius: 22px; box-shadow: var(--cq-shadow-2); overflow: hidden; }
.mp-checkout .top { padding: 1.1rem 1.35rem; color: #fff; background: linear-gradient(135deg, var(--cq-ink), var(--cq-ink-2)); display: flex; align-items: center; gap: .8rem; }
.mp-checkout .top .aico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--cq-red); font-size: 1.2rem; }
.mp-checkout .inner { padding: 1.35rem; }
.mp-stepper { display: inline-flex; align-items: center; border: 1px solid var(--cq-line); border-radius: 12px; overflow: hidden; background: #fff; }
.mp-stepper button { width: 42px; height: 42px; border: 0; background: #f4f4f6; font-size: 1.2rem; font-weight: 700; color: var(--cq-ink); transition: background .15s; }
.mp-stepper button:hover:not(:disabled) { background: var(--cq-red); color: #fff; }
.mp-stepper input { width: 70px; height: 42px; border: 0; text-align: center; font-weight: 700; font-size: 1.05rem; outline: none; -moz-appearance: textfield; }
.mp-stepper input::-webkit-outer-spin-button, .mp-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mp-sum { background: #fafafb; border-radius: 14px; padding: .9rem 1rem; }
.mp-sum .r { display: flex; justify-content: space-between; padding: .25rem 0; font-size: .88rem; }
.mp-sum .r.t { border-top: 1px dashed rgba(20, 21, 26, .2); margin-top: .4rem; padding-top: .6rem; font-size: 1.1rem; font-weight: 800; color: var(--cq-ink); }
.mp-secure { font-size: .74rem; color: var(--cq-muted); display: flex; gap: .4rem; justify-content: center; align-items: center; margin-top: .6rem; }

/* history */
.mp-sec-title { display: flex; align-items: center; gap: .6rem; margin: 0 0 .9rem; font-weight: 800; color: var(--cq-ink); font-size: 1.15rem; }
.mp-sec-title::before { content: ""; width: 5px; height: 1.2em; border-radius: 4px; background: linear-gradient(var(--cq-red), var(--cq-red-400)); }
.mp-stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 1.5rem; }
.mp-stat { background: #fff; border: 1px solid var(--cq-line); border-radius: 16px; padding: .9rem 1.1rem; box-shadow: var(--cq-shadow-1); }
.mp-stat .l { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--cq-muted); font-weight: 700; }
.mp-stat .v { font-size: 1.5rem; font-weight: 800; color: var(--cq-ink); letter-spacing: -.02em; }
.mp-stat.dark { background: linear-gradient(135deg, var(--cq-ink), var(--cq-ink-2)); border: 0; }
.mp-stat.dark .l { color: #ff8d8f; } .mp-stat.dark .v { color: #fff; }

.mp-orders { display: grid; gap: .75rem; }
.mp-order {
    display: grid; grid-template-columns: 48px 1fr auto; gap: 1rem; align-items: center;
    background: #fff; border: 1px solid var(--cq-line); border-radius: 16px; padding: .9rem 1.1rem; box-shadow: var(--cq-shadow-1);
    transition: transform .2s ease, box-shadow .2s ease; border-left: 5px solid #d5d6dc;
}
.mp-order:hover { transform: translateX(3px); box-shadow: var(--cq-shadow-2); }
.mp-order.Paid { border-left-color: #16a34a; } .mp-order.Pending { border-left-color: var(--cq-gold); }
.mp-order.Failed { border-left-color: var(--cq-red); }
.mp-order .oico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; background: var(--cq-red-soft); color: var(--cq-red); }
.mp-order .otitle { font-weight: 700; color: var(--cq-ink); }
.mp-order .ometa { font-size: .78rem; color: var(--cq-muted); }
.mp-order .oamt { text-align: right; }
.mp-order .oamt b { font-size: 1.15rem; color: var(--cq-ink); }
.mp-pill { display: inline-flex; align-items: center; gap: .3rem; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 99px; }
.mp-pill.Paid { background: #e7f7ee; color: #15803d; } .mp-pill.Pending { background: #fff5d6; color: #92650a; }
.mp-pill.Failed { background: #fde6e7; color: #b4141b; } .mp-pill.Cancelled, .mp-pill.Expired { background: #eee; color: #666; }

.mp-timeline { position: relative; margin: 0; padding: 0 0 0 1.6rem; list-style: none; }
.mp-timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--cq-red), rgba(227, 30, 36, .08)); }
.mp-timeline li { position: relative; padding: .55rem .9rem; margin-bottom: .55rem; background: #fff; border: 1px solid var(--cq-line); border-radius: 12px; display: flex; gap: .8rem; align-items: center; }
.mp-timeline li::before { content: ""; position: absolute; left: -1.6rem; top: 50%; margin-top: -6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--cq-red); }
.mp-timeline li.plus::before { border-color: #16a34a; }
.mp-delta { min-width: 52px; text-align: center; font-weight: 800; border-radius: 8px; padding: .15rem .4rem; background: #fde6e7; color: #b4141b; }
.mp-timeline li.plus .mp-delta { background: #e7f7ee; color: #15803d; }
.mp-empty { text-align: center; color: var(--cq-muted); padding: 2rem 1rem; background: #fff; border: 1px dashed rgba(20, 21, 26, .18); border-radius: 16px; }
.mp-empty > i { font-size: 2rem; color: var(--cq-red); display: block; }   /* direct child only: icons inside buttons keep their size */

@media (max-width: 575.98px) {
    .mp-hero { padding: 1.25rem; } .mp-hero h2 { font-size: 1.5rem; } .mp-hero .art { width: 84px; height: 84px; }
    .mp-order { grid-template-columns: 40px 1fr; } .mp-order .oamt { grid-column: 1 / -1; text-align: left; display: flex; justify-content: space-between; align-items: center; }
    .mp-tabs { display: flex; }
}

/* =====================================================================
   BACKGROUND — layered mesh: warm-white base, red + graphite glows,
   fine dot grid fading toward the corners, and two slow drifting orbs.
   ===================================================================== */
body {
    background:
        radial-gradient(1100px 700px at 100% -10%, rgba(227, 30, 36, .13), transparent 60%),
        radial-gradient(900px 640px at -10% 105%, rgba(20, 21, 26, .10), transparent 60%),
        radial-gradient(700px 500px at 55% 45%, rgba(255, 77, 77, .05), transparent 70%),
        linear-gradient(180deg, #f8f8fa 0%, #f1f1f5 100%) !important;
    background-attachment: fixed !important;
}
body::before {
    position: fixed !important; inset: 0; z-index: -2; pointer-events: none;
    background-image:
        radial-gradient(rgba(20, 21, 26, .10) 1px, transparent 1.2px),
        linear-gradient(115deg, transparent 0 58%, rgba(227, 30, 36, .045) 58% 58.3%, transparent 58.3% 100%),
        linear-gradient(115deg, transparent 0 66%, rgba(20, 21, 26, .035) 66% 66.2%, transparent 66.2% 100%) !important;
    background-size: 26px 26px, 100% 100%, 100% 100% !important;
    background-position: 0 0, 0 0, 0 0 !important;
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, rgba(0,0,0,.35) 70%, transparent 100%);
    mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, rgba(0,0,0,.35) 70%, transparent 100%);
}
body::after {
    content: ""; position: fixed; inset: -20%; z-index: -1; pointer-events: none;
    background:
        radial-gradient(360px 360px at 82% 18%, rgba(227, 30, 36, .16), transparent 70%),
        radial-gradient(420px 420px at 12% 82%, rgba(255, 77, 77, .10), transparent 70%);
    filter: blur(20px);
    animation: cq-drift 26s ease-in-out infinite alternate;
    will-change: transform;
}
@keyframes cq-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-3%, 4%, 0) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { body::after { animation: none; } }
@media (max-width: 575.98px) { body::after { display: none; } } /* keep phones/WebViews light */

/* =====================================================================
   DASHBOARD & GENERAL POLISH
   ===================================================================== */
.cq-welcome {
    position: relative; overflow: hidden; color: #fff; border-radius: 22px; padding: 1.4rem 1.6rem; margin-bottom: 1.5rem;
    background:
        radial-gradient(520px 240px at 100% -30%, rgba(227, 30, 36, .6), transparent 60%),
        linear-gradient(135deg, #0d0d10, #1f2027);
    box-shadow: var(--cq-shadow-2);
}
.cq-welcome h4 { color: #fff; margin: 0; letter-spacing: -.02em; }
.cq-welcome p { color: rgba(255, 255, 255, .7); margin: .2rem 0 0; }
.cq-welcome::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; border: 28px solid rgba(255, 255, 255, .05); }

.action-card { padding: 1.25rem; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.action-card:hover { transform: translateY(-6px); }
.action-card h6 { font-size: 1.02rem; }

.card-body.pointer, .card.pointer { transition: transform .2s ease; }
.card:has(> .card-body.pointer):hover { transform: translateY(-4px); box-shadow: var(--cq-shadow-2); border-color: var(--cq-red-ring); }

.status-badge { border-radius: 999px; letter-spacing: .02em; font-weight: 600; }
.badge-soft { border-radius: 999px; }
h1, h2, h3, h4, h5 { color: var(--cq-ink); letter-spacing: -.015em; }
/* The rule above beats plain inheritance (any rule beats "no rule"), so a heading on a dark card/hero that
   relies on its ancestor's white text - rather than being white itself - silently comes out dark-on-dark.
   This bit us twice already (the Login promo panel, then the My Plan hero's plan-name heading). Centralised
   here instead of scattered per-component fixes: every dark surface's headings are listed once, so the
   next dark card only needs adding to this list, not a new one-off override. */
.mp-hero h1, .mp-hero h2, .mp-hero h3, .mp-hero h4, .mp-hero h5,
.cq-welcome h1, .cq-welcome h2, .cq-welcome h3, .cq-welcome h4, .cq-welcome h5,
.bg-conq h1, .bg-conq h2, .bg-conq h3, .bg-conq h4, .bg-conq h5,
.mp-checkout .top h1, .mp-checkout .top h2, .mp-checkout .top h3, .mp-checkout .top h4, .mp-checkout .top h5,
.conq-toprow h1, .conq-toprow h2, .conq-toprow h3, .conq-toprow h4, .conq-toprow h5
{ color: #fff; }
.nav-header { background: rgba(255, 255, 255, .7); backdrop-filter: blur(8px); border-top: 1px solid var(--cq-line); }
.table-responsive { border-radius: 14px; }
.list-group-item { border-color: var(--cq-line); }
.btn-outline-danger { --bs-btn-color: var(--cq-red); --bs-btn-border-color: rgba(227, 30, 36, .5); --bs-btn-hover-bg: var(--cq-red); --bs-btn-hover-border-color: var(--cq-red); }
.btn-outline-secondary { --bs-btn-color: var(--cq-ink-2); --bs-btn-border-color: rgba(20, 21, 26, .25); --bs-btn-hover-bg: var(--cq-ink); --bs-btn-hover-border-color: var(--cq-ink); }
.accordion-button:not(.collapsed) { background: var(--cq-red-soft); color: var(--cq-red-600); box-shadow: none; }
.form-label { font-weight: 600; font-size: .82rem; color: var(--cq-ink-2); }
::selection { background: rgba(227, 30, 36, .22); }

/* keep page content above the background layers and give rows a gentle entrance */
article > * { animation: cq-rise .4s cubic-bezier(.2, .7, .2, 1) both; }

/* =====================================================================
   Login / Register
   ===================================================================== */
.bg-conq {
    position: relative; overflow: hidden;
    background:
        radial-gradient(520px 320px at 100% 0%, rgba(255, 77, 77, .55), transparent 60%),
        radial-gradient(420px 300px at 0% 100%, rgba(227, 30, 36, .35), transparent 60%),
        linear-gradient(140deg, #0d0d10 0%, #23252D 100%) !important;
}
.bg-conq::before {
    content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 26px 26px; mask-image: linear-gradient(160deg, #000 0%, transparent 60%); -webkit-mask-image: linear-gradient(160deg, #000 0%, transparent 60%);
}
.bg-conq > * { position: relative; }
/* heading colour override for this dark panel lives with the other dark surfaces, right after the base
   "h1..h5 { color: var(--cq-ink) }" rule - see the comment there. */
.btn-conq { background: linear-gradient(135deg, var(--cq-red), var(--cq-red-600)) !important; border: 0 !important; box-shadow: var(--cq-shadow-red); }

.logo { letter-spacing: -.03em; }
.logo span { background: linear-gradient(135deg, var(--cq-red), var(--cq-red-400)); -webkit-background-clip: text; background-clip: text; color: transparent !important; }

.promo-stats h3 { font-weight: 800; letter-spacing: -.03em; background: linear-gradient(135deg, #fff, #ffb3b3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.promo-stats p { font-size: .82rem; margin-bottom: 0; }

.carousel-inner { min-height: 300px; }
#promoCarousel .promo-slide-ico {
    width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem;
    background: linear-gradient(135deg, var(--cq-red), var(--cq-red-600)); box-shadow: var(--cq-shadow-red);
}
.promo-feat { display: flex; gap: .8rem; align-items: flex-start; border: 1px solid rgba(255, 255, 255, .12); transition: background .2s ease, transform .2s ease; }
.promo-feat:hover { background: rgba(255, 255, 255, .16) !important; transform: translateY(-2px); }
.promo-feat > i { font-size: 1.3rem; color: #ff8d8f; flex: none; margin-top: .1rem; }
.promo-feat h4 { font-size: .95rem; }
.carousel-indicators [data-bs-target] { background-color: rgba(255, 255, 255, .35); }
.carousel-indicators .active { background-color: var(--cq-red) !important; width: 20px !important; border-radius: 4px; }

.feature-card { border: 1px solid rgba(255, 255, 255, .14); transition: background .2s ease; }
.feature-card:hover { background: rgba(255, 255, 255, .16); }
.feature-card h5 { background: linear-gradient(135deg, #fff, #ffcaca); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 1.4rem; }

.promo-link { border: 1px solid rgba(255, 255, 255, .12); }

/* =====================================================================
   v2 — BOLD LAYER  (selectors are deliberately specific so they beat the
   pages' scoped / inline style rules without editing every page)
   ===================================================================== */

/* ---- 1. Dark top bar ---- */
body .conq-toprow {
    background: linear-gradient(100deg, #0b0b0e 0%, #1a1b21 60%, #2a1114 100%) !important;
    border-bottom: 0;
    box-shadow: 0 6px 24px rgba(11, 11, 14, .35);
}
body .conq-toprow::after { height: 3px; bottom: 0; background: linear-gradient(90deg, var(--cq-red), var(--cq-red-400) 40%, transparent 85%); }
body .conq-toprow .text-dark, body .conq-toprow .navbar .username, body .conq-toprow .small { color: #fff !important; }
body .conq-toprow .navbar-brand h3, body .conq-toprow .navbar-brand h4 { color: #fff !important; }
body .conq-toprow .btn, body .conq-toprow iconify-icon { color: #fff; }
body .conq-toprow .btn:hover { background: rgba(255, 255, 255, .12); }
body .conq-toprow .credit-hud .badge { background: rgba(255, 255, 255, .10) !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, .22) !important; }
body .conq-toprow .credit-hud:hover .badge { background: var(--cq-red) !important; border-color: var(--cq-red) !important; }
body .conq-toprow .dropdown-menu { color: var(--cq-text); }
/* the sub-bar (page title + back button + filters) - deliberately NOT nested inside .conq-toprow
   and NOT position:sticky (see MainLayout.razor comment): it sits in normal flow right under the
   always-sticky navbar, so a tall filter panel just pushes the page down instead of covering it. */
body .nav-header {
    background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
    border: 0; border-radius: 0 0 20px 20px; margin: 0 .75rem .9rem; overflow: visible;
    box-shadow: var(--cq-shadow-1);
    /* backdrop-filter alone (even with position:static) creates a new stacking context - without an
       explicit position + z-index here, that whole context (including any dropdown opened inside it,
       no matter its own z-index) gets painted as ONE atomic unit at the same "unpositioned" tier as
       <article>, ordered by DOM position - so it lost to the tender cards below it every time a
       dropdown here (e.g. My Tenders' Sort by) was opened. Promoting it above <article> (but still far
       below the navbar's 1031 and the pagination bar's 1015) fixes that for every dropdown/menu that
       lives in this bar, not just Sort by. */
    position: relative; z-index: 2;
}
body .nav-header.nav-header-sticky { position: sticky; top: var(--cq-toprow-h, 60px); z-index: 1020; }
body .nav-header-row { padding: .65rem .5rem .65rem .25rem !important; gap: .5rem; }
body .nav-back-btn {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 38px; height: 38px; border-radius: 50%; margin-right: .7rem;
    color: var(--cq-red); background: var(--cq-red-soft); border: 1px solid transparent; font-size: 1.1rem;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
body .nav-back-btn:hover { background: var(--cq-red); color: #fff; transform: translateX(-2px); }
body .nav-title, body .nav-header .h4 { font-weight: 800; letter-spacing: -.02em; color: var(--cq-ink); font-size: 1.3rem; }
body .nav-title::after, body .nav-header .h4::after { content: ""; display: block; width: 34px; height: 3px; border-radius: 3px; margin-top: 3px; background: linear-gradient(90deg, var(--cq-red), var(--cq-red-400)); }

/* ---- 2. Dashboard: "Tender Overview" hero tiles ---- */
.tender-stat > h5, .quick-stats > h5 {
    display: flex; align-items: center; gap: .6rem; font-size: 1.1rem; font-weight: 800 !important; color: var(--cq-ink) !important; margin: .4rem 0 .2rem !important;
}
.tender-stat > h5::before, .quick-stats > h5::before { content: ""; width: 5px; height: 1.15em; border-radius: 4px; background: linear-gradient(var(--cq-red), var(--cq-red-400)); }

body .tender-stat .dbcard.card.stat-card {
    border: 0; color: #fff; padding: 1.4rem !important; min-height: 176px; border-radius: 22px;
    background: linear-gradient(140deg, var(--t1), var(--t2)); box-shadow: 0 14px 30px var(--tsh, rgba(20, 21, 26, .25));
    transition: transform .28s cubic-bezier(.2, .7, .2, 1), box-shadow .28s ease;
}
body .tender-stat .col-12:nth-of-type(1) .stat-card { --t1: #E31E24; --t2: #8f1116; --tsh: rgba(227, 30, 36, .35); }
body .tender-stat .col-12:nth-of-type(2) .stat-card { --t1: #23252D; --t2: #0b0b0e; --tsh: rgba(20, 21, 26, .35); }
body .tender-stat .col-12:nth-of-type(3) .stat-card { --t1: #FF4D4D; --t2: #C4161C; --tsh: rgba(255, 77, 77, .35); }
body .tender-stat .col-12:nth-of-type(4) .stat-card { --t1: #3a3d46; --t2: #E31E24; --tsh: rgba(58, 61, 70, .35); }
body .tender-stat .dbcard.card.stat-card:hover { transform: translateY(-8px) scale(1.015); }
body .tender-stat .stat-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(260px 160px at 90% -10%, rgba(255, 255, 255, .28), transparent 65%); }
body .tender-stat .stat-card h3 { color: #fff; font-size: 2.5rem; font-weight: 800; letter-spacing: -.03em; }
body .tender-stat .stat-card .text-muted { color: rgba(255, 255, 255, .78) !important; font-weight: 500; }
body .tender-stat .stat-card .icon { opacity: .16; font-size: 6.5rem; right: -6px; bottom: -14px; }
body .tender-stat .stat-card .icon-box { background: rgba(255, 255, 255, .18) !important; color: #fff !important; backdrop-filter: blur(4px); }
body .tender-stat .stat-card .badge-soft { background: rgba(255, 255, 255, .18); color: #fff; border: 1px solid rgba(255, 255, 255, .25); font-size: .75rem; }
body .tender-stat .stat-card .bi-arrow-right { color: #fff; transition: transform .25s ease; }
body .tender-stat .stat-card:hover .bi-arrow-right { transform: translateX(6px); }

/* ---- 3. Dashboard: "My Tenders" tiles ---- */
body .quick-stats .dbcard.card {
    border: 1px solid var(--cq-line); border-left: 1px solid var(--cq-line); border-radius: 18px; overflow: hidden; position: relative; background: #fff;
}
body .quick-stats .dbcard.card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(var(--cq-red), var(--cq-red-400)); }
body .quick-stats .dbcard.card:hover { border-color: var(--cq-red-ring); box-shadow: 0 14px 30px rgba(227, 30, 36, .15); transform: translateY(-5px); }
body .quick-stats .card-body { padding: 1.1rem 1.2rem 1.1rem 1.4rem; }
body .quick-stats h6.text-muted { text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; font-weight: 700; }
body .quick-stats h3 { font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; color: var(--cq-ink); }
body .quick-stats .bg-conq-light {
    background: linear-gradient(140deg, var(--cq-red), var(--cq-red-600)) !important; border-radius: 16px !important; width: 54px; height: 54px;
    display: grid; place-items: center; padding: 0 !important; box-shadow: var(--cq-shadow-red); transition: transform .3s ease;
}
body .quick-stats .bg-conq-light i { color: #fff !important; font-size: 1.4rem !important; }
body .quick-stats .dbcard.card:hover .bg-conq-light { transform: rotate(-8deg) scale(1.1); }
body .quick-stats small { font-weight: 600; }

/* ---- 4. Advanced Search hero + summary strip ---- */
body article .advanced-search-card > div {
    background:
        radial-gradient(420px 220px at 100% 0%, rgba(255, 77, 77, .7), transparent 60%),
        linear-gradient(135deg, #0b0b0e 0%, #23252D 100%) !important;
    border-radius: 24px !important; padding: 1.75rem !important; box-shadow: var(--cq-shadow-2); position: relative; overflow: hidden;
}
body article .advanced-search-card h5 { font-size: 1.35rem; font-weight: 800; }
body article .advanced-search-card .btn-light { background: var(--cq-red); border-color: var(--cq-red); color: #fff; font-weight: 700; box-shadow: var(--cq-shadow-red); border-radius: 14px; }
body article .advanced-search-card .btn-light:hover { background: var(--cq-red-400); }
body article .summary-card {
    background: #fff; border: 1px solid var(--cq-line); border-radius: 22px; box-shadow: var(--cq-shadow-1); overflow: hidden;
}
body article .metric-card .metric-value { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; background: linear-gradient(135deg, var(--cq-ink), var(--cq-red)); -webkit-background-clip: text; background-clip: text; color: transparent; }
body article .metric-card .metric-label { text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; font-weight: 700; color: var(--cq-muted); }
body article .state-card { border-radius: 18px; border: 1px solid var(--cq-line); box-shadow: var(--cq-shadow-1); transition: transform .25s ease, box-shadow .25s ease; }
body article .state-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(227, 30, 36, .2); }

/* ---- 5. Tender cards (My Tenders / notifications) ---- */
body article .tender-card.tender-card {
    background: #fff; border: 1px solid var(--cq-line); border-radius: 20px; position: relative; overflow: hidden;
    box-shadow: var(--cq-shadow-1); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
body article .tender-card.tender-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(var(--cq-red), var(--cq-ink)); }
body article .tender-card.tender-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(20, 21, 26, .13); border-color: var(--cq-red-ring); }
body article .tender-card.tender-card .tender-header { background: linear-gradient(90deg, #fbfbfc, #f6eaea 140%); border-radius: 0; border-bottom: 1px solid var(--cq-line); padding: .8rem 1rem .8rem 1.4rem; }
body article .tender-card.tender-card .tender-id { background: var(--cq-ink); color: #fff; border-radius: 999px; font-weight: 700; letter-spacing: .03em; padding: .35rem .9rem; }
body article .tender-card.tender-card .rate-badge { border-radius: 999px; font-weight: 700; background: var(--cq-red-soft); color: var(--cq-red-600); }
body article .tender-card.tender-card .rate-badge.percentage { background: #eee; color: var(--cq-ink-2); }
body article .tender-card.tender-card .tender-body { padding: 1rem 1rem 1rem 1.4rem; }
body article .tender-card.tender-card .tender-title { font-size: 1.08rem; font-weight: 700; color: var(--cq-ink); }
body article .tender-card.tender-card .info-item i { color: var(--cq-red); }
body article .tender-card.tender-card .date-chip { border-radius: 999px; border: 1px solid var(--cq-line); background: #fafafb; }
body article .tender-card.tender-card .value-amount { font-weight: 800; color: var(--cq-ink); letter-spacing: -.02em; }
body article .tender-card.tender-card .action-buttons .btn { border-radius: 12px; }
body article .tender-card.tender-card .btn-favorite.fav { background: var(--cq-red); border-color: var(--cq-red); color: #fff; }

/* status pills */
body article .status-badge { border-radius: 999px; padding: .4rem .9rem; font-size: .75rem; font-weight: 700; letter-spacing: .03em; border: 1px solid transparent; }
body article .status-badge.tender-status { background: var(--cq-ink); color: #fff; }
body article .status-badge.tender-status i { color: var(--cq-red-400); font-size: .55rem; margin-right: .25rem; }
body article .status-badge.emd-status { background: #fff5d6; color: #92650a; }

/* ---- 6. Generic page furniture ---- */
body article .alert-warning { background: linear-gradient(90deg, #fff8e6, #fff); border-left: 5px solid var(--cq-gold); }
body article .form-select, body article .form-control { background-color: #fff; padding-top: .55rem; padding-bottom: .55rem; }
body article .table-responsive, body article .card > .table { background: #fff; border: 1px solid var(--cq-line); border-radius: 16px; box-shadow: var(--cq-shadow-1); }
body article .modal-header { border-bottom: 1px solid var(--cq-line); background: linear-gradient(90deg, #fff, #faf3f3); }
body .modal-content { border-radius: 22px; overflow: hidden; }
body .btn-close:hover { color: var(--cq-red); }

.mp-hero .art { position: relative; }
.mp-hero .art img { border-radius: 24px; }

/* =====================================================================
   My Tenders: toolbar (status/search/sort) + sticky-bottom pagination bar
   ===================================================================== */
.cq-toolbar { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.cq-toolbar-search { width: 100%; justify-content: space-between; }
.cq-search { max-width: 420px; flex: 1 1 260px; }
.cq-search .input-group-text, .cq-search .form-control { border-color: var(--cq-line); }
.cq-toolbar select.form-select { min-width: 130px; }

/* My Tenders: one toolbar bar, all four controls (search/status/EMD/sort) as clearly separated,
   labeled groups instead of two disjointed rows split across RightContent/BottomContent. */
.cq-tenders-toolbar {
    display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; width: 100%;
    background: #fff; border: 1px solid var(--cq-line); border-radius: 14px; padding: .7rem 1rem;
    box-shadow: var(--cq-shadow-1);
}
.cq-tt-group { display: flex; align-items: center; gap: .5rem; }
.cq-tt-label { display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem; font-weight: 700; color: var(--cq-muted); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.cq-tt-label i { color: var(--cq-red); }
.cq-tt-group select.form-select { min-width: 130px; }
.cq-tt-search { flex: 1 1 260px; min-width: 220px; }
.cq-tt-search input { min-width: 0; }
.cq-tt-check { margin-left: -.15rem; }
.cq-tt-sep { width: 1px; height: 26px; background: var(--cq-line); flex: none; }
@media (max-width: 767.98px) {
    .cq-tenders-toolbar { align-items: stretch; }
    .cq-tt-group { flex: 1 1 100%; justify-content: space-between; }
    .cq-tt-group select.form-select { flex: 1; }
    .cq-tt-sep { display: none; }
}

/* Fixed to the viewport bottom, full width - this app has no left sidebar (MainLayout never renders
   NavMenu/.sidebar; that class only exists as unused leftover template CSS), so there is no column to
   offset past. A spacer of matching height keeps the last card clear of it.
   IMPORTANT: must not be nested inside anything carrying `transform`/`filter`/`will-change` (including a
   finished `animation: ... both` - see the cq-rise comment above) or the browser turns that ancestor into
   its containing block, and this bar stops tracking the viewport (looks "not sticky" / not full width). */
.cq-pagebar-spacer { height: 78px; }
.cq-pagebar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1015; width: 100%;
    background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px);
    border-top: 1px solid var(--cq-line); box-shadow: 0 -8px 24px rgba(20, 21, 26, .08);
}
.cq-pagebar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1.25rem; flex-wrap: wrap; }
.cq-pagebar .pagination { margin: 0; }
.cq-pagebar .page-link { border-radius: 8px !important; margin: 0 2px; border-color: var(--cq-line); }

/* =====================================================================
   Tender Dashboard (state summary + state grid) and similar KPI rows
   ===================================================================== */
.cq-kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.cq-kpi {
    display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.4rem; border-radius: 20px; color: #fff;
    box-shadow: 0 14px 28px var(--tsh); background: linear-gradient(140deg, var(--t1), var(--t2));
    position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
}
.cq-kpi::after { content: ""; position: absolute; inset: 0; background: radial-gradient(220px 120px at 100% -20%, rgba(255, 255, 255, .28), transparent 65%); pointer-events: none; }
.cq-kpi:hover { transform: translateY(-5px); }
.cq-kpi .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; background: rgba(255, 255, 255, .18); flex: none; backdrop-filter: blur(4px); }
.cq-kpi .v { font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.cq-kpi .l { font-size: .78rem; opacity: .85; font-weight: 500; margin-top: .15rem; }
.cq-kpi.kpi-1 { --t1: #E31E24; --t2: #8f1116; --tsh: rgba(227, 30, 36, .3); }
.cq-kpi.kpi-2 { --t1: #23252D; --t2: #0b0b0e; --tsh: rgba(20, 21, 26, .3); }
.cq-kpi.kpi-3 { --t1: #3a3d46; --t2: #E31E24; --tsh: rgba(58, 61, 70, .3); }

.state-card .state-flag {
    width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: .6rem;
    background: var(--cq-red-soft); color: var(--cq-red); font-size: 1.15rem; transition: transform .25s ease;
}
.state-card:hover .state-flag { transform: scale(1.12) rotate(-4deg); background: rgba(255, 255, 255, .22); color: #fff; }
.state-card .state-go { color: var(--cq-red); opacity: 0; transform: translateX(-4px); transition: all .25s ease; }
.state-card:hover .state-go { opacity: 1; transform: translateX(0); color: #fff; }
body article .state-card { padding: 1.35rem 1.4rem; }

/* State tender dashboard (tendernotificationsdb/{state}) - already glassy/premium; just tie its
   category/favorite cards' shadow depth to the rest of the app for consistency */
body article .category-card, body article .favorite-card { box-shadow: var(--cq-shadow-1); }
body article .category-card:hover, body article .favorite-card:hover { box-shadow: var(--cq-shadow-2); }
body article .header-card { border-radius: 24px; box-shadow: var(--cq-shadow-1); }

/* =====================================================================
   Favorite Offices
   ===================================================================== */
.fav-grid { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.fav-chip {
    display: flex; align-items: center; gap: .8rem; background: #fff; border: 1px solid var(--cq-line);
    border-radius: 16px; padding: .8rem .9rem; box-shadow: var(--cq-shadow-1); transition: transform .2s ease, box-shadow .2s ease;
}
.fav-chip:hover { transform: translateY(-3px); box-shadow: var(--cq-shadow-2); border-color: var(--cq-red-ring); }
.fav-chip-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--cq-red-soft); color: var(--cq-red); display: grid; place-items: center; font-size: 1.15rem; flex: none; }
.fav-chip-body { min-width: 0; flex: 1; }
.fav-chip-name { font-weight: 700; color: var(--cq-ink); font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fav-chip-dept { font-size: .74rem; color: var(--cq-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fav-chip-remove {
    flex: none; width: 30px; height: 30px; border-radius: 50%; border: 0; background: transparent; color: var(--cq-muted);
    display: grid; place-items: center; transition: all .18s ease;
}
.fav-chip-remove:hover { background: var(--cq-red); color: #fff; }
#modalBoqView .list-group-item { border-radius: 8px; margin-bottom: 2px; border-color: var(--cq-line); }
#modalBoqView .list-group-item:hover { background: var(--cq-red-soft); color: var(--cq-red-600); }

/* =====================================================================
   Admin User Dashboard
   ===================================================================== */
.cq-user-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-top: 1rem; }
.cq-user-card {
    position: relative; background: #fff; border: 1px solid var(--cq-line); border-radius: 18px; padding: 1.1rem;
    box-shadow: var(--cq-shadow-1); transition: transform .2s ease, box-shadow .2s ease;
}
.cq-user-card:hover { transform: translateY(-4px); box-shadow: var(--cq-shadow-2); }
.cq-user-sl { position: absolute; top: .7rem; right: .9rem; font-size: .68rem; color: var(--cq-muted); font-weight: 700; }
.cq-user-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .8rem; }
.cq-user-avatar {
    width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 800;
    color: #fff; background: linear-gradient(135deg, var(--cq-red), var(--cq-ink)); font-size: .95rem;
}
.cq-user-name { font-weight: 700; color: var(--cq-ink); }
.cq-user-sub { font-size: .78rem; color: var(--cq-muted); }
.cq-user-meta { display: grid; gap: .35rem; font-size: .82rem; color: var(--cq-ink-2); border-top: 1px dashed var(--cq-line); padding-top: .7rem; margin-bottom: .7rem; }
.cq-user-meta div { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.cq-user-meta i { color: var(--cq-red); width: 14px; text-align: center; flex: none; }
.cq-user-stats { display: flex; gap: 1.2rem; margin-bottom: .8rem; }
.cq-user-stats div { display: flex; flex-direction: column; }
.cq-user-stats b { font-size: 1.15rem; font-weight: 800; color: var(--cq-ink); }
.cq-user-stats span { font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--cq-muted); }
.cq-user-actions { display: flex; align-items: center; gap: .5rem; border-top: 1px solid var(--cq-line); padding-top: .7rem; }

/* =====================================================================
   My Profile (ProfilePage.razor.css is Blazor-scoped, so these repeat the
   class to out-specificity its [b-xxxx]-scoped rules - see conq-modern.css
   header note in the docs for why)
   ===================================================================== */
body article .content-section.content-section {
    border: 1px solid var(--cq-line); border-radius: 18px; box-shadow: var(--cq-shadow-1);
    transition: box-shadow .2s ease; overflow: hidden;
}
body article .content-section.content-section:hover { box-shadow: var(--cq-shadow-2); }
body article .section-header.section-header { background: linear-gradient(90deg, #fff, #fbf4f4); }
body article .section-icon.section-icon { background: var(--cq-red-soft); color: var(--cq-red); border-radius: 12px; }
body article .bank-card.bank-card { border: 1px solid var(--cq-line); border-radius: 16px; box-shadow: var(--cq-shadow-1); }
body article .bank-card.bank-card:hover { border-color: var(--cq-red-ring); box-shadow: var(--cq-shadow-2); }
body article .delete-btn.delete-btn { background: var(--cq-red-soft); color: var(--cq-red); }
body article .delete-btn.delete-btn:hover { background: var(--cq-red); color: #fff; }
body article .progress-sidebar .content-section.content-section { position: sticky; top: 1rem; }
body article .progress-item.progress-item { border-radius: 12px; }
body article .progress-item.progress-item.active { background: linear-gradient(90deg, var(--cq-red-soft), transparent); color: var(--cq-red-600); font-weight: 600; }
body article .progress-item.progress-item.active .progress-number.progress-number { background: linear-gradient(135deg, var(--cq-red), var(--cq-red-600)); color: #fff; box-shadow: var(--cq-shadow-red); }
body article .progress-number.progress-number { transition: all .2s ease; }
body article .signature-sec.signature-sec { border-radius: 16px; background: linear-gradient(135deg, #fafafa, #f3f3f5); }
body article .btn-conq.btn-conq { background: linear-gradient(135deg, var(--cq-red), var(--cq-red-600)); border-radius: .65rem; box-shadow: var(--cq-shadow-red); }


/* ============================================================
   Status pills (explicit colours: the Bootstrap text-bg-* classes depend on the palette re-pointed above)
   ============================================================ */
.cq-pill { display: inline-flex; align-items: center; gap: .3rem; padding: .22rem .65rem; border-radius: 999px; font-size: .75rem; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.cq-pill.grey  { background: #eceef1; color: #3b4652; }
.cq-pill.blue  { background: #e3eefe; color: #1d4ed8; }
.cq-pill.amber { background: #fff1cc; color: #8a5a00; }
.cq-pill.green { background: #dcfce7; color: #166534; }
.cq-pill.red   { background: #fde2e2; color: #b42318; }

/* ============================================================
   Tender card that was just acted on (BOQ opened) - /tenders and /tendernotifications
   ============================================================ */
body article .tender-card.tender-card.selected-tender { border-color: #22a06b; box-shadow: 0 0 0 3px rgba(34, 160, 107, .22), var(--cq-shadow-2); }
body article .tender-card.tender-card.selected-tender::before { background: linear-gradient(#22a06b, #166534); }
body article .tender-card.tender-card.selected-tender .tender-header { background: linear-gradient(90deg, #ecfdf3, #f6fffa 140%); }
.selected-tag { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 700; color: #166534; background: #dcfce7; border-radius: 999px; padding: .2rem .65rem; }

/* ============================================================
   BOQ editor / viewer
   ============================================================ */
.boq-modal .modal-header { background: linear-gradient(90deg, #14151A, #2a2c35); border-bottom: 0; padding: .9rem 1.2rem; }
body article .boq-modal .modal-header { background: linear-gradient(90deg, #14151A, #2a2c35); }
.boq-modal .modal-header .modal-title { color: #fff; font-weight: 700; letter-spacing: -.01em; }
.boq-modal .modal-header .modal-title small { font-weight: 600; color: rgba(255,255,255,.65); margin-left: .4rem; }
.boq-modal .modal-header .btn-close { filter: invert(1) grayscale(1) brightness(2); opacity: .8; }
.boq-modal .modal-body { background: var(--cq-bg); }

.boq-wrap { padding: .75rem; }
.boq-note { display: flex; gap: .6rem; align-items: flex-start; border-radius: 12px; padding: .7rem .9rem; margin-bottom: .75rem; font-size: .85rem; font-weight: 600; }
.boq-note.warn { background: #fff7e6; border: 1px solid #f5d98b; color: #7a5b00; }
.boq-note.info { background: #eef5ff; border: 1px solid #c9dcfb; color: #1e3a8a; }
.boq-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; justify-content: flex-end; background: #fff; border: 1px solid var(--cq-line); border-radius: 12px; padding: .55rem .8rem; margin-bottom: .75rem; }
.boq-toolbar .lbl { font-size: .78rem; font-weight: 700; color: var(--cq-muted); text-transform: uppercase; letter-spacing: .05em; }

.boq-section { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 1.1rem 0 .6rem; padding: .65rem .9rem; border-radius: 12px;
    background: linear-gradient(90deg, #14151A, #2a2c35); color: #fff; }
.boq-section .h6 { color: #fff !important; font-weight: 700; margin: 0; }
.boq-section .form-select { background-color: #fff; }

.boq-line { position: relative; background: #fff; border: 1px solid var(--cq-line); border-radius: 14px; padding: .8rem 1rem .8rem 1.1rem; margin-bottom: .6rem;
    box-shadow: var(--cq-shadow-1); transition: box-shadow .18s ease, border-color .18s ease; }
.boq-line::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: var(--cq-red); opacity: .75; }
.boq-line:hover { box-shadow: var(--cq-shadow-2); border-color: var(--cq-red-ring); }
.boq-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-bottom: .4rem; }
.boq-serial { font-weight: 800; font-size: .78rem; color: var(--cq-red-600); background: var(--cq-red-soft); border-radius: 8px; padding: .15rem .55rem; }
.boq-qty { font-size: .78rem; font-weight: 600; color: var(--cq-ink-2); background: #eef0f3; border-radius: 8px; padding: .15rem .55rem; }
.boq-desc { color: var(--cq-text); line-height: 1.45; font-size: .93rem; }
.boq-ratebar { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .25rem .9rem; padding: .35rem .7rem !important; border-radius: 10px !important; background: #f3f4f6; margin-top: .4rem; }
.boq-ratebar.bg-warning-subtle { background: #fff4d6 !important; box-shadow: inset 0 0 0 1px #f5d98b; }
.boq-ratebar.bg-success-subtle { background: #e8f8ee !important; box-shadow: inset 0 0 0 1px #b6e5c7; }
.boq-ratebar .small { font-size: .82rem !important; color: var(--cq-muted); }
.boq-ratebar .fw-bold { color: var(--cq-ink); font-size: .95rem; }
.boq-line .form-control-sm { border-radius: 8px; border-color: rgba(20,21,26,.15); }
.boq-line .form-control-sm[readonly] { background: #f6f7f9; font-weight: 600; }
.boq-line .form-control-sm:focus { border-color: var(--cq-red); box-shadow: 0 0 0 3px var(--cq-red-ring); }

.boq-footer { position: sticky; bottom: 0; z-index: 3; margin-top: .75rem; padding: .7rem .9rem; border-radius: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
    background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border: 1px solid var(--cq-line); box-shadow: 0 -6px 22px rgba(20,21,26,.10); }
.boq-footer .btn { border-radius: 10px; font-weight: 700; padding: .45rem 1.1rem; }

/* ============================================================
   Refer & Earn
   ============================================================ */
.rf-wrap { max-width: 760px; }
.rf-guide { position: relative; overflow: hidden; border-radius: 18px; padding: 1.2rem 1.3rem; margin-bottom: 1rem; color: #fff;
    background: radial-gradient(120% 160% at 100% 0%, rgba(201,162,39,.55) 0%, rgba(122,16,19,0) 55%), linear-gradient(135deg, #14151A, #2a2c35); box-shadow: var(--cq-shadow-2); }
.rf-guide h5 { color: #fff !important; margin-bottom: .6rem; }
.rf-guide .rf-rewards { list-style: none; margin: .4rem 0 .6rem; padding: 0; display: grid; gap: .45rem; }
.rf-guide .rf-rewards li { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: .5rem .75rem; }
.rf-guide .rf-plan { font-weight: 800; color: #f5c542; min-width: 5.5rem; }
.rf-guide .rf-credit { background: rgba(255,255,255,.14); border-radius: 999px; padding: .12rem .6rem; font-size: .82rem; }
.rf-guide .rf-foot { font-size: .8rem; color: rgba(255,255,255,.7); }
.rf-form { border-radius: 18px; border: 1px solid var(--cq-line); border-top: 4px solid #25D366; background: #fff; box-shadow: var(--cq-shadow-1); padding: 1.2rem 1.3rem; margin-bottom: 1.4rem; }
.rf-form h5 { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.rf-form h5 .num { width: 26px; height: 26px; border-radius: 50%; background: #25D366; color: #fff; font-size: .8rem; display: inline-flex; align-items: center; justify-content: center; }
.rf-invite { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--cq-line); border-radius: 14px; padding: .65rem .9rem; box-shadow: var(--cq-shadow-1); }
.rf-avatar { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--cq-red), #7a1013); flex: 0 0 auto; }

/* ============================================================
   Admin referral dashboard (cards)
   ============================================================ */
.rd-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; margin-bottom: 1rem; }
.rd-stat { background: #fff; border: 1px solid var(--cq-line); border-radius: 14px; padding: .8rem 1rem; box-shadow: var(--cq-shadow-1); }
.rd-stat .n { font-size: 1.6rem; font-weight: 800; line-height: 1.1; }
.rd-stat .t { font-size: .78rem; color: var(--cq-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.rd-filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1rem; }
.rd-chip { border: 1px solid var(--cq-line); background: #fff; border-radius: 999px; padding: .28rem .85rem; font-size: .82rem; font-weight: 600; color: var(--cq-ink-2); cursor: pointer; }
.rd-chip.active { background: var(--cq-ink); color: #fff; border-color: var(--cq-ink); }
.rd-card { height: 100%; background: #fff; border: 1px solid var(--cq-line); border-radius: 16px; box-shadow: var(--cq-shadow-1); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.rd-card:hover { transform: translateY(-3px); box-shadow: var(--cq-shadow-2); }
.rd-head { display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; background: linear-gradient(90deg, #fbfbfc, #f6eaea 140%); border-bottom: 1px solid var(--cq-line); }
.rd-head .who { min-width: 0; flex: 1; }
.rd-head .who .nm { font-weight: 700; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-head .who .sub { font-size: .75rem; color: var(--cq-muted); }
.rd-flow { display: grid; grid-template-columns: 1fr auto 1fr; gap: .5rem; align-items: center; padding: .8rem 1rem .4rem; }
.rd-flow .col .lbl { font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--cq-muted); font-weight: 700; }
.rd-flow .col .val { font-weight: 600; word-break: break-word; }
.rd-flow .col .sm { font-size: .8rem; color: var(--cq-muted); word-break: break-all; }
.rd-flow .arrow { color: var(--cq-red); font-size: 1.2rem; }
.rd-foot { display: flex; flex-wrap: wrap; gap: .3rem 1rem; padding: .55rem 1rem .85rem; font-size: .78rem; color: var(--cq-muted); }
.rd-foot b { color: var(--cq-ink-2); font-weight: 600; }

.boq-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; min-height: 260px; color: var(--cq-muted); font-weight: 600; }
