/* =====================================================================
   TONI&GUY Hoshiarpur CRM - Theme
   Calm, professional UI in the salon's monochrome palette:
   jet black sidebar, light grey canvas, white cards, gold accent.
   - Body text, tables & forms: the system UI font (clear at small sizes)
   - Headings & numbers: Jost (Futura-style brand font), medium weight
   ===================================================================== */

@font-face { font-family: 'Jost'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/jost-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/jost-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/jost-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/jost-latin-700-normal.woff2') format('woff2'); }

:root {
    --tg-black: #111111;
    --tg-black-2: #1c1c1c;
    --tg-black-3: #262626;
    --tg-paper: #f2f2f0;
    --tg-white: #ffffff;
    --tg-ink: #1d1d1f;
    --tg-ink-2: #3a3a3c;
    --tg-muted: #6e6e73;
    --tg-line: #e1e1e1;
    --tg-line-2: #ececec;
    --tg-gold: #a8844f;
    --tg-gold-2: #c9a76f;
    --tg-gold-soft: #f6efe3;
    --tg-success: #1f7a4d;
    --tg-danger: #b42318;
    --tg-warning: #b7791f;
    --tg-radius: 8px;
    --sidebar-w: 240px;

    --font-ui: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-brand: 'Jost', 'Futura', 'Century Gothic', var(--font-ui);

    --bs-body-font-family: var(--font-ui);
    --bs-body-font-size: 14px;
    --bs-body-color: var(--tg-ink);
    --bs-body-bg: #ffffff;
    --bs-border-color: var(--tg-line);
    --bs-border-radius: 6px;
    --bs-border-radius-sm: 5px;
    --bs-border-radius-lg: 10px;
    --bs-link-color: var(--tg-ink);
    --bs-link-color-rgb: 29,29,31;
    --bs-link-hover-color: var(--tg-gold);
    --bs-link-hover-color-rgb: 168,132,79;
    --bs-primary: #111111;
    --bs-primary-rgb: 17,17,17;
    --bs-focus-ring-color: rgba(168,132,79,.3);
}

html, body { min-height: 100%; }
body {
    font-family: var(--font-ui);
    font-size: 14px;
    line-height: 1.5;
    background: var(--tg-paper);
    color: var(--tg-ink);
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-brand); font-weight: 600; }
.min-w-0 { min-width: 0; }
.fw-heavy { font-weight: 600 !important; }
.fw-bold { font-weight: 600 !important; }
.fs-4 { font-size: 1.15rem !important; }
.fs-5 { font-size: 1.05rem !important; }
.text-gold { color: var(--tg-gold) !important; }
.text-muted { color: var(--tg-muted) !important; }
.small, small { font-size: 12.5px; }
.tabular, .table td.num, .table th.num, .num { font-variant-numeric: tabular-nums; }
.table td.num, .table th.num { text-align: right; white-space: nowrap; }
.text-uppercase { letter-spacing: .04em; }

/* ---------- Layout ---------- */
.app { display: flex; min-height: 100vh; }
.main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.content { padding: 24px 28px 12px; flex: 1; width: 100%; max-width: 1440px; margin: 0 auto; }

