
#chartContainer {
    position: relative;
    width: 100%;
    height: 900px;
    margin: auto;
}

#FamilyChart {
    width: 100%;
    height: 100%;
    background-color: rgb(33, 33, 33);
    color: #fff;
}

#loadingOverlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(33, 33, 33, 0.72);
    color: #fff;
    backdrop-filter: blur(2px);
}

#loadingOverlay.is-visible {
    display: flex;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
}

.loading-spinner {
    width: 54px;
    height: 54px;
    border: 5px solid rgba(255, 255, 255, 0.25);
    border-top-color: #2aaa7f;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

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