/* style.css – Trenches ID */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: #f5f5f5; color: #1a1a1a; height: 100vh; overflow: hidden; }

.dashboard { display: flex; flex-direction: column; height: 100vh; background: #ffffff; }

/* ========== TOP BAR ========== */
.topbar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 8px 24px;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.topbar-content {
    display: flex;
    align-items: center;
    gap: 16px;
}
.topbar-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #4a5568;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.topbar-icon {
    color: #1a365d;
    font-size: 14px;
}
.topbar-scroll {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 36px;
}
.topbar-track {
    display: flex;
    gap: 20px;
    align-items: center;
    white-space: nowrap;
    animation: scrollTopbar 30s linear infinite;
    height: 100%;
    padding: 0 10px;
    width: max-content;
}
.topbar-track:hover {
    animation-play-state: paused;
}
.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 8px;
    background: #f7fafc;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #1a202c;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    border: 1px solid transparent;
}
.topbar-item:hover {
    background: #edf2f7;
    border-color: #e2e8f0;
    transform: translateY(-1px);
}
.topbar-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #e2e8f0;
}
.topbar-number {
    font-size: 10px;
    font-weight: 700;
    color: #1a365d;
    background: #ebf4ff;
    padding: 1px 6px;
    border-radius: 10px;
}
.topbar-empty {
    color: #a0aec0;
    font-size: 13px;
    padding: 6px 0;
}
.topbar-popup-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #4a5568;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    flex-shrink: 0;
}
.topbar-popup-btn:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
    color: #1a202c;
}
.topbar-popup-btn svg {
    flex-shrink: 0;
}

@keyframes scrollTopbar {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== HEADER ========== */
.header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 12px 32px; 
    background: #ffffff; 
    border-bottom: 1px solid #e2e8f0; 
    flex-shrink: 0; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { 
    font-size: 24px; 
    font-weight: 800; 
    color: #1a365d; 
    background: #ebf4ff;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo h1 { 
    font-size: 20px; 
    font-weight: 800; 
    letter-spacing: -0.5px; 
    color: #1a365d;
}

/* Header Token Stats */
.header-token-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 6px 16px;
    background: #f7fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
.header-stat {
    display: flex;
    align-items: center;
    gap: 6px;
}
.header-stat-label {
    font-size: 11px;
    font-weight: 600;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.header-stat-value {
    font-size: 14px;
    font-weight: 700;
    color: #1a202c;
}
.header-stat-divider {
    color: #e2e8f0;
}

.header-actions { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}
.header-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    color: #4a5568;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s;
}
.header-link:hover {
    background: #f7fafc;
    color: #1a365d;
}
.header-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}
.header-link svg {
    flex-shrink: 0;
}
.btn-login, .btn-citizens { 
    padding: 8px 20px; 
    background: #1a365d; 
    color: #ffffff; 
    border: none; 
    border-radius: 6px; 
    font-size: 13px; 
    font-weight: 600; 
    cursor: pointer; 
    transition: all 0.2s; 
    font-family: inherit;
}
.btn-citizens {
    background: #2d3748;
}
.btn-citizens:hover {
    background: #1a202c;
    transform: translateY(-1px);
}
.btn-login:hover { 
    background: #2a4365; 
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26,54,93,0.2);
}
.user-badge { 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    padding: 6px 16px; 
    background: #f7fafc; 
    border-radius: 20px; 
    font-size: 13px; 
    font-weight: 500; 
    color: #2d3748;
}

/* ========== MAIN LAYOUT ========== */
.main-content { display: flex; flex: 1; overflow: hidden; gap: 0; }
.sidebar-left, .sidebar-right { 
    width: 320px; 
    padding: 20px; 
    overflow-y: auto; 
    flex-shrink: 0; 
    background: #f7fafc; 
    border-right: 1px solid #e2e8f0; 
}
.sidebar-right { border-right: none; border-left: 1px solid #e2e8f0; }

/* ========== WIDGETS ========== */
.widget { 
    background: #ffffff; 
    border: 1px solid #e2e8f0; 
    border-radius: 10px; 
    padding: 16px; 
    margin-bottom: 16px; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.04); 
}
.widget h3 { 
    font-size: 12px; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 0.8px; 
    color: #718096; 
    margin-bottom: 14px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
}
.badge { 
    background: #1a365d; 
    color: #ffffff; 
    padding: 2px 10px; 
    border-radius: 12px; 
    font-size: 11px; 
    font-weight: 600;
}
.btn-view-all {
    width: 100%;
    margin-top: 12px;
    padding: 8px;
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #4a5568;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.btn-view-all:hover {
    background: #f7fafc;
    border-color: #1a365d;
    color: #1a365d;
}

