.ggb-container {
    width: 100%;          /* 👈 tu contrôles ici */
    /*height: 400px;*/
    position: relative;
    margin-bottom: 20px;
}

.ggb-element {
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s;
}

.ggb-element.visible {
    visibility: visible;
    opacity: 1;
}

.loader {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    z-index: 10;
}

/* Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ddd;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


.label {
    margin-bottom: 10px;
}

.bar {
    width: 60%;
    height: 10px;
    background: #eee;
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    width: 0%;
    height: 100%;
    background: #3498db;
    transition: width 0.2s;
}