.gn-block {
    cursor: alias !important;
    /*border: 1px red dotted;*/
} 


/* 
.gn-block {
    padding-right: 5px;
    padding-right: 5px;
    
    padding: 10px;
} 

.gn-block:hover {
    border-color: blue;
    box-shadow: 0 0 10px rgba(0, 0, 255, 0.5);
}

.success .gn-block:hover {
    border-color: blue;
    box-shadow: 0 0 10px rgba(0, 0, 255, 0.5);
    background-color: #ccc;
} */


.dropHere {
    visibility: hidden;
    display: none;
}

/*
 .dropHere {
 
    
    padding: 2px;

} 
*/
/*
 .isEditionModeEnabled .dropHere {
    visibility: visible;
    display: flex;
    background-color: azure;
    
    padding: 2px;
} 
*/

.loveMode {
    visibility: hidden;
    height: 0;
}

.isEditionModeEnabled .loveMode {
    visibility: visible;
        height: auto;

} 


 

/* Empêcher le scroll horizontal sur le body */
body.gn-block-panel-visible {
    overflow-x: hidden;
}


.gn-block-action-panel {
    /* Empêcher le panel de créer du scroll */
    max-width: calc(100vw - 20px) !important;
    
    /* Style distinct pour le mode emergency */
    z-index: 10000; /* Au-dessus de tout */
}

/* Indicateur visuel du mode emergency */
.gn-panel-emergency::after {
    content: "🛡️";
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 12px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}