:root {
    --bg: #050706;
    --bg-alt: #0B0D0F;
    --panel: #111416;
    --panel2: #171B1E;
    --accent: #46D369;
    --accent-soft: rgba(70,211,105,0.14);
    --accent-strong: #9BE15D;
    --silver: #CFD5DD;
    --muted: #8F98A2;
    --border: rgba(255,255,255,0.08);
    --danger: #F45B69;
}

* { margin:0; padding:0; box-sizing:border-box; }

body {
    font-family:'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--silver);
    display:flex;
    height:100vh;
    overflow:hidden;
	font-size: 0.5em;
}

/* SIDEBAR */
.sidebar {
    width:250px;
    background:var(--panel);
    border-right:1px solid var(--border);
    display:flex;
    flex-direction:column;
    padding:14px;
}

.sidebar-header {
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:28px;
}

.logo-icon {
    width:34px;
    height:34px;
    border-radius:8px;
    background: radial-gradient(circle at 20% 0, #9BE15D 0, #46D369 45%, #0B3D1D 100%);
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    box-shadow:0 0 12px rgba(70,211,105,0.5);
}

.logo-text {
    font-size:18px;
    font-weight:600;
    letter-spacing:0.03em;
}

.sidebar-nav a {
    padding:9px 10px;
    display:flex;
    align-items:center;
    gap:8px;
    font-size:13px;
    color:var(--muted);
    border-radius:6px;
    margin-bottom:4px;
    transition:0.18s;
    cursor:pointer;
}

.sidebar-nav a span.icon {
    width:18px;
    text-align:center;
    font-size:13px;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background:var(--panel2);
    color:var(--accent);
}

/* MAIN */
.main {
    flex:1;
    display:flex;
    flex-direction:column;
    overflow:hidden;
}

/* TOP NAV */
.topbar {
    height:56px;
    border-bottom:1px solid var(--border);
    background:var(--bg-alt);
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 18px;
}

.search-box {
    width:300px;
    max-width:50vw;
    height:34px;
    border-radius:6px;
    background:var(--panel2);
    border:1px solid var(--border);
    color:var(--silver);
    padding:0 11px;
    outline:none;
    font-size:13px;
}

.search-box::placeholder {
    color:var(--muted);
}

.user-pill {
    display:flex;
    align-items:center;
    gap:10px;
    font-size:13px;
    color:var(--muted);
}

.user-avatar {
    width:26px;
    height:26px;
    border-radius:50%;
    background:linear-gradient(135deg,#46D369,#9BE15D);
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:600;
    color:#050806;
}

/* CONTENT WRAPPER */
.content {
    padding:16px;
    overflow-y:auto;
}

/* GENERIC */
.view {
    display:none;
}
.view.active {
    display:block;
}

.view-title {
    font-size:18px;
    font-weight:500;
    margin-bottom:4px;
}

.view-subtitle {
    font-size:13px;
    color:var(--muted);
    margin-bottom:14px;
}

.grid {
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(280px,1fr));
    gap:16px;
}

.card {
    background:var(--panel);
    border:1px solid var(--border);
    border-radius:10px;
    padding:14px 14px 16px;
    min-height:150px;
    display:flex;
    flex-direction:column;
}

.card-title {
    font-size:14px;
    font-weight:500;
    margin-bottom:8px;
}

.card-meta {
    font-size:11px;
    color:var(--muted);
    margin-bottom:6px;
}

.card-placeholder {
    margin-top:18px;
    color:var(--muted);
    font-size:12px;
}

/* STATS */
.stat-row {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:5px;
    font-size:12px;
}
.stat-label {
    color:var(--muted);
}
.stat-value {
    font-weight:500;
}
.stat-up { color:var(--accent); }
.stat-down { color:var(--danger); }

/* BADGES / CHIPS */
.badge {
    display:inline-flex;
    align-items:center;
    padding:2px 8px;
    border-radius:999px;
    font-size:11px;
    border:1px solid rgba(70,211,105,0.6);
    background:var(--accent-soft);
    color:var(--accent);
}

/* TABLE */
.table {
    width:100%;
    border-collapse:collapse;
    font-size:12px;
    margin-top:6px;
}
.table th,
.table td {
    padding:6px 6px;
    border-bottom:1px solid rgba(255,255,255,0.03);
    text-align:left;
}
.table th {
    color:var(--muted);
    font-weight:500;
    font-size:11px;
}
.table tr:hover {
    background:rgba(255,255,255,0.02);
}

/* FILTER BAR */
.filter-bar {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:10px;
    font-size:12px;
}

.filter-pill {
    padding:5px 9px;
    border-radius:999px;
    border:1px solid var(--border);
    background:var(--panel2);
    color:var(--muted);
    cursor:pointer;
}
.filter-pill.active {
    border-color:var(--accent);
    color:var(--accent);
}

/* ALERTS */
.alert-list {
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-top:10px;
    font-size:12px;
}
.alert-item {
    padding:10px 10px;
    border-radius:8px;
    background:var(--panel2);
    border:1px solid var(--border);
    display:flex;
    justify-content:space-between;
    gap:10px;
}
.alert-meta {
    color:var(--muted);
    font-size:11px;
}

/* SOURCES */
.source-grid {
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(200px,1fr));
    gap:10px;
    margin-top:10px;
}
.source-card {
    padding:10px;
    border-radius:8px;
    background:var(--panel2);
    border:1px solid var(--border);
    font-size:12px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.toggle {
    width:34px;
    height:18px;
    border-radius:999px;
    background:#222;
    border:1px solid var(--border);
    position:relative;
    cursor:pointer;
}
.toggle-dot {
    position:absolute;
    top:2px;
    left:2px;
    width:12px;
    height:12px;
    border-radius:999px;
    background:#888;
    transition:0.16s;
}
.toggle.on {
    background:var(--accent-soft);
    border-color:var(--accent);
}
.toggle.on .toggle-dot {
    left:18px;
    background:var(--accent);
}

/* HISTORICAL CONTROLS */
.control-row {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:10px;
    font-size:12px;
}
.select {
    min-width:150px;
    height:30px;
    border-radius:6px;
    border:1px solid var(--border);
    background:var(--panel2);
    color:var(--silver);
    padding:0 8px;
    font-size:12px;
}
.select:focus {
    outline:none;
    border-color:var(--accent);
}

/* RESPONSIVE */
@media (max-width:860px) {
    .sidebar { width:72px; }
    .logo-text { display:none; }
    .sidebar-nav a span.label { display:none; }
}

@media (max-width:640px) {
    .topbar { padding-inline:10px; }
    .search-box { width:180px; }
}

/* PANEL */
#tixmetric-events {
    padding: 20px;
    color: #ccc;
    font-family: Inter, sans-serif;
}

