/* Lista canzoni */

.song-list {
    background: #fff;
}

.song-item {
    padding: 14px 16px;
    border-bottom: 1px solid #ececec;
    cursor: pointer;
    transition: all .2s ease;
}

.song-item:last-child {
    border-bottom: 0;
}

.song-item:hover {
    background: #f8f9fa;
}

.song-item.selected {
    border-left: 4px solid #0d6efd;
    background: #f8fbff;
}

/* Titolo e artista */

.song-title {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3;
}

.song-artist {
    font-size: .9rem;
    color: #6c757d;
    margin-top: 2px;
}

/* Barra azioni */

.bottom-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;

    display: flex;
    gap: 6px;

    background: #fff;
    border-top: 1px solid #e5e7eb;

    padding: 8px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));

    z-index: 1000;
}

/* Pulsanti */

.action-btn {
    flex: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 4px;

    padding: 8px;

    text-decoration: none;
    color: #495057;

    border-radius: 12px;

    transition: all .2s ease;
}

.action-btn:hover {
    background: #f8f9fa;
    color: #0d6efd;
}

.action-btn.disabled {
    opacity: .35;
    pointer-events: none;
}

.action-icon {
    font-size: 1.4rem;
    line-height: 1;
}

.action-label {
    font-size: .75rem;
    font-weight: 500;
}

/* Evita che la lista finisca sotto la barra */

body {
    padding-bottom: 95px;
}

#songSearch {
    border-radius: 12px;
}

.input-group-text {
    border-radius: 12px 0 0 12px;
}