/* ═══════════════════════════════════════
   ZAPCONNECT CHAT — FINTECH NORTHWIND
   ═══════════════════════════════════════ */
:root {
    --bg:           #f5f6f9;
    --paper:        #ffffff;
    --ink:          #161924;
    --muted:        #5d6678;
    --line:         #e3e6ee;
    --accent:       #2c4ee8;
    --accent-soft:  #eaeefe;
    --positive:     #1f8a5a;
    --warn:         #b58522;
    --danger:       #b13b3b;
    --topbar-h:     48px;
    --sidebar-w:    300px;
    --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, sans-serif;
    --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--body);
    font-size: 14px;
    line-height: 1.55;
    height: 100vh;
    overflow: hidden;
}

.hl { color: var(--accent); }

/* ═══ TOP BAR ═══ */
.topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--topbar-h);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 200;
}

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

.topbar-logo {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.topbar-sep {
    color: var(--line);
    font-size: 16px;
    font-weight: 300;
}

.topbar-page {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.topbar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.topbar-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    text-decoration: none;
    transition: all 0.15s;
}
.topbar-link:hover { background: var(--bg); color: var(--ink); }
.topbar-link--active { background: var(--accent-soft); color: var(--accent); }
.topbar-link--active:hover { background: var(--accent-soft); color: var(--accent); }

/* ═══ SHELL LAYOUT ═══ */
.chat-shell {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.chat-app {
    display: grid;
    grid-template-columns: var(--sidebar-w) 1fr;
    height: calc(100vh - var(--topbar-h));
    margin-top: var(--topbar-h);
}

/* ═══ SIDEBAR ═══ */
.sidebar-contacts {
    background: var(--paper);
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

/* ── Instance Card ── */
.instance-card {
    position: relative;
    padding: 16px;
    border-bottom: 1px solid var(--line);
    user-select: none;
}

.instance-card-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}
.instance-card-trigger:hover {
    border-color: var(--accent);
    background: white;
    box-shadow: 0 2px 8px rgba(44,78,232,0.08);
}

.inst-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid var(--line);
}

.inst-info {
    flex: 1;
    min-width: 0;
}

.inst-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.inst-name {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.inst-phone {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.inst-chevron {
    color: var(--muted);
    flex-shrink: 0;
    transition: transform 0.2s;
}
.instance-card-trigger:hover .inst-chevron { color: var(--accent); }

/* ── Status Dot ── */
.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d1d5db;
    flex-shrink: 0;
}
.status-dot.online  { background: var(--positive); box-shadow: 0 0 6px var(--positive); }
.status-dot.offline { background: var(--danger); }

/* ── Dropdown ── */
.instance-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 16px;
    right: 16px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
    z-index: 100;
    display: none;
    padding: 6px;
}
.instance-dropdown.show {
    display: block;
    animation: dropDown 0.18s ease-out;
}
@keyframes dropDown {
    from { transform: translateY(-6px); opacity: 0; }
    to   { transform: translateY(0);   opacity: 1; }
}

.instance-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.1s;
}
.instance-item:hover { background: var(--bg); }
.instance-item .name { font-size: 13px; font-weight: 600; }
.instance-item .status-label { font-family: var(--mono); font-size: 9px; text-transform: uppercase; opacity: 0.6; }

/* ── Search + Tabs ── */
.sidebar-controls {
    padding: 14px 16px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.search-container {
    position: relative;
}
.search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}
.search-container input {
    width: 100%;
    padding: 8px 12px 8px 32px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 7px;
    font-size: 13px;
    outline: none;
    font-family: var(--body);
    transition: border-color 0.15s;
}
.search-container input:focus { border-color: var(--accent); }
.search-container input::placeholder { color: var(--muted); }

/* ── Tabs row wrapper ── */
.tabs-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

/* ── Main tabs pill group ── */
.tabs-container {
    display: flex;
    flex: 1;
    gap: 4px;
    background: var(--bg);
    padding: 3px;
    border-radius: 8px;
    border: 1px solid var(--line);
}

.tab-btn {
    flex: 1;
    padding: 7px 4px;
    border: none;
    background: transparent;
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.tab-btn.active {
    background: var(--paper);
    color: var(--accent);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.tab-btn:hover:not(.active) { color: var(--ink); }

/* ── Grupos icon button ── */
.tab-btn-icon {
    position: relative;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border: 1px solid var(--line);
    background: var(--bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.15s;
}
.tab-btn-icon:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent);
}
.tab-btn-icon.active {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent);
    box-shadow: 0 1px 4px rgba(44,78,232,0.15);
}
.tab-btn-icon .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    padding: 1px 4px;
    font-size: 8px;
    min-width: 14px;
    text-align: center;
}


