#glass-globe-wrapper {
    width: 100%;
    max-width: 800px; /* Default max width, can be overridden by theme */
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    /* Completely transparent background */
    background: transparent;
}

#glass-globe-container {
    width: 100%;
    aspect-ratio: 1 / 1; /* Keep it square/round */
    min-height: 400px; /* Fallback height */
    position: relative;
    cursor: grab;
}

#glass-globe-container:active {
    cursor: grabbing;
}

/* Tooltip Styles */
.glass-globe-tooltip {
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 10;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Base state for HTML elements (they are always in DOM, just positioned) */
/* We want them to act like tooltips that show on hover or are permanent markers */
.glass-globe-tooltip .tooltip-content {
    background: rgba(15, 23, 42, 0.85); /* Dark slate with glass effect */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: system-ui, -apple-system, sans-serif;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 150px;
    text-align: right; /* RTL support */
    /* Add a small arrow */
    position: relative;
}

.glass-globe-tooltip .tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(15, 23, 42, 0.85) transparent transparent transparent;
}

.glass-globe-tooltip h4 {
    margin: 0 0 5px 0;
    color: #88ccff; /* Icy blue for headings */
    font-size: 16px;
    font-weight: 600;
}

.glass-globe-tooltip p {
    margin: 0 0 3px 0;
    font-size: 13px;
    color: #cbd5e1;
}

.glass-globe-tooltip a {
    color: #4169E1;
    text-decoration: none;
    transition: color 0.2s;
}

.glass-globe-tooltip a:hover {
    color: #88ccff;
}

/* Interactive hover logic for HTML elements if they act as points */
/* Globe.gl html elements are rendered based on data. We can add hover effects. */
.glass-globe-tooltip {
    opacity: 0.8;
}

.glass-globe-tooltip:hover {
    opacity: 1;
    z-index: 11;
    transform: translate(-50%, -50%) scale(1.05);
}