/* ---------- Sidebar ---------- */
.sidebar {
    background: var(--tg-black);
    color: #cfcfcf;
    width: var(--sidebar-w);
    display: flex;
    flex-direction: column;
    --bs-offcanvas-width: 264px;
    --bs-offcanvas-bg: var(--tg-black);
}
@media (min-width: 992px) {
    .app .sidebar {
        position: sticky; top: 0; height: 100vh; flex: 0 0 var(--sidebar-w);
        display: flex !important;
        background-color: var(--tg-black) !important; /* bootstrap .offcanvas-lg makes it transparent */
        overflow: hidden;
    }
}
.sidebar-brand {
    padding: 20px 20px 16px;
    border-bottom: 1px solid #222;
    display: flex; align-items: flex-start; justify-content: space-between;
}
.brand-logo { width: 118px; height: auto; display: block; }
.brand-sub {
    display: block; margin-top: 7px; font-size: 10px; letter-spacing: .18em;
    text-transform: uppercase; color: var(--tg-gold-2); font-weight: 500;
}
.sidebar-nav { padding: 8px 10px; overflow-y: auto; flex: 1; min-height: 0; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.nav-section {
    font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
    color: #777; padding: 14px 10px 4px; font-weight: 500;
}
.sidebar .nav-link {
    display: flex; align-items: center; gap: 10px;
    color: #b8b8b8; padding: 7px 10px; border-radius: 6px;
    font-size: 13.5px; font-weight: 400; position: relative;
    transition: background .15s, color .15s;
}
.sidebar .nav-link i { font-size: 15px; width: 18px; text-align: center; opacity: .85; }
.sidebar .nav-link:hover { color: #fff; background: var(--tg-black-2); }
.sidebar .nav-link.active { color: #fff; background: var(--tg-black-3); font-weight: 500; }
.sidebar .nav-link.active::before {
    content: ''; position: absolute; left: -10px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--tg-gold);
}
.sidebar .nav-link.nav-highlight {
    color: #111; background: var(--tg-gold-2); font-weight: 500; margin: 6px 0 4px; justify-content: flex-start;
}
.sidebar .nav-link.nav-highlight:hover { background: #d8b985; color: #111; }
.sidebar .nav-link.nav-highlight.active::before { display: none; }
.sidebar-user {
    border-top: 1px solid #222; padding: 12px 14px;
    display: flex; align-items: center; gap: 10px;
}
.sidebar-user .avatar {
    width: 32px; height: 32px; border-radius: 50%; background: var(--tg-gold-2); color: #111;
    display: grid; place-items: center; font-weight: 600; font-size: 12px; flex: 0 0 32px;
}
.sidebar-user .name { color: #fff; font-weight: 500; font-size: 13px; }
.sidebar-user .role { font-size: 11px; color: #8a8a8a; }
.sidebar-user .icon-btn { color: #9a9a9a; font-size: 16px; padding: 4px; }
.sidebar-user .icon-btn:hover { color: #fff; }

/* ---------- Mobile top bar ---------- */
.topbar {
    position: sticky; top: 0; z-index: 1030; background: var(--tg-black);
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 12px; padding-top: max(8px, env(safe-area-inset-top));
}
.topbar .btn-icon { color: #fff; font-size: 24px; line-height: 1; padding: 2px 6px; border: 0; }
.topbar-logo { height: 17px; width: auto; }

/* ---------- Page header ---------- */
.page-head {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 20px;
}
.page-title {
    font-family: var(--font-brand); font-weight: 600; letter-spacing: -.005em;
    font-size: 24px; line-height: 1.2; margin: 0; color: var(--tg-ink);
}
.page-subtitle { color: var(--tg-muted); margin-top: 3px; font-size: 13px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ---------- Cards ---------- */
.card {
    --bs-card-border-color: var(--tg-line);
    --bs-card-border-radius: var(--tg-radius);
    --bs-card-inner-border-radius: calc(var(--tg-radius) - 1px);
    --bs-card-cap-bg: #fff;
    background: #fff; border: 1px solid var(--tg-line);
    box-shadow: 0 1px 2px rgba(0,0,0,.03);
}
.card-header {
    background: #fff; border-bottom: 1px solid var(--tg-line-2); padding: 12px 16px;
    display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.card-body { padding: 16px; }
.card-footer { padding: 12px 16px; border-top: 1px solid var(--tg-line-2); }
.card-title, .section-title {
    font-family: var(--font-brand); font-weight: 600; font-size: 15px; margin: 0; color: var(--tg-ink);
}
.section-rule {
    display: flex; align-items: center; gap: 12px; font-family: var(--font-brand); font-weight: 600;
    text-transform: uppercase; letter-spacing: .1em; font-size: 12.5px; color: var(--tg-ink-2); margin: 6px 0 10px;
}
.section-rule::after { content: ''; flex: 1; height: 1px; background: #cfcfcf; }
.card-dark { background: var(--tg-black); color: #eee; border-color: var(--tg-black); }
.card-dark .text-muted { color: #9a9a9a !important; }
.card-dark .section-title, .card-dark .card-title { color: #fff; }

/* ---------- KPI tiles ---------- */
.kpi {
    background: #fff; border: 1px solid var(--tg-line); border-radius: var(--tg-radius);
    padding: 14px 16px; height: 100%; position: relative; overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,.03);
}
.kpi .kpi-label { font-size: 12.5px; color: var(--tg-muted); font-weight: 500; }
.kpi .kpi-value { font-family: var(--font-brand); font-size: 22px; font-weight: 600; line-height: 1.25; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi .kpi-meta { font-size: 12px; color: var(--tg-muted); margin-top: 3px; }
.kpi .kpi-icon { position: absolute; right: 14px; top: 13px; font-size: 16px; color: #c8c8c8; }
.kpi.kpi-dark { background: var(--tg-black); border-color: var(--tg-black); color: #fff; }
.kpi.kpi-dark .kpi-label, .kpi.kpi-dark .kpi-meta { color: #a8a8a8; }
.kpi.kpi-dark .kpi-icon { color: var(--tg-gold-2); }
.kpi a.stretched-link::after { z-index: 1; }
.delta-up { color: var(--tg-success); font-weight: 500; }
.delta-down { color: var(--tg-danger); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn { font-weight: 500; font-size: 13.5px; border-radius: 6px; padding: .4rem .85rem; letter-spacing: 0; }
.btn-sm { font-size: 12.5px; padding: .28rem .6rem; border-radius: 5px; }
.btn-lg { font-size: 15px; padding: .55rem 1rem; }
.btn i { font-size: .95em; }
.btn-dark { --bs-btn-bg: #111; --bs-btn-border-color: #111; --bs-btn-hover-bg: #2b2b2b; --bs-btn-hover-border-color: #2b2b2b; }
.btn-outline-dark { --bs-btn-color: #2b2b2b; --bs-btn-border-color: #d0d0d0; --bs-btn-hover-color: #111; --bs-btn-hover-bg: #f2f2f2; --bs-btn-hover-border-color: #bdbdbd; --bs-btn-active-bg: #e9e9e9; --bs-btn-active-color: #111; background: #fff; }
.btn-outline-danger { --bs-btn-border-color: #ecc8c4; background: #fff; }
.btn-gold { background: var(--tg-gold-2); border-color: var(--tg-gold-2); color: #111; }
.btn-gold:hover, .btn-gold:focus { background: #d8b985; border-color: #d8b985; color: #111; }
.btn-whatsapp { background: #1f8f4e; border-color: #1f8f4e; color: #fff; }
.btn-whatsapp:hover { background: #18773f; border-color: #18773f; color: #fff; }
.btn-xs { padding: 1px 7px; font-size: 12px; border-radius: 4px; white-space: nowrap; }
.btn-group-sm > .btn { font-size: 12.5px; }

/* ---------- Forms ---------- */
.form-label { font-size: 12.5px; font-weight: 500; color: var(--tg-ink-2); margin-bottom: 4px; }
.form-control, .form-select { border-color: #d4d4d4; border-radius: 6px; font-size: 14px; background-color: #fff; padding: .42rem .7rem; }
.form-select { padding-right: 2rem; }
.form-control-sm, .form-select-sm { font-size: 13px; padding: .28rem .55rem; }
.form-select-sm { padding-right: 1.8rem; }
.form-control-lg { font-size: 15px; padding: .55rem .8rem; }
.input-group-text { background-color: #fff; border-color: #d4d4d4; font-size: 14px; }
.form-control:disabled, .form-control[readonly] { background-color: #f5f5f5; }
.form-control:focus, .form-select:focus { border-color: var(--tg-gold); box-shadow: 0 0 0 .18rem rgba(168,132,79,.18); }
.form-check-input:checked { background-color: var(--tg-black); border-color: var(--tg-black); }
.form-switch .form-check-input:focus { box-shadow: 0 0 0 .18rem rgba(168,132,79,.18); }
.form-check-label { font-size: 13.5px; }
.form-text { font-size: 12px; }
.required::after { content: ' *'; color: var(--tg-danger); }
.filter-bar {
    background: #fff; border: 1px solid var(--tg-line); border-radius: var(--tg-radius);
    padding: 12px 14px 14px; margin-bottom: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.03);
}
.filter-bar .form-label { font-size: 12px; color: var(--tg-muted); margin-bottom: 3px; }
.filter-bar .form-control, .filter-bar .form-select { font-size: 13px; padding-top: .3rem; padding-bottom: .3rem; }
.filter-bar .btn { font-size: 13px; padding: .3rem .75rem; }

/* ---------- Tables ---------- */
.table { --bs-table-bg: #fff; --bs-table-hover-bg: #faf8f4; margin-bottom: 0; vertical-align: middle; font-size: 13.5px; }
.table > thead th {
    font-size: 12px; color: var(--tg-muted); font-weight: 600;
    border-bottom: 1px solid var(--tg-line); white-space: nowrap; background: #fafafa;
}
.table td { border-color: var(--tg-line-2); }
.table tfoot td, .table tfoot th { font-weight: 600; border-top: 1px solid #cfcfcf; background: #fafafa; }
.table-card { background: #fff; border: 1px solid var(--tg-line); border-radius: var(--tg-radius); overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.table-card .table > :not(caption) > * > * { padding: .6rem .8rem; }
.card .table > thead th:first-child, .table-card .table > thead th:first-child { padding-left: 1rem; }
.card .table td:first-child, .table-card .table td:first-child { padding-left: 1rem; }
.row-actions { white-space: nowrap; text-align: right; }
.row-actions .btn { padding: 2px 7px; font-size: 12px; }
.cell-main { font-weight: 500; }
.cell-sub { font-size: 12px; color: var(--tg-muted); }

/* ---------- Badges ---------- */
.badge { font-weight: 500; letter-spacing: 0; border-radius: 4px; }
.status-badge { font-size: 11.5px; }
.tier { font-size: 11px; padding: .32em .6em; }
.tier-platinum { background: #111; color: #fff; box-shadow: inset 0 0 0 1px var(--tg-gold); }
.tier-gold { background: #ead8b6; color: #5c4419; }
.tier-silver { background: #e3e5e8; color: #333; }
.tier-regular { background: #e8e8e8; color: #222; }
.tier-occasional { background: #f4f4f4; color: #555; border: 1px solid #ddd; }
.tier-new { background: #fff; color: #111; border: 1px solid #bbb; }
.tier-inactive { background: #f6dfdc; color: #8a1c12; }
.tier-custom { background: #ebe4f5; color: #4b2f7a; }
.text-bg-info { background-color: #e1ecf6 !important; color: #134a75 !important; }
.text-bg-warning { background-color: #f8ecd3 !important; color: #7a4f0a !important; }
.text-bg-success { background-color: #ddf0e4 !important; color: #135a34 !important; }
.text-bg-danger { background-color: #f8e0dd !important; color: #8f1d14 !important; }
.text-bg-secondary { background-color: #ececec !important; color: #333 !important; }
.text-bg-dark { background-color: #333 !important; color: #fff !important; }

/* ---------- Charts ---------- */
.chart-box { position: relative; height: 280px; }
.chart-box.sm { height: 210px; }
.chart-box.lg { height: 330px; }

/* ---------- Progress (goals) ---------- */
.progress { background: #ededed; border-radius: 99px; height: 8px; }
.progress-bar { background: var(--tg-black); border-radius: 99px; }
.progress-bar.done { background: var(--tg-gold); }

/* ---------- Menu-style price list (services page) ---------- */
.menu-cat { margin-bottom: 24px; }
.menu-cat-title { font-family: var(--font-brand); font-weight: 600; font-size: 15px; display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.menu-cat-title small { font-family: var(--font-ui); font-size: 12px; font-weight: 400; color: var(--tg-muted); }
.menu-row { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--tg-line-2); }
.menu-row:last-child { border-bottom: 0; }
.menu-row .name { font-weight: 500; }
.menu-row .dots { flex: 1; }
.menu-row .price { font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu-row .onwards { font-size: 11px; color: var(--tg-muted); }
.menu-row.inactive { opacity: .45; }
.group-pill { display: inline-block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--tg-gold); font-weight: 600; }

/* ---------- Billing (POS) ---------- */
.bill-line { border: 1px solid var(--tg-line); border-radius: var(--tg-radius); padding: 12px 12px 10px; margin-bottom: 10px; background: #fcfcfc; position: relative; }
.bill-line .remove-line { position: absolute; top: 4px; right: 6px; }
.bill-line .line-total { font-family: var(--font-brand); font-weight: 600; font-size: 15px; }
.bill-summary { position: sticky; top: 16px; }
.bill-summary .sum-row { display: flex; justify-content: space-between; padding: 4px 0; font-variant-numeric: tabular-nums; font-size: 13.5px; }
.bill-summary .sum-total { border-top: 1px solid #444; margin-top: 8px; padding-top: 10px; font-family: var(--font-brand); font-size: 22px; font-weight: 600; }
.gst-toggle { background: #1d1d1d; border-radius: 6px; padding: 10px 12px; }
.client-pick-result { cursor: pointer; }
.client-pick-result:hover { background: #faf8f4; }

/* ---------- Invoice ---------- */
.invoice-wrap { max-width: 820px; margin: 0 auto; }
.invoice { background: #fff; padding: 32px 36px; border: 1px solid var(--tg-line); border-radius: var(--tg-radius); color: #111; font-size: 13.5px; }
.invoice .inv-head { display: flex; justify-content: space-between; gap: 20px; border-bottom: 2px solid #111; padding-bottom: 14px; }
.invoice .inv-logo { width: 160px; }
.invoice .inv-title { font-family: var(--font-brand); font-weight: 600; font-size: 22px; letter-spacing: .04em; text-transform: uppercase; line-height: 1.1; }
.invoice .inv-meta { font-size: 12.5px; color: #333; }
.invoice table th { font-size: 11.5px; }
.invoice .inv-total { font-family: var(--font-brand); font-size: 18px; font-weight: 600; }
.invoice .inv-foot { border-top: 1px solid #e5e5e5; margin-top: 22px; padding-top: 12px; font-size: 12px; color: #555; text-align: center; }
.invoice .gold-rule { height: 2px; background: var(--tg-gold); width: 48px; margin: 8px auto; }

/* ---------- Misc ---------- */
.empty-state { text-align: center; padding: 36px 16px; color: var(--tg-muted); font-size: 13.5px; }
.empty-state i { font-size: 30px; display: block; margin-bottom: 8px; color: #cdcdcd; }
.list-compact .list-group-item { padding: 9px 16px; border-color: var(--tg-line-2); font-size: 13.5px; }
.avatar-sm { width: 30px; height: 30px; border-radius: 50%; background: #2a2a2a; color: #fff; display: inline-grid; place-items: center; font-weight: 500; font-size: 11.5px; flex: 0 0 30px; }
.avatar-lg { width: 56px; height: 56px; border-radius: 50%; background: #111; color: #fff; display: inline-grid; place-items: center; font-weight: 600; font-size: 19px; flex: 0 0 56px; box-shadow: 0 0 0 3px var(--tg-gold-soft); }
.nav-tabs { border-bottom: 1px solid var(--tg-line); gap: 2px; }
.nav-tabs .nav-link {
    color: var(--tg-muted); font-weight: 500; font-size: 13.5px; border: 0; border-bottom: 2px solid transparent;
    border-radius: 0; padding: 9px 12px; margin-bottom: -1px; background: transparent;
}
.nav-tabs .nav-link.active { color: var(--tg-ink); background: transparent; border-bottom-color: var(--tg-ink); }
.nav-tabs .nav-link:hover:not(.active) { color: var(--tg-ink); border-bottom-color: #ccc; }
.app-footer { text-align: center; font-size: 12px; color: #999; padding: 28px 0 8px; }
.dropdown-menu { border-radius: 6px; border-color: var(--tg-line); font-size: 13.5px; }
.modal-content { border-radius: 10px; border: 0; }
.modal-title { font-family: var(--font-brand); font-weight: 600; font-size: 16px; }
.alert { border-radius: 6px; font-size: 13.5px; padding: .7rem 1rem; }
.alert-dismissible .btn-close { padding: .9rem 1rem; }
.page-link { color: var(--tg-ink); font-size: 13px; }
.active > .page-link, .page-link.active { background: var(--tg-black); border-color: var(--tg-black); color: #fff; }
.att-grid select { min-width: 110px; }
.legend-dot { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
dl.row dt, dl.row dd { margin-bottom: 6px; }

/* ---------- Login ---------- */
.login-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: var(--tg-paper); }
.login-art { background: var(--tg-black); color: var(--tg-paper); padding: 44px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative; }
.login-art .big { font-family: var(--font-brand); font-weight: 600; font-size: clamp(44px, 5.5vw, 80px); line-height: 1; letter-spacing: -.01em; text-transform: uppercase; color: #e9e9e9; }
.login-art .tag { color: #9a9a9a; max-width: 380px; font-size: 14px; }
.login-form-wrap { display: flex; align-items: center; justify-content: center; padding: 32px 22px; }
.login-card { width: 100%; max-width: 360px; background: #fff; padding: 30px 28px; border-radius: 12px; border: 1px solid var(--tg-line); box-shadow: 0 6px 24px rgba(0,0,0,.05); }
.login-card h2 { font-family: var(--font-brand); font-weight: 600; font-size: 24px; }
@media (max-width: 860px) {
    .login-page { grid-template-columns: 1fr; }
    .login-art { padding: 24px 22px; min-height: 150px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .content { padding: 16px 12px 80px; }
    .page-title { font-size: 21px; }
    .page-head { align-items: flex-start; margin-bottom: 16px; }
    .page-actions { width: 100%; }
    .chart-box { height: 230px; }
    .card-body { padding: 14px; }
    .bill-summary { position: static; }
}
@media (max-width: 575.98px) {
    body { font-size: 14px; }
    .table-card .table > :not(caption) > * > * { padding: .5rem .6rem; }
    .kpi { padding: 12px 13px; }
    .kpi .kpi-value { font-size: 19px; }
    .invoice { padding: 18px 14px; }
    .invoice .inv-head { flex-direction: column; }
    .invoice .inv-logo { width: 130px; }
    .hide-xs { display: none !important; }
}

/* ---------- Print ---------- */
@media print {
    @page { size: A4; margin: 10mm; }
    body { background: #fff !important; }
    .sidebar, .topbar, .page-head, .no-print, .app-footer, .alert { display: none !important; }
    .content { padding: 0 !important; max-width: none; }
    .invoice { border: 0; padding: 0; }
    .card, .kpi, .table-card { border-color: #ccc !important; box-shadow: none !important; }
    a { color: inherit !important; }
}