/* Stili per il nastrino */
.vacation-ribbon {
    position: fixed;
    top: 15px;
    right: -30px;
    background: linear-gradient(45deg, #dc2626, #b91c1c);
    color: white;
    padding: 8px 40px;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    transform: rotate(45deg);
    z-index: 9999;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid #991b1b;
    transition: all 0.3s ease;
}

.vacation-ribbon:hover {
    background: linear-gradient(45deg, #ef4444, #dc2626);
    transform: rotate(45deg) scale(1.05);
}

/* Animazione scintillante */
.vacation-ribbon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: sparkle 2s infinite;
}

@keyframes sparkle {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Stili per il modal */
.vacation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.vacation-modal.show {
    display: flex;
}

.vacation-modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.vacation-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.vacation-modal-close:hover {
    color: #dc2626;
}

.vacation-message {
    color: #333;
    font-size: 16px;
    margin-top: 10px;
}

.vacation-signature {
    margin-top: 20px;
    font-style: italic;
    color: #666;
}