.tm-header {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
}

.tm-header h1 {
    font-size: 28px;
    color: #f5f5f5;
}

.tm-actions .tm-btn {
    margin-left:10px;
}

/* CARDS */
.tm-card {
    background:#1a1a1a;
    border:1px solid #2a2a2a;
    padding:20px;
    margin-bottom:25px;
    border-radius:6px;
}

.tm-card h2 {
    color:#fff;
    margin-bottom:15px;
}

/* TABLE */
.tm-table {
    width:100%;
    border-collapse: collapse;
}

.tm-table th {
    background:#222;
    color:#bbb;
    font-weight:500;
    padding:10px;
    font-size:14px;
    border-bottom:1px solid #333;
}

.tm-table td {
    padding:8px 10px;
    font-size:14px;
    border-bottom:1px solid #2a2a2a;
}

.flex-row {
	display: flex;
	flex-direction: row;
}

.tm-btn {
    padding:8px 12px;
    border:none;
    border-radius:5px;
    cursor:pointer;
    font-weight:600;
    font-size:14px;
}

.tm-green { background:#2ecc71; color:#000; }
.tm-silver { background:#bdc3c7; color:#000; }
.tm-red { background:#e74c3c; color:#fff; }

/* GRID */
.tm-grid {
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:20px;
}

/* MODAL */
.tm-modal {
    position:fixed;
    top:0; left:0;
    width:100%; height:100%;
    background:rgba(0,0,0,0.75);
    display:flex;
    justify-content:center;
    align-items:center;
}

.tm-modal-content {
    background:#1a1a1a;
    border:1px solid #2a2a2a;
    padding:20px;
    border-radius:6px;
}

.tm-modal input, 
.tm-modal select {
    width:100%;
    padding:10px;
    margin-bottom:10px;
    background:#222;
    border:1px solid #333;
    color:#eee;
}

.settings-proxies {
    padding: 20px;
}

.proxy-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.proxy-table th,
.proxy-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal.hidden { display: none; }

.modal-content {
    background: #fff;
    padding: 20px;
    width: 400px;
    border-radius: 8px;
}

/* ============================
   COLLECTOR CONFIG THEME
   ============================ */

.tm-collector-wrapper {
    padding: 20px 24px;
}

.tm-collector-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 18px;
    gap: 16px;
}

.tm-collector-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.tm-collector-header p {
    margin: 4px 0 0;
    font-size: 0.9rem;
    color: var(--muted, #9ca3af);
}

.tm-collector-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--muted, #9ca3af);
}

.legend-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.mp-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
}

.mp-dot-on {
    background: #22c55e;
}

.mp-dot-off {
    background: #6b7280;
}

/* GRID OF EVENTS */

.tm-collector-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tm-collector-row {
    display: grid;
    grid-template-columns: minmax(220px, 1.7fr) minmax(220px, 2fr) 150px 120px;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--panel, rgba(15, 23, 42, 0.85));
    border: 1px solid var(--stroke, rgba(148, 163, 184, 0.25));
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.45);
}