.badge {
    background: var(--accent);
    color: white;
    padding: 1px 5px;
    border-radius: 99px;
    font-size: 9px;
    font-weight: 700;
}

/* ── Contact List ── */
.contacts-list {
    flex: 1;
    overflow-y: auto;
}
.contacts-list::-webkit-scrollbar { width: 4px; }
.contacts-list::-webkit-scrollbar-track { background: transparent; }
.contacts-list::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 10px; }
.contacts-list::-webkit-scrollbar-thumb:hover { background: #9ca3af; }

.contact-item {
    display: flex;
    gap: 11px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid var(--line);
    position: relative;
}
.contact-item:hover { background: var(--bg); }
.contact-item.active {
    background: var(--accent-soft);
    border-left: 3px solid var(--accent);
    padding-left: 21px;
}

.contact-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; color: white;
    background: linear-gradient(135deg, var(--accent), #6e85ff);
    flex-shrink: 0;
}

.contact-info { flex: 1; min-width: 0; }
.contact-top  { display: flex; justify-content: space-between; margin-bottom: 2px; }
.contact-name { font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.contact-time { font-family: var(--mono); font-size: 10px; color: var(--muted); flex-shrink: 0; }
.contact-last-msg,
.contact-msg  { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.contact-bottom { display: flex; justify-content: space-between; align-items: center; }

.unread-badge {
    background: var(--accent);
    color: white;
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
}

/* ── Tags Filter Bar (Top) ── */
.tags-filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    flex-shrink: 0;
    z-index: 10;
}

.tags-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    flex: 1;
    scrollbar-width: none;
}
.tags-scroll::-webkit-scrollbar { display: none; }

.tag-pill {
    padding: 8px 18px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid var(--line);
    color: var(--muted);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tag-pill.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(44, 78, 232, 0.2);
}

.add-tag-btn {
    background: var(--bg);
    border: 1px solid var(--line);
    color: var(--muted);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.add-tag-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}

.tag-selector-wrap {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-right: 12px;
}

.tag-select-btn {
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
    background: var(--bg);
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.tag-select-btn.active {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}

.contact-tag-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* ── Context Menu (Mover para Aba) ── */
.contact-more-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.2s;
    background: var(--paper);
    border: 1px solid var(--line);
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    cursor: pointer;
    z-index: 5;
}
.contact-item:hover .contact-more-btn { opacity: 1; }
.contact-more-btn:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }

.move-menu {
    position: fixed;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    z-index: 1000;
    width: 200px;
    padding: 6px;
    display: none;
    animation: menuFadeIn 0.15s ease-out;
}
@keyframes menuFadeIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

.move-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    transition: all 0.1s;
}
.move-menu-item:hover { background: var(--bg); color: var(--accent); }
.move-menu-item svg { color: var(--muted); }
.move-menu-item:hover svg { color: var(--accent); }

.submenu-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.submenu-trigger::after {
    content: "›";
    font-size: 18px;
    font-weight: 400;
    color: var(--muted);
}

.tags-submenu {
    position: absolute;
    left: 100%;
    top: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    width: 180px;
    padding: 6px;
    display: none;
    margin-left: 2px;
}
.move-menu-item:hover .tags-submenu { display: block; }

/* ── Sidebar User Footer ── */
.sidebar-user-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--line);
    background: var(--paper);
    margin-top: auto;
}

.user-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #6366f1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}

.user-meta { flex: 1; min-width: 0; }
.user-meta strong {
    display: block;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--ink);
}
.user-meta span {
    display: block;
    font-size: 10px;
    color: var(--positive);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.logout-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    padding: 6px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}
.logout-btn:hover { color: var(--danger); background: #fef2f2; }

/* ── Empty States Refined ── */
.empty-state-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    animation: fadeIn 0.4s ease-out;
}

.empty-svg-wrap {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.empty-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
}

.empty-desc {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
    max-width: 200px;
}

/* ── Skeleton Loading ── */
.skeleton-list {
    padding: 0;
}

.skeleton-item {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    align-items: center;
}

.sk {
    background: linear-gradient(90deg, #f0f1f4 25%, #e2e4e9 50%, #f0f1f4 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

.sk-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    flex-shrink: 0;
}

.sk-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sk-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sk-name { width: 50%; height: 12px; }
.sk-time { width: 20%; height: 8px; }
.sk-msg  { width: 80%; height: 10px; }

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scrollbar tweaks */
.contacts-list::-webkit-scrollbar { width: 4px; }
.contacts-list::-webkit-scrollbar-track { background: transparent; }
.contacts-list::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 10px; }


/* ═══ CHAT AREA ═══ */
.chat-area {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    background: var(--bg);
}

