.canvas-container { 
    position: relative; 
    width: 100%;
}

/* Pure CSS Contextual Tooltips */
.tooltip-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: #333;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 0.7rem;
    line-height: 16px;
    cursor: help;
    margin-left: 4px;
    position: relative;
}
.tooltip-icon:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: #222;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    width: 220px;
    z-index: 10;
    line-height: 1.3;
    font-weight: normal;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}    

.premium-content { 
    display: none; 
}

.premium-content.visible { 
    display: block; 
}

#loader { 
    display: none; 
}

.sr-only:not(:focus):not(:active) {
    clip: rect(0 0 0 0); 
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap; 
    width: 1px;
}

.htmx-indicator{
    display:none;
}
.htmx-request .htmx-indicator{
    display:inline;
}
.htmx-request.htmx-indicator{
    display:inline;
}
@keyframes fadeIn { 
    from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } 
}

.animate-fade-in { 
    animation: fadeIn 0.2s ease-out forwards; 
}

@keyframes fadeInMenu { 
    from { opacity: 0; } to { opacity: 1; } 
}

.animate-fade-in-menu { 
    animation: fadeInMenu 0.2s ease-out forwards; 
}