/* Animación de descarga */
@keyframes downloadSuccess {
    0% { transform: scale(1); opacity: 0; }
    20% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0; }
}

/* Notificación de descarga mejorada */
@keyframes slideIn {
    0% { transform: translateY(100px); opacity: 0; }
    20% { transform: translateY(0); opacity: 1; }
    80% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(100px); opacity: 0; }
}

.download-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #28a745;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    z-index: 1050;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: slideIn 3s ease-in-out forwards;
    pointer-events: none;
    max-width: 350px;
    border-left: 5px solid #1e7e34;
}

.download-notification i {
    margin-right: 15px;
    font-size: 1.8rem;
    color: #d4edda;
}

.download-notification .notification-content {
    display: flex;
    flex-direction: column;
}

.download-notification .notification-title {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.download-notification .notification-message {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Efecto para pantallas pequeñas */
@media (max-width: 768px) {
    .download-notification {
        right: 15px;
        left: 15px;
        max-width: none;
        bottom: 15px;
    }
}
/* Estilos para los acordes */
.annotation {
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    fill: #333;
}

/* Controles de acorde */
#chordNameContainer {
    margin-top: 10px;
}

/* Estilos para la lista de notas */
#noteList .list-group-item {
    transition: all 0.2s;
}

#noteList .list-group-item:hover {
    background-color: #f8f9fa;
}

#noteList.empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-style: italic;
}

/* Estilos para la notificación de descarga */
.download-notification {
    animation: slideIn 0.3s forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilos para la vista previa de la partitura */
#score-content, #fullscreen-score {
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .button-group .btn {
        min-width: auto;
        flex-grow: 1;
    }
    
    #controls, #preview-section {
        padding: 15px;
    }
}