.chat-header {
    flex-shrink: 0;
    padding: 16px 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-title-group { display: flex; align-items: center; gap: 12px; }
.chat-name   { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.chat-status {
    font-family: var(--mono); font-size: 10px; text-transform: uppercase;
    color: var(--positive); display: flex; align-items: center; gap: 5px;
}
.chat-status::before { content: ""; width: 6px; height: 6px; background: currentColor; border-radius: 50%; }

/* ── Messages ── */
.messages-container {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    background: #e5ddd5;
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    background-blend-mode: overlay;
}

#messagesList {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px;
}

.date-divider { text-align: center; margin: 24px 0 8px; position: relative; }
.date-divider::before { content: ""; position: absolute; left: 8%; right: 8%; top: 50%; height: 1px; background: var(--line); }
.date-divider span {
    position: relative; background: #ede8e0;
    padding: 0 14px; font-family: var(--mono);
    font-size: 10px; color: var(--muted);
    text-transform: uppercase; letter-spacing: 0.05em;
    border-radius: 99px;
}

.message-wrapper { display: flex; flex-direction: column; max-width: 65%; }
.msg-wrapper-sent     { align-self: flex-end;   align-items: flex-end; }
.msg-wrapper-received { align-self: flex-start; align-items: flex-start; }

.message {
    padding: 9px 13px;
    border-radius: 12px;
    font-size: 13.5px;
    line-height: 1.5;
    position: relative;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.msg-received { background: #ffffff; border-bottom-left-radius: 2px; }
.msg-sent     { background: #dcf8c6; color: #303030; border-bottom-right-radius: 2px; }

.msg-text { word-break: break-word; white-space: pre-wrap; font-size: 14px; line-height: 1.45; }
.msg-sender { font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--accent); margin-bottom: 3px; }

.msg-meta {
    display: flex; align-items: center; gap: 4px;
    margin-top: 3px; font-family: var(--mono);
    font-size: 9px; color: var(--muted); opacity: 0.7;
}
.msg-status.status-read { color: var(--accent); opacity: 1; }

/* ── Links ── */
.chat-link { color: #00a5f4; text-decoration: none; }
.chat-link:hover { text-decoration: underline; }

.link-preview {
    margin-top: 8px; background: rgba(0,0,0,0.03);
    border-radius: 8px; overflow: hidden; cursor: pointer;
    border: 1px solid rgba(0,0,0,0.05); transition: background 0.2s; max-width: 280px;
}
.link-preview:hover { background: rgba(0,0,0,0.06); }
.preview-thumb  { width: 100%; height: 120px; object-fit: cover; display: block; }
.preview-info   { padding: 8px 10px; }
.preview-title  { display: block; font-weight: 700; font-size: 13px; color: var(--ink); margin-bottom: 2px; }
.preview-desc   { display: block; font-size: 11px; color: var(--muted); }

/* ── Media ── */
.msg-media {
    margin: 4px -4px; border-radius: 8px;
    overflow: hidden; background: rgba(0,0,0,0.05);
    display: flex; justify-content: center;
}
.chat-img {
    max-width: 230px; max-height: 300px; display: block;
    object-fit: cover; cursor: pointer; transition: opacity 0.2s;
}
.chat-img:hover { opacity: 0.9; }

/* ── Input ── */
.chat-input-area {
    flex-shrink: 0;
    padding: 20px 28px;
    background: var(--paper);
    border-top: 1px solid var(--line);
}

.chat-input-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
}

#messageInput {
    padding: 11px 16px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    outline: none;
    font-family: var(--body);
    font-size: 14px;
    transition: border-color 0.15s;
}
#messageInput:focus { border-color: var(--accent); }

.btn-icon {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px; border: 1px solid var(--line);
    background: var(--paper); cursor: pointer;
    color: var(--muted); transition: all 0.15s;
}
.btn-icon:hover { background: var(--bg); border-color: var(--muted); }

.btn-send {
    background: var(--accent); color: white;
    border: none; padding: 0 20px; height: 38px;
    border-radius: 8px; font-weight: 600;
    cursor: pointer; font-size: 14px; transition: filter 0.15s;
}
.btn-send:hover { filter: brightness(1.1); }

/* ── Delete button ── */
.delete-chat-btn {
    position: absolute; right: 8px; bottom: 8px;
    color: var(--muted); opacity: 0; transition: all 0.2s;
    cursor: pointer; padding: 5px; border-radius: 5px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.03); z-index: 10;
}
.delete-chat-btn:hover { color: var(--danger); background: rgba(177,59,59,0.1); }
.contact-item:hover .delete-chat-btn { opacity: 1; }

/* ── Image Modal ── */
.image-modal { background: rgba(22,25,36,0.92); backdrop-filter: blur(4px); }

/* ═══ SCROLLBAR ═══ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: rgba(0,0,0,0.02); }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #9ca3af; }