.tm-collector-row:hover {
    border-color: var(--accent, #38bdf8);
    box-shadow: 0 16px 35px rgba(8, 47, 73, 0.65);
}

/* EVENT BLOCK */

.tm-collector-event {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tm-collector-title {
    font-weight: 600;
    font-size: 0.98rem;
}

.tm-collector-sub {
    font-size: 0.8rem;
    color: var(--muted, #9ca3af);
}

/* MARKETPLACE ICONS */

.tm-collector-markets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mp-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        border-color 0.15s ease,
        transform 0.1s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;
}

.mp-icon-wrap:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.8);
    border-color: var(--accent, #38bdf8);
}

.mp-icon {
    max-width: 70%;
    max-height: 70%;
    display: block;
}

.mp-icon.inactive {
    filter: grayscale(1) opacity(0.35);
}

.mp-icon.active {
    filter: none;
}

/* INTERVAL SECTION */

.tm-collector-interval {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.78rem;
    color: var(--muted, #9ca3af);
}

.interval-input-wrap {
    display: inline-flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 999px;
    padding: 3px 8px;
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.interval-input {
    width: 55px;
    border: none;
    outline: none;
    background: transparent;
    color: #e5e7eb;
    font-size: 0.85rem;
    text-align: right;
}

.interval-input::-webkit-outer-spin-button,
.interval-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.interval-input[type=number] {
    -moz-appearance: textfield;
}

.interval-suffix {
    margin-left: 4px;
    font-size: 0.78rem;
    color: var(--muted, #9ca3af);
}

/* MASTER TOGGLE */

.tm-collector-master {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-size: 0.78rem;
    color: var(--muted, #9ca3af);
}

.tm-toggle {
    width: 46px;
    height: 24px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: radial-gradient(circle at 0% 50%, #334155, #020617);
    position: relative;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition:
        background 0.18s ease,
        border-color 0.18s ease;
}

.tm-toggle-knob {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #e5e7eb;
    position: absolute;
    left: 3px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.8);
    transition:
        transform 0.18s ease,
        background 0.18s ease;
}

.tm-toggle.on {
    background: radial-gradient(circle at 0% 50%, #22c55e, #059669);
    border-color: #22c55e;
}

.tm-toggle.on .tm-toggle-knob {
    transform: translateX(20px);
    background: #f9fafb;
}

/* RESPONSIVE */

@media (max-width: 960px) {
    .tm-collector-row {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }

    .tm-collector-master {
        align-items: flex-start;
    }
}



/* Entire historical viewport — no scrolling allowed */
#view-historical {
    height: calc(100vh - 60px);
    overflow: hidden;
    flex-direction: column;
}

/* Only active views should show */
#view-historical:not(.active) {
    display: none !important;
}

#view-historical.active {
    display: flex !important;
}


/* The 2x2 grid is locked to height */
.hist-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    height: 100%;
    overflow: hidden;
}

/* VERY IMPORTANT: cards must NOT stretch */
.hist-grid > .tm-card {
    min-height: 0;      /* allows overflow: auto to work */
    max-height: 100%;   /* prevents growth */
    display: flex;
    flex-direction: column;
    overflow: hidden;   /* stops table pushing card taller */
}

/* Tables scroll INSIDE their card */
.hist-grid table {
    width: 100%;
}

.hist-grid .table-wrapper {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

#historical-metrics {
    height: calc(100vh - 60px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* 2×2 grid */
.hist-grid {
    flex: 1;
    height: 100%;
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    overflow: hidden;
}

/* Cards must NOT expand */
.hist-grid .tm-card {
    min-height: 0;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Table scroll inside card */
.table-wrapper {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

/* Chart wrapper locks chart inside */
.chart-wrapper {
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.view {
    display:none;
}

.tm-status {
    display: inline-block;
    margin-top: 3px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
}

.tm-green {
    background: #2ecc71;
    color: #fff;
}

.tm-yellow {
    background: #f1c40f;
    color: #000;
}

.tm-red {
    background: #e74c3c;
    color: #fff;
}

/* Container */
.mv-container {
    padding: 20px;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #e5e7eb;
}

/* Header */
.mv-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.mv-header h1 {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}

.mv-filters {
    display: flex;
    gap: 10px;
}

/* Selects */
.mv-select {
    background: #020617;
    border: 1px solid #1f2937;
    color: #e5e7eb;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 14px;
}

/* KPI cards */
.mv-kpi-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.mv-card {
    background: #020617;
    border: 1px solid #1f2937;
    border-radius: 6px;
    padding: 10px 14px;
    min-width: 150px;
}

.mv-card.small {
    min-width: 120px;
}

.mv-card-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 4px;
}

.mv-card-value {
    font-size: 18px;
    font-weight: 600;
}

/* Table */
.mv-table-wrapper {
    margin-top: 10px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #111827;
}

.mv-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.mv-table thead {
    background: #020617;
}

.mv-table th,
.mv-table td {
    padding: 2px 8px;
    border-bottom: 1px solid #111827;
}

.mv-table th {
    color: #9ca3af;
    font-weight: 500;
    user-select: none;
}

.mv-table tbody tr:nth-child(even) {
    background: rgba(15, 23, 42, 0.7);
}
.mv-table tbody tr:nth-child(odd) {
    background: rgba(15, 23, 42, 0.4);
}

.mv-table tbody tr:hover {
    background: rgba(55, 65, 81, 0.7);
    cursor: pointer;
}

/* Sortable headers */
th.sortable {
    cursor: pointer;
}
th.sortable::after {
    content: " ⇅";
    font-size: 10px;
    opacity: 0.5;
}

/* Arrows */
.arrow-up {
    color: #16a34a;
    font-weight: 600;
}
.arrow-down {
    color: #dc2626;
    font-weight: 600;
}
.arrow-flat {
    color: #9ca3af;
}

/* Sparkline canvas */
.spark {
    width: 120px;
    height: 40px;
}

/* Modal */
.mv-modal.mv-hidden {
    display: none;
}

.mv-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
}

.mv-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
}

.mv-modal-content {
    position: relative;
    max-width: 700px;
    margin: 60px auto;
    background: #020617;
    border-radius: 8px;
    border: 1px solid #1f2937;
    padding: 18px 18px 16px;
    z-index: 2001;
    color: #e5e7eb;
}

.mv-modal-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: transparent;
    border: none;
    color: #9ca3af;
    font-size: 22px;
    cursor: pointer;
}

.mv-modal-metrics {
    margin-top: 10px;
    display: flex;
    gap: 14px;
    font-size: 13px;
}

.spread-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #111827;
    color: #e5e7eb;
    font-size: 14px;
}

.spread-table th {
    background: #1f2937;
    padding: 10px;
    cursor: pointer;
    position: sticky;
    top: 0;
    z-index: 5;
}

.spread-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #1f2937;
}

/* heatmap: cheapest = green */
.cheapest {
    background: #064e3b !important;
    color: #a7f3d0 !important;
    font-weight: bold;
}

/* hover */
.spread-table td:hover {
    background: #374151;
}

/* clickable cell */
.price-cell {
    cursor: pointer;
    text-decoration: underline;
}

/* tooltip */
.tooltip {
    position: relative;
}

.tooltip:hover::after {
    content: attr(data-tip);
    white-space: pre-line;
    background: #1f2937;
    padding: 8px 10px;
    border-radius: 6px;
    color: #f3f4f6;
    position: absolute;
    top: 30px;
    left: 0;
    z-index: 999999;
    width: max-content;
    max-width: 220px;
}

#marketSpreadTable th {
    white-space: nowrap;
}