/* ========== ABOUT WIDGET ========== */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.about-text {
    font-size: 13px;
    line-height: 1.6;
    color: #4a5568;
}
.about-text strong {
    color: #1a365d;
}
.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.about-tag {
    font-size: 11px;
    font-weight: 500;
    color: #1a365d;
    background: #ebf4ff;
    padding: 4px 12px;
    border-radius: 12px;
    border: 1px solid #dbeafe;
}

/* ========== CITIZENS LIST ========== */
.citizens-list { max-height: 240px; overflow-y: auto; }
.citizen-item { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    padding: 8px 10px; 
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
}
.citizen-item:hover { background: #f7fafc; }
.citizen-mini-passport { 
    width: 30px; 
    height: 22px; 
    border-radius: 3px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #ffffff; 
    font-size: 10px; 
    font-weight: 800; 
    flex-shrink: 0; 
    background: linear-gradient(145deg, #1a365d, #2a4365); 
    border: 1px solid #2d3748; 
}
.citizen-avatar { 
    width: 28px; 
    height: 28px; 
    border-radius: 50%; 
    object-fit: cover; 
    border: 2px solid #e2e8f0; 
}
.citizen-info { flex: 1; min-width: 0; }
.citizen-name { font-size: 13px; font-weight: 600; display: block; color: #1a202c; }
.citizen-username { font-size: 11px; color: #718096; }
.citizen-badge { 
    font-size: 10px; 
    font-weight: 700; 
    color: #1a365d; 
    background: #ebf4ff;
    padding: 2px 8px;
    border-radius: 4px;
}
.empty-state { color: #a0aec0; font-size: 13px; text-align: center; padding: 20px 0; }

/* ========== PASSPORT ========== */
.passport-container { 
    flex: 1; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 24px; 
    background: #f7fafc; 
    overflow: auto; 
}
.passport-wrapper { 
    width: 560px; 
    height: 400px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12); 
    border-radius: 12px; 
    overflow: hidden; 
    background: #ffffff;
    transition: all 0.3s;
}
.passport { 
    width: 100%; 
    height: 100%; 
    display: flex; 
    flex-direction: column; 
    background: #ffffff;
}

/* Passport header top */
.passport-header-top {
    background: linear-gradient(145deg, #1a365d, #2a4365);
    padding: 18px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    border-bottom: 2px solid #2d3748;
    min-height: 72px;
}
.passport-title-large {
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 4px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.passport-badge {
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 5px;
    background: rgba(255,255,255,0.12);
    padding: 6px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.15);
}

/* Passport body */
.passport-body { 
    flex: 1;
    padding: 24px 28px;
    display: flex; 
    gap: 28px; 
    background: #ffffff;
    transition: opacity 0.3s;
    min-height: 0;
}
.passport-photo { 
    flex-shrink: 0; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 10px; 
}
.passport-photo img { 
    width: 120px; 
    height: 144px; 
    object-fit: cover; 
    border: 2px solid #e2e8f0; 
    border-radius: 6px; 
    background: #f7fafc; 
}
.signature-area { text-align: center; }
.signature-area canvas { 
    border: 1px dashed #cbd5e0; 
    border-radius: 4px; 
    width: 140px; 
    height: 40px; 
    background: #ffffff; 
}
.signature-label { 
    font-size: 9px; 
    text-transform: uppercase; 
    color: #a0aec0; 
    letter-spacing: 1.5px; 
    margin-top: 4px; 
}

.passport-info { 
    flex: 1; 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 8px 28px; 
    font-size: 13px; 
    align-content: start;
    padding-top: 4px;
}
.info-group { display: flex; flex-direction: column; gap: 2px; }
.info-group label { 
    font-size: 9px; 
    text-transform: uppercase; 
    color: #a0aec0; 
    font-weight: 600; 
    letter-spacing: 0.8px; 
}
.info-group span { 
    font-weight: 600; 
    font-size: 14px; 
    color: #1a202c; 
}

/* Passport footer with buttons */
.passport-footer { 
    display: flex; 
    gap: 14px; 
    justify-content: center; 
    padding: 12px 28px 18px 28px;
    background: #ffffff;
    border-top: 1px solid #f7fafc;
    flex-shrink: 0;
    min-height: 60px;
}
.btn-mint, .btn-download, .btn-share { 
    padding: 8px 28px; 
    border: none; 
    border-radius: 6px; 
    font-size: 13px; 
    font-weight: 700; 
    cursor: pointer; 
    transition: all 0.2s; 
    font-family: inherit; 
    letter-spacing: 0.5px;
}
.btn-mint { 
    background: #1a365d; 
    color: #ffffff; 
}
.btn-mint:disabled { 
    background: #edf2f7; 
    color: #a0aec0; 
    cursor: not-allowed; 
}
.btn-mint:not(:disabled):hover { 
    background: #2a4365; 
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(26,54,93,0.3);
}
.btn-download { 
    background: #2d3748; 
    color: #ffffff; 
}
.btn-download:hover { 
    background: #1a202c; 
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-share { 
    background: #1a365d; 
    color: #ffffff; 
}
.btn-share:hover { 
    background: #2a4365; 
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(26,54,93,0.3);
}

/* ========== TWEETS ========== */
.tweets-list { 
    max-height: 70vh; 
    overflow-y: auto; 
    padding: 4px 0;
}
.tweet-item { 
    padding: 12px 0; 
    border-bottom: 1px solid #f7fafc; 
}
.tweet-item:last-child { border-bottom: none; }
.tweet-text { 
    font-size: 13px; 
    line-height: 1.6; 
    color: #1a202c; 
}
.tweet-time { 
    font-size: 10px; 
    color: #a0aec0; 
    margin-top: 4px; 
}
.tweet-loading {
    color: #a0aec0;
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
}

/* Twitter widget iframe */
.tweet-widget {
    padding: 8px 0;
    min-height: 120px;
}
.tweet-widget iframe {
    width: 100% !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.tweet-widget .twitter-tweet {
    margin: 0 !important;
    width: 100% !important;
}

/* ========== MODAL OVERLAY ========== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.modal-overlay.active {
    display: flex !important;
}
.modal-content {
    background: #ffffff;
    border-radius: 16px;
    width: 90%;
    max-width: 900px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 80px rgba(0,0,0,0.25);
    animation: popupIn 0.25s ease-out;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}
.modal-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
}
.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #a0aec0;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0 8px;
}
.modal-close:hover {
    color: #1a202c;
}
.modal-body {
    padding: 24px 28px;
    overflow-y: auto;
    flex: 1;
}
.citizens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.citizen-card {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}
.citizen-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: #1a365d;
}
.citizen-card-header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 10px;
}
.citizen-card-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e2e8f0;
}
.citizen-card-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #1a365d;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    border: 2px solid #ffffff;
}
.citizen-card-name {
    font-size: 15px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 2px;
}
.citizen-card-username {
    font-size: 12px;
    color: #718096;
    margin-bottom: 8px;
}
.citizen-card-passport {
    font-size: 11px;
    font-weight: 600;
    color: #1a365d;
    background: #ebf4ff;
    padding: 2px 12px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}
.citizen-card-signature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    color: #4a5568;
}
.citizen-card-sig {
    max-width: 60px;
    max-height: 24px;
    border: 1px dashed #cbd5e0;
    border-radius: 2px;
}
.citizen-card-date {
    font-size: 10px;
    color: #a0aec0;
    margin-top: 6px;
}

/* ========== TOPBAR POPUP ========== */
.topbar-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}
.topbar-popup.active {
    display: flex !important;
}
.topbar-popup-content {
    background: #ffffff;
    border-radius: 14px;
    width: 90%;
    max-width: 760px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 80px rgba(0,0,0,0.25);
    animation: popupIn 0.25s ease-out;
}
@keyframes popupIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.topbar-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}
.topbar-popup-header h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1a202c;
}
.topbar-popup-close {
    background: none;
    border: none;
    font-size: 26px;
    color: #a0aec0;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0 4px;
    line-height: 1;
}
.topbar-popup-close:hover {
    color: #1a202c;
}
.topbar-popup-body {
    padding: 16px 24px 24px 24px;
    overflow-y: auto;
    flex: 1;
}
.topbar-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.topbar-table thead {
    background: #f7fafc;
    border-bottom: 2px solid #e2e8f0;
}
.topbar-table th {
    text-align: left;
    padding: 10px 12px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #718096;
    font-weight: 600;
}
.topbar-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f7fafc;
    color: #1a202c;
    vertical-align: middle;
}
.topbar-table tbody tr {
    cursor: pointer;
    transition: background 0.15s;
}
.topbar-table tbody tr:hover {
    background: #f7fafc;
}
.topbar-table tbody tr:last-child td {
    border-bottom: none;
}
.topbar-table-user {
    display: flex;
    align-items: center;
    gap: 10px;
}
.topbar-table-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}
.topbar-table-sig {
    max-height: 28px;
    max-width: 80px;
    border: 1px dashed #cbd5e0;
    border-radius: 2px;
    padding: 1px 4px;
    background: #f7fafc;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e0; border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: #a0aec0; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .sidebar-left, .sidebar-right { width: 240px; padding: 14px; }
    .passport-wrapper { width: 480px; height: 360px; }
    .passport-photo img { width: 100px; height: 120px; }
    .passport-header-top { padding: 14px 22px; min-height: 62px; }
    .passport-title-large { font-size: 18px; }
    .passport-body { padding: 18px 22px; gap: 20px; }
    .passport-info { gap: 6px 20px; font-size: 12px; }
    .info-group span { font-size: 12px; }
}
@media (max-width: 992px) {
    .sidebar-left, .sidebar-right { width: 200px; padding: 10px; }
    .passport-wrapper { width: 400px; height: 320px; }
    .passport-photo img { width: 85px; height: 102px; }
    .passport-info { font-size: 11px; gap: 4px 14px; }
    .info-group span { font-size: 11px; }
    .signature-area canvas { width: 100px; height: 32px; }
    .passport-header-top { padding: 12px 18px; min-height: 54px; }
    .passport-title-large { font-size: 16px; letter-spacing: 3px; }
    .passport-body { padding: 14px 18px; gap: 14px; }
    .passport-badge { font-size: 10px; padding: 4px 14px; letter-spacing: 3px; }
    .citizens-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .header-token-stats { padding: 4px 12px; gap: 10px; }
    .header-stat-value { font-size: 12px; }
}
@media (max-width: 768px) {
    .main-content { flex-direction: column; overflow-y: auto; }
    .sidebar-left, .sidebar-right { 
        width: 100%; 
        border: none; 
        border-bottom: 1px solid #e2e8f0; 
        max-height: 200px; 
    }
    .sidebar-right { border-bottom: none; border-top: 1px solid #e2e8f0; }
    .passport-container { padding: 16px; }
    .passport-wrapper { width: 340px; height: 320px; }
    .passport-photo img { width: 72px; height: 86px; }
    .passport-info { font-size: 10px; gap: 3px 10px; }
    .info-group span { font-size: 10px; }
    .header { padding: 10px 16px; flex-wrap: wrap; gap: 8px; }
    .logo h1 { font-size: 16px; }
    .signature-area canvas { width: 80px; height: 28px; }
    .header-actions { flex-wrap: wrap; gap: 8px; }
    .header-link { padding: 4px 10px; font-size: 12px; }
    .passport-title-large { font-size: 14px; letter-spacing: 2px; }
    .passport-header-top { padding: 10px 14px; min-height: 48px; }
    .passport-body { padding: 12px 14px; gap: 12px; }
    .passport-footer { padding: 10px 14px 14px 14px; min-height: 50px; gap: 8px; }
    .btn-mint, .btn-download, .btn-share { padding: 6px 18px; font-size: 11px; }
    .passport-badge { font-size: 8px; letter-spacing: 2px; padding: 3px 10px; }
    .citizens-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .modal-content { width: 95%; max-height: 90vh; }
    .modal-header { padding: 16px 20px; }
    .modal-header h2 { font-size: 17px; }
    .modal-body { padding: 16px 20px; }
    .header-token-stats { padding: 4px 10px; gap: 6px; }
    .header-stat-label { font-size: 9px; }
    .header-stat-value { font-size: 11px; }
    .topbar { padding: 6px 12px; }
    .topbar-content { gap: 10px; }
    .topbar-label { font-size: 10px; letter-spacing: 0.5px; }
    .topbar-label span:last-child { display: none; }
    .topbar-scroll { height: 30px; }
    .topbar-item { font-size: 11px; padding: 2px 10px 2px 6px; }
    .topbar-avatar { width: 18px; height: 18px; }
    .topbar-popup-btn { padding: 4px 10px; font-size: 11px; }
    .topbar-popup-btn span { display: none; }
    .topbar-popup-content { width: 95%; max-height: 90vh; }
    .topbar-popup-header { padding: 14px 16px; }
    .topbar-popup-header h3 { font-size: 15px; }
    .topbar-popup-body { padding: 12px 14px 16px 14px; overflow-x: auto; }
    .topbar-table { font-size: 12px; min-width: 500px; }
    .topbar-table th, .topbar-table td { padding: 8px 10px; }
    .topbar-table-sig { max-height: 22px; max-width: 60px; }
}

.header-token-stats{
        margin-left: 140px;
}

.citizen-mini-passport{
    display: none;
}