.song-text {
    font-family: Arial, "Liberation Sans", "Helvetica Neue", Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0;
}
.song-text-edit {
    font-family: Arial, "Liberation Sans", "Helvetica Neue", Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

.song-picker {
    position: relative;
}

.song-picker .picker-list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 1080;
    max-height: 260px;
    overflow-y: auto;
    background-color: #ffffff;
    border: 1px solid #dbe1e8;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
    padding: 4px 0;
    margin: 0;
}

.song-picker .picker-list .list-group-item {
    display: block;
    width: 100%;
    background-color: #ffffff;
    border: 0;
    border-radius: 0;
    padding: 8px 12px;
    color: #1f2937;
    font-size: 14px;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
}

.song-picker .picker-list .list-group-item:hover,
.song-picker .picker-list .list-group-item.active {
    background-color: #eef2f7;
    color: #111827;
}

.song-picker .picker-list .list-group-item.disabled {
    background-color: #ffffff;
    color: #9aa4b2;
    cursor: default;
}

.song-picker .picker-list .list-group-item strong {
    font-weight: 700;
    color: #0f172a;
}

.setlist-card {
    overflow: visible;
}

@media (max-width: 767.98px) {
    .navbar-collapse .navbar-nav .nav-link {
        padding-left: 0;
        padding-right: 0;
    }
    .navbar-collapse .navbar-nav {
        border-top: 1px solid #e6e9ef;
        margin-top: .5rem;
    }
}

@media (max-width: 767.98px) {
    .page-wrapper .container-xl {
        padding-left: 12px;
        padding-right: 12px;
    }

    .page-wrapper .btn-list {
        flex-wrap: wrap;
        gap: .5rem;
    }

    .page-wrapper .breadcrumb {
        font-size: .82rem;
        flex-wrap: wrap;
    }

    .page-wrapper h1.h2 {
        font-size: 1.4rem;
        line-height: 1.25;
    }

    .page-wrapper .table td,
    .page-wrapper .table th {
        white-space: normal;
    }
}

@media (min-width: 768px) {
    .navbar-logout-btn {
        width: auto !important;
    }
}

.drag-handle {
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    min-width: 40px;
    min-height: 40px;
}

.drag-handle:active {
    cursor: grabbing;
}

body.dragging-active {
    user-select: none;
    -webkit-user-select: none;
}

.setlist {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.setlist-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background-color: #f4f6f8;
    border: 1px solid #e3e7ef;
    border-radius: 6px;
}

.setlist-row.dragging {
    opacity: .45;
}

.setlist-handle {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #7b8794;
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.setlist-handle:active {
    cursor: grabbing;
}

.setlist-title {
    flex-grow: 1;
    min-width: 0;
    font-size: 15px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.setlist-key {
    flex-shrink: 0;
    padding: 1px 8px;
    border-radius: 10px;
    background-color: #e6ebf5;
    color: #4b5563;
    font-size: 12px;
    line-height: 1.6;
}

.setlist-remove {
    flex-shrink: 0;
    border: 0;
    background: transparent;
    color: #b42318;
    font-size: 20px;
    line-height: 1;
    padding: 0 6px;
    cursor: pointer;
}

.song-picker-add {
    max-width: 520px;
}

.picker-icon {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    font-size: 18px;
    line-height: 1;
    color: #7b8794;
    pointer-events: none;
}
