
/* Stili per il tutorial */
.tutorial-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh; /* Aggiungi altezza minima all'overlay */
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
}

.tutorial-highlight {
    position: absolute;
    border-radius: 4px;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5); /* Cambiato anche qui da 0.7 a 0.5 per coerenza */
    z-index: 2001;
    pointer-events: none;
}

.tutorial-tooltip {
    position: absolute;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    z-index: 2002;
    animation: tooltipAppear 0.3s ease-out;
}

.tutorial-tooltip:after {
    content: '';
    position: absolute;
    border: 8px solid transparent;
}

.tutorial-tooltip.top:after {
    border-top-color: white;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
}

.tutorial-tooltip.bottom:after {
    border-bottom-color: white;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
}

.tutorial-tooltip.left:after {
    border-left-color: white;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
}

.tutorial-tooltip.right:after {
    border-right-color: white;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
}

.tutorial-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.tutorial-button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.tutorial-next {
    background-color: #4CAF50;
    color: white;
}

.tutorial-skip {
    background-color: #f1f1f1;
    color: #666;
}


/* Assicurati che il tutorial sia sempre visibile */
.tutorial-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh; /* Aggiungi altezza minima all'overlay */
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
}
