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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #000;
    color: #fff;
    overflow: hidden;
    height: 100vh;
    position: relative;
}

/* Globe Container */
#globeViz {
    width: 100vw;
    height: 100vh;
    cursor: grab;
}

#globeViz:active {
    cursor: grabbing;
}

/* Globe Labels (transaction details near pins) */
.globe-label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.label-content {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.9));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 222, 128, 0.5);
    border-radius: 8px;
    padding: 6px 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 30px rgba(74, 222, 128, 0.3);
    transform: translate(-50%, -120%);
    white-space: nowrap;
    animation: fadeIn 0.5s ease-out;
    min-width: auto;
}

.label-transaction-id {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
    font-family: 'Monaco', 'Courier New', monospace;
    letter-spacing: -0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    padding: 2px 4px;
    margin: -2px -4px 6px -4px;
    border-radius: 4px;
}

.label-transaction-id:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
}

.label-transaction-id:active {
    transform: scale(0.98);
}

.label-transaction-id.copied {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.2);
}

.label-transaction-id.copied::after {
    content: ' ✓';
    color: #4ade80;
    font-weight: bold;
}

.label-amount {
    font-size: 16px;
    font-weight: 700;
    color: #4ade80;
    text-shadow: 0 0 15px rgba(74, 222, 128, 0.8);
    margin-bottom: 2px;
}

.label-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.label-flag {
    font-size: 14px;
    line-height: 1;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.label-city {
    font-weight: 500;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -120%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -120%) scale(1);
    }
}


/* Loading Indicator */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #4ade80;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading p {
    margin-top: 20px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .label-content {
        padding: 8px 12px;
    }

    .label-amount {
        font-size: 16px;
    }

    .label-location {
        font-size: 12px;
    }

    .label-flag {
        font-size: 14px;
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .transaction-card,
    .status-bar {
        border-width: 0.5px;
    }
}