.ms-price-cell {
    text-align: right;
    cursor: default;
}

.ms-price-cell.has-price {
    cursor: pointer;
}

.ms-price-cell.min-price {
    font-weight: 600;
    background: rgba(34,197,94,0.14); /* subtle green highlight */
}

.edit-grid {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.edit-col {
    flex: 1;
    min-width: 300px;
}

.edit-col h4 {
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.edit-col label {
    display: block;
    margin-top: 10px;
    font-weight: 600;
}

.edit-col input {
    width: 100%;
    padding: 8px;
    margin-top: 4px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.mapping-scroll {
    max-height: 350px;
    overflow-y: auto;
    padding-right: 5px;
}

.map-row {
    margin-bottom: 12px;
}

.map-row label {
    display: block;
    font-weight: 600;
}

.map-row input {
    width: 100%;
    padding: 7px;
    margin-top: 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Responsive handling */
@media(max-width: 900px) {
    .edit-grid {
        flex-direction: column;
    }
}

#tm-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 320px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tm-toast {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(6px);
    animation: toast-slide-in 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.tm-toast-success { background: rgba(34,197,94,0.90); }
.tm-toast-error   { background: rgba(239,68,68,0.90); }
.tm-toast-warning { background: rgba(234,179,8,0.90); color: #222; }
.tm-toast-info    { background: rgba(59,130,246,0.90); }

.tm-toast button {
    background: none;
    border: none;
    color: inherit;
    font-size: 18px;
    cursor: pointer;
    margin-left: 10px;
}

@keyframes toast-slide-in {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes toast-fade-out {
    from { opacity: 1; }
    to   { opacity: 0; transform: translateX(40px); }
}

.map-icons {
    display: flex;
    gap: 6px;
    margin-top: 3px;
}

.map-icon {
    width: 22px;
    height: 22px;
    opacity: 0.35;
    filter: grayscale(1);
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.map-icon.map-on {
    opacity: 1;
    filter: grayscale(0);
}


