/* Queue Panel */
.queue-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: calc(100vh - 100px);
    background: rgba(15, 18, 24, 0.85);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    border-left: 1px solid var(--glass-border);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
}

.queue-panel.open {
    right: 0;
    box-shadow: -20px 0 60px rgba(0,0,0,0.7);
}

.queue-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.queue-header h3 {
    font-size: 24px;
    font-weight: 700;
}

.queue-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-right: 10px;
}

.queue-list::-webkit-scrollbar {
    width: 4px;
}

.queue-list::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}

.queue-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    cursor: pointer;
}

.queue-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
}

.queue-item.active {
    background: linear-gradient(90deg, rgba(138, 43, 226, 0.15), transparent);
    border-left: 4px solid var(--accent-primary);
}

.q-cover {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.q-info {
    flex: 1;
    min-width: 0;
}

.q-title {
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.q-artist {
    font-size: 13px;
    color: var(--text-dim);
}

.empty-queue-msg {
    text-align: center;
    color: var(--text-dim);
    margin-top: 60px;
    font-size: 15px;
}
