:root {
    --primary: #4f46e5;
    --primary-soft: #eef2ff;
    --cyan: #06b6d4;
    --cyan-soft: #ecfeff;
    --green: #10b981;
    --green-soft: #ecfdf5;
    --red: #ef4444;
    --red-soft: #fef2f2;
    --ink: #0f172a;
    --text: #334155;
    --muted: #94a3b8;
    --line: #eef2f7;
    --bg: #f5f7fb;
    --nav: #0b1120;
    --logo: #ec4899;
    --radius: 16px;
    --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -12px rgba(15, 23, 42, .12);
}

body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--text); }
body.app { background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; font-size: 14px; }
.app-content { flex: 1; padding-top: 16px; padding-bottom: 16px; max-width: 1440px; }
.font-weight-500 { font-weight: 500; }
.font-weight-600 { font-weight: 600; color: var(--ink); }
a { color: var(--primary); }

/* Navbar */
.app-navbar {
    background: linear-gradient(90deg, var(--nav) 0%, #1e1b4b 100%);
    padding: 0 24px; min-height: 64px;
    box-shadow: 0 4px 20px -8px rgba(15, 23, 42, .5);
    position: sticky; top: 0; z-index: 1030;
}
.app-logo { color: #fff !important; font-weight: 700; font-size: 20px; letter-spacing: -.3px; display: inline-flex; align-items: center; }
.app-logo-mark {
    width: 34px; height: 34px; border-radius: 10px; margin-right: 10px; font-size: 15px;
    display: inline-flex; align-items: center; justify-content: center; color: #fff;
    background: linear-gradient(135deg, var(--logo), var(--primary));
    box-shadow: 0 6px 16px -6px rgba(236, 72, 153, .7);
}
.app-navbar .navbar-nav .nav-item { margin: 0 2px; }
.app-navbar .navbar-nav .nav-link { color: rgba(255, 255, 255, .65); padding: 8px 16px; border-radius: 10px; font-weight: 500; transition: all .15s; }
.app-navbar .navbar-nav .nav-link:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.app-navbar .navbar-nav .nav-item.active .nav-link { color: #fff; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.app-avatar {
    width: 34px; height: 34px; border-radius: 50%; color: #fff; font-weight: 600;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .15);
}
.app-user { color: #fff; font-weight: 500; }
.app-navbar .dropdown-menu { border: 0; border-radius: 12px; box-shadow: var(--shadow); padding: 6px; margin-top: 10px; }
.app-navbar .dropdown-item { border-radius: 8px; padding: 8px 12px; }
/* Center the main menu in the header on desktop */
@media (min-width: 992px) {
    .app-navbar .app-main-nav { position: absolute; left: 50%; transform: translateX(-50%); }
    .app-navbar .app-user-nav { margin-left: auto; }
}

.app-breadcrumb { background: transparent; padding: 0; margin-bottom: 8px; font-size: 13px; }
.app-breadcrumb .breadcrumb-item, .app-breadcrumb .breadcrumb-item.active { color: var(--muted); }
.app-footer { color: var(--muted); padding: 20px 16px; font-size: 13px; }

/* Page header */
.page-header { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; gap: 12px; }
.page-title { font-size: 26px; font-weight: 700; color: var(--ink); letter-spacing: -.5px; margin: 0; }
.page-subtitle { color: var(--muted); font-size: 13px; margin-top: 2px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-item { min-width: 200px; }

/* Form controls */
.form-control, .custom-select { border-radius: 10px; border-color: #e2e8f0; }
.form-control-sm, .custom-select-sm { height: 38px; font-size: 13px; }
.form-control:focus, .custom-select:focus { border-color: #a5b4fc; box-shadow: 0 0 0 3px rgba(79, 70, 229, .12); }
.date-range { width: 270px; max-width: 100%; }
.date-range .input-group-text { background: #fff; border-color: #e2e8f0; border-radius: 10px 0 0 10px; color: var(--primary); }
.date-range .form-control { border-left: 0; border-radius: 0 10px 10px 0 !important; }
.date-range .form-control[readonly] { background: #fff; cursor: pointer; font-weight: 500; color: var(--ink); }

/* Cards */
.card { border: 1px solid rgba(226, 232, 240, .7); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-header {
    background: transparent; border-bottom: 1px solid var(--line); padding: 18px 22px;
    display: flex; align-items: center; justify-content: space-between;
}
.card-header:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.card-body { padding: 20px 22px; }
.card-title-lg { font-size: 16px; font-weight: 600; color: var(--ink); }
.card-subtitle { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.collapse-btn {
    width: 32px; height: 32px; border-radius: 10px; background: var(--bg); color: var(--muted);
    display: inline-flex; align-items: center; justify-content: center; transition: all .15s;
}
.collapse-btn { border: 0; cursor: pointer; flex-shrink: 0; }
.collapse-btn:hover, .collapse-btn:focus { background: var(--primary-soft); color: var(--primary); outline: 0; }
.count-pill { background: var(--primary-soft); color: var(--primary); font-weight: 600; font-size: 12px; padding: 4px 10px; border-radius: 20px; white-space: nowrap; }

.chart-box { position: relative; height: 260px; }
.chart-box-lg { height: 320px; }

/* KPI cards */
.kpi-card { overflow: hidden; position: relative; transition: transform .2s, box-shadow .2s; }
.kpi-card:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 16px 32px -12px rgba(15, 23, 42, .18); }
.kpi-card::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--kpi-color); }
.kpi-card .card-body { padding-bottom: 16px; }
.kpi-label { color: #64748b; font-size: 13px; font-weight: 500; }
.kpi-value { font-size: 30px; font-weight: 700; color: var(--ink); letter-spacing: -.8px; line-height: 1.3; margin-top: 4px; }
.kpi-sub { font-size: 12px; color: var(--muted); }
.kpi-icon {
    width: 46px; height: 46px; border-radius: 14px; font-size: 18px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--kpi-color); background: var(--kpi-soft);
}
.kpi-spark { height: 48px; margin: 10px -4px 6px; }
.kpi-footer { font-size: 12.5px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.kpi-badge { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 12px; padding: 3px 8px; border-radius: 20px; }
.kpi-badge i { font-size: 10px; }
.kpi-badge-up { color: #059669; background: var(--green-soft); }
.kpi-badge-down { color: #dc2626; background: var(--red-soft); }
.kpi-badge-neutral { color: #64748b; background: #f1f5f9; }
.kpi-primary { --kpi-color: var(--primary); --kpi-soft: var(--primary-soft); }
.kpi-cyan { --kpi-color: var(--cyan); --kpi-soft: var(--cyan-soft); }
.kpi-green { --kpi-color: var(--green); --kpi-soft: var(--green-soft); }

/* Stat tiles (Reports) */
.stat-tile {
    display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); height: 100%;
    color: #fff; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.stat-tile::after { content: ''; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.stat-primary { background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.stat-cyan { background: linear-gradient(135deg, #0891b2, #06b6d4); }
.stat-green { background: linear-gradient(135deg, #059669, #10b981); }
.stat-icon { width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .18); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.stat-label { font-size: 13px; opacity: .85; font-weight: 500; }
.stat-value { font-size: 24px; font-weight: 700; letter-spacing: -.5px; }

/* Tables */
.table-modern { color: var(--text); }
.table-modern th {
    border-top: 0; border-bottom: 1px solid var(--line); white-space: nowrap; background: #f8fafc;
    color: #64748b; font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: .4px; padding: 12px 14px;
}
.table-modern td { vertical-align: middle; border-top: 1px solid var(--line); padding: 12px 14px; }
.table-modern tbody tr { transition: background .1s; }
.table-modern tbody tr:hover td { background: #f8faff; }
th.sortable { cursor: pointer; user-select: none; }
th.sortable:hover { color: var(--primary); }
th.sortable::after { content: '\f0dc'; font-family: 'Font Awesome 5 Free'; font-weight: 900; margin-left: 6px; color: #cbd5e1; }
th.sort-asc::after { content: '\f0de'; color: var(--primary); }
th.sort-desc::after { content: '\f0dd'; color: var(--primary); }

.rank-dot { width: 10px; height: 10px; border-radius: 50%; margin-right: 10px; flex-shrink: 0; }
.share-bar { height: 4px; background: #f1f5f9; border-radius: 4px; margin-top: 6px; overflow: hidden; max-width: 160px; }
.share-bar span { display: block; height: 100%; border-radius: 4px; }

.table-scroll { max-height: 380px; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; }
.table-scroll-lg { max-height: 560px; border: 0; border-radius: 0 0 var(--radius) var(--radius); }
.table-scroll thead th { position: sticky; top: 0; z-index: 2; }
.table-scroll tfoot td {
    position: sticky; bottom: 0; z-index: 2; padding: 14px; font-weight: 700; color: #fff;
    background: #312e81; border-top: 0;
}

.report-table td.name-cell { white-space: nowrap; }
.site-avatar {
    width: 28px; height: 28px; border-radius: 8px; color: #fff; font-weight: 600; font-size: 12px; margin-right: 10px;
    display: inline-flex; align-items: center; justify-content: center; vertical-align: middle;
}
.row-action { color: var(--muted); padding: 4px 6px; border-radius: 6px; }
.row-action:hover { color: var(--primary); background: var(--primary-soft); }
.btn-expand {
    width: 26px; height: 26px; border-radius: 8px; border: 1px solid #e2e8f0; background: #fff; color: #64748b;
    font-size: 11px; display: inline-flex; align-items: center; justify-content: center; transition: all .15s; cursor: pointer;
}
.btn-expand:hover, .btn-expand:focus { border-color: var(--primary); color: var(--primary); outline: 0; }
.parent-row.is-open td { background: #f8faff; }
.parent-row.is-open .btn-expand { background: var(--primary); border-color: var(--primary); color: #fff; }
.child-row td { background: #fbfcfe; font-size: 13px; padding-top: 9px; padding-bottom: 9px; }
.child-name { color: #64748b; padding-left: 52px !important; }
.child-name i { color: #cbd5e1; }

.empty-state { text-align: center; color: var(--muted); padding: 40px 16px !important; }
.empty-state i { display: block; font-size: 28px; margin-bottom: 8px; color: #cbd5e1; }

/* Date range picker */
.daterangepicker { border: 0; border-radius: 14px; box-shadow: 0 20px 40px -12px rgba(15, 23, 42, .25); font-family: inherit; }
.daterangepicker .ranges li { border-radius: 8px; margin: 2px 6px; }
.daterangepicker .ranges li.active, .daterangepicker td.active, .daterangepicker td.active:hover { background: var(--primary); }
.daterangepicker td.in-range { background: var(--primary-soft); }
.daterangepicker .btn-primary { background: var(--primary); border-color: var(--primary); border-radius: 8px; }
.daterangepicker .btn-default { border-radius: 8px; }


.navbar-toggler { border-color: rgba(255, 255, 255, .2); }

/* Laptop (992px - 1199px) */
@media (max-width: 1199.98px) {
    .kpi-value { font-size: 26px; }
}

/* Tablet (768px - 991px) */
@media (max-width: 991.98px) {
    .app-navbar { padding: 0 16px; }
    .app-navbar .navbar-nav .nav-link { padding: 8px 12px; }
    .chart-box-lg { height: 280px; }
    .kpi-value { font-size: 22px; }
    .kpi-icon, .stat-icon { width: 40px; height: 40px; font-size: 16px; }
    .stat-tile { padding: 16px; gap: 12px; }
    .stat-value { font-size: 20px; }
}

/* Mobile (< 768px) */
@media (max-width: 767.98px) {
    .app-navbar { padding: 10px 14px; min-height: 56px; }
    .app-navbar .navbar-collapse { padding: 10px 0 4px; }
    .app-navbar .navbar-nav .nav-item { margin: 2px 0; }
    .app-navbar .dropdown-menu { background: transparent; box-shadow: none; margin: 0; }
    .app-navbar .dropdown-item { color: rgba(255, 255, 255, .75); }
    .app-navbar .dropdown-item:hover { background: rgba(255, 255, 255, .06); color: #fff; }
    .app-logo { font-size: 18px; }

    .page-title { font-size: 22px; }
    .app-content .mb-4 { margin-bottom: 16px !important; }
    .stat-tile { padding: 14px 16px; }
    .page-header { margin-bottom: 16px; }
    .filter-bar, .filter-item, .date-range { width: 100%; min-width: 0; }
    .card-header { padding: 14px 16px; }
    .card-body { padding: 16px; }
    .kpi-value { font-size: 26px; }
    .chart-box { height: 220px; }
    .chart-box-lg { height: 240px; }
    .table-modern { font-size: 13px; }
    .table-modern th { white-space: normal; vertical-align: bottom; padding: 10px; }
    .table-modern td { padding: 10px; }
    .child-name { padding-left: 20px !important; }
    .share-bar { max-width: 100px; }
    .table-scroll { max-height: 340px; }
    .table-scroll-lg { max-height: 440px; }


    /* Date range picker: stack ranges and calendars, keep inside the screen */
    .daterangepicker { width: calc(100% - 20px); left: 10px !important; right: auto !important; }
    .daterangepicker .ranges, .daterangepicker .drp-calendar { float: none; width: 100%; max-width: none; }
    .daterangepicker .ranges ul { width: 100%; display: flex; flex-wrap: wrap; }
    .daterangepicker .ranges li { flex: 1 0 auto; text-align: center; }
    .daterangepicker .drp-calendar.left, .daterangepicker .drp-calendar.right { padding: 8px; }
    .daterangepicker .calendar-table table { width: 100%; }
    .daterangepicker:before, .daterangepicker:after { display: none; }
}

/* Multi-select filters (Select2) */
.filter-multi { min-width: 240px; max-width: 420px; }
.select2-container--bootstrap4 .select2-selection { border-radius: 10px; border-color: #e2e8f0; min-height: 38px; }
.select2-container--bootstrap4.select2-container--focus .select2-selection { border-color: #a5b4fc; box-shadow: 0 0 0 3px rgba(79, 70, 229, .12); }
/* Select2 4.1 renders the search box beside the tag list, so lay both out in one flex row */
.select2-container--bootstrap4 .select2-selection--multiple { position: relative; display: flex; flex-wrap: wrap; align-items: center; min-height: 38px; padding: 3px 32px 3px 8px; }
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__rendered { display: contents; margin: 0; padding: 0; list-style: none; }
.select2-container--bootstrap4 .select2-selection--multiple .select2-search--inline { flex: 1 1 60px; display: flex; min-width: 60px; }
.select2-container--bootstrap4 .select2-selection--multiple .select2-search__field {
    margin: 0 !important; padding: 0 2px; height: 28px !important; line-height: 28px; font-size: 13px; border: 0; outline: 0; background: transparent; resize: none; overflow: hidden;
}
.select2-container--bootstrap4 .select2-selection--multiple .select2-search__field::placeholder { color: #64748b; }
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice {
    background: var(--primary-soft); border: 0; color: var(--primary); border-radius: 6px; font-size: 12.5px; font-weight: 500;
    margin: 2px 6px 2px 0; padding: 2px 8px 2px 22px;
}
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice { position: relative; display: inline-flex; align-items: center; line-height: 1.6; }
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice__remove {
    position: absolute; left: 4px; top: 50%; transform: translateY(-50%);
    border: 0; background: transparent; padding: 0 4px; margin: 0; color: var(--primary); font-size: 14px; line-height: 1; cursor: pointer;
}
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice__remove:hover { color: var(--red); background: transparent; }
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice__remove span { line-height: 1; }
.select2-container--bootstrap4 .select2-selection__clear { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); margin: 0; border: 0; background: transparent; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; }
.select2-container--bootstrap4 .select2-selection__clear:hover { color: var(--red); }
.select2-container--bootstrap4 .select2-dropdown { border-color: #e2e8f0; border-radius: 10px; box-shadow: 0 16px 32px -12px rgba(15, 23, 42, .2); overflow: hidden; }
.select2-container--bootstrap4 .select2-results__option--highlighted,
.select2-container--bootstrap4 .select2-results__option--highlighted.select2-results__option[aria-selected=true] { background: var(--primary); color: #fff; }
/* Chosen options look disabled (darker, not clickable, see initMultiSelect in app.js).
   Select2 4.1 marks them with --selected; aria-selected only means the hover/keyboard highlight. */
.select2-container--bootstrap4 .select2-dropdown .select2-results__option[aria-selected=true]:not(.select2-results__option--highlighted) { background: transparent; color: inherit; }
.select2-container--bootstrap4 .select2-dropdown .select2-results__option.select2-results__option--selected,
.select2-container--bootstrap4 .select2-dropdown .select2-results__option--highlighted.select2-results__option--selected { background: #cbd5e1; color: #475569; cursor: not-allowed; }
@media (max-width: 767.98px) {
    .filter-multi { min-width: 0; max-width: none; }
}
/* Override the Bootstrap 4 theme so the clear button sits centred and the box matches the date input */
.select2-container--bootstrap4 .select2-selection--multiple.select2-selection { min-height: 38px !important; }
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__clear { top: 50% !important; right: 10px !important; transform: translateY(-50%) !important; margin: 0 !important; }

/* Chart legend drawn in a card header */
.chart-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: 13px; color: #64748b; }
.chart-legend-item { display: inline-flex; align-items: center; white-space: nowrap; }
.chart-legend-dot { width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }

/* Long names: cut with an ellipsis, full text in the title tooltip */
.min-w-0 { min-width: 0; }
.cell-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.report-table .site-name { display: inline-block; max-width: 280px; vertical-align: middle; }
@media (max-width: 767.98px) {
    .cell-truncate { max-width: 140px; }
    .report-table .site-name { max-width: 160px; }
}

.card-title-lg { white-space: nowrap; }
@media (max-width: 767.98px) {
    .chart-legend { gap: 10px; font-size: 12px; }
    .chart-legend.mr-3 { margin-right: 8px !important; }
    .chart-legend-dot { width: 8px; height: 8px; margin-right: 4px; }
}
.card-header { gap: 10px; }

/* Date range input matches the 38px multi-select boxes */
.date-range .form-control, .date-range .input-group-text { height: 38px; font-size: 13px; }

/* Avatars: uploaded photo fills the circle */
.app-avatar { overflow: hidden; flex-shrink: 0; }
.app-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Profile page */
.profile-photo { display: flex; align-items: center; gap: 18px; }
.profile-avatar { width: 88px; height: 88px; font-size: 32px; box-shadow: 0 0 0 3px var(--primary-soft); }
.app-content .btn-primary { background: var(--primary); border-color: var(--primary); border-radius: 10px; }
.app-content .btn-outline-primary { color: var(--primary); border-color: var(--primary); border-radius: 10px; }
.app-content .btn-outline-primary:hover { background: var(--primary); color: #fff; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Reports: one site focused in the chart and totals from the Sites details table */
.focus-chip { display: inline-flex; align-items: center; max-width: 260px; padding: 2px 4px 2px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 600; }
.focus-chip-clear { border: 0; background: transparent; color: inherit; padding: 2px 6px; margin-left: 4px; border-radius: 999px; line-height: 1; cursor: pointer; }
.focus-chip-clear:hover { background: rgba(0, 0, 0, .06); }
.parent-row.is-focused td { background: var(--primary-soft); }
.parent-row.is-focused .js-focus-site,
.parent-row.is-focused .site-name { color: var(--primary); }
.is-loading { opacity: .45; transition: opacity .15s; }

/* Multi-select dropdown: "Clear all" bar on top of the options */
.select2-clear-bar { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 6px 12px; border-bottom: 1px solid #eef2f7; background: #f8fafc; font-size: 12px; }
.select2-clear-count { color: var(--muted); }
.select2-clear-all { border: 0; background: transparent; color: var(--red); font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 6px; cursor: pointer; }
.select2-clear-all:hover:not(:disabled) { background: rgba(239, 68, 68, .08); }
.select2-clear-all:disabled { color: #cbd5e1; cursor: default; }

/* Users module */
.users-table .js-row-link { cursor: pointer; }
.users-table .js-row-link:hover td { background: #f8faff; }

/* Sites module */
.assign-bar-body { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 16px; }
.assign-bar-label { color: var(--text); font-weight: 500; white-space: nowrap; }
.assign-bar-user { flex: 1 1 240px; max-width: 360px; }
.sites-table .custom-control { min-height: 0; }
.user-chip { font-weight: 500; margin: 0 4px 4px 0; border: 1px solid var(--line); }
@media (max-width: 575.98px) {
    .assign-bar-user { max-width: none; }
    .assign-bar-body .btn { width: 100%; }
}

/* Search input with an icon inside and a clear button */
.search-box { position: relative; min-width: 260px; }
.search-box .form-control {
    height: 38px; padding: 0 34px 0 36px; border-radius: 10px; border-color: #e2e8f0; background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.search-box .form-control:focus { border-color: #a5b4fc; box-shadow: 0 0 0 3px rgba(79, 70, 229, .12); }
.search-box .form-control::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-box-icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 13px; pointer-events: none; }
.search-box:focus-within .search-box-icon { color: var(--primary); }
.search-box-clear { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); font-size: 12px; }
.search-box-clear:hover { color: var(--red); background: var(--red-soft); text-decoration: none; }
@media (max-width: 575.98px) {
    .search-box { min-width: 0; width: 100%; }
}
