@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* 드래그 중 아이템 스타일 */
.ui-sortable-helper {
	opacity: 0.8 !important;
	background-color: #e0f7fa !important;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23) !important;
}

/* Placeholder 스타일 */
.my-placeholder {
	border: 1px dashed #b0bec5 !important;
	background-color: #f5f5f5 !important;
	visibility: visible !important;
}



#playlist .spotify_wrap, #playlist .playlist_wrap {
	width: 48%;
	background: rgba(0, 0, 0, 0.8);
	border-radius: 0; /*20px;*/
	/*padding: 0 15px;*/
	backdrop-filter: blur(10px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#playlist h1 {
	text-align: center;
	margin-bottom: 30px;
	font-size: 25px;
	background: linear-gradient(45deg, #1db954, #1ed760);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

#playlist .search-container {
	display: flex;
	gap: 10px;
	margin-bottom: 30px;
}

#playlist input {
	flex: 1;
	padding: 15px 20px;
	border: none;
	border-radius: 50px;
	background: rgba(255, 255, 255, 0.1);
	color: white;
	font-size: 16px;
	outline: none;
	transition: all 0.3s ease;
}

#playlist input::placeholder {
	color: rgba(255, 255, 255, 0.6);
}

#playlist input:focus {
	background: rgba(255, 255, 255, 0.2);
	/*transform: scale(1.02);*/
}

#playlist button {
	padding: 15px 30px;
	border: none;
	border-radius: 50px;
	background: linear-gradient(45deg, #1db954, #1ed760);
	color: white;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s ease;
}

#playlist button:hover {
	/*transform: translateY(-2px);*/
	box-shadow: 0 5px 15px rgba(29, 185, 84, 0.4);
}

#playlist button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

#playlist .results {
	display: grid;
	gap: 20px;
}

.song-card, .my-placeholder {
	display: flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 15px;
	padding: 10px;
	transition: all 0.3s ease;
	border: 1px solid rgba(255, 255, 255, 0.1);
	animation: fadeIn 0.5s ease 0s both;
}

.song-card:hover {
	background: rgba(255, 255, 255, 0.1);
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
	cursor: move;
}

.song-image {
	width: 60px;
	height: 60px;
	border-radius: 10px;
	margin-right: 20px;
	object-fit: cover;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.song-info { flex: 1; }

.song-title { font-size: 18px; font-weight: bold; margin-bottom: 8px;	color: #1db954; }
.song-artist { font-size: 15px; /*margin-bottom: 5px;*/ color: rgba(255, 255, 255, 0.8); }
.song-album { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; }

.song-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-left: 20px;
}

.song-actions button { padding: 10px 30px; }

.song-actions a {
	padding: 8px 16px;
	/*background: rgba(29, 185, 84, 0.2);*/
	/*color: #1db954;*/
	text-decoration: none;
	border-radius: 20px;
	font-size: 0.9rem;
	text-align: center;
	transition: all 0.3s ease;
	/*border: 1px solid rgba(29, 185, 84, 0.3);*/
}

.song-actions a:hover svg { color: rgba(29, 185, 84, 0.5); }
.song-actions a:hover {
	/*background: rgba(29, 185, 84, 0.3);*/
	transform: scale(1.1);
}

#playlist .error, .loading {
	text-align: center;
	padding: 20px;
	margin: 20px 0;
	border-radius: 10px;
}

#playlist .error {
	background: rgba(255, 0, 0, 0.1);
	color: #ff6b6b;
	border: 1px solid rgba(255, 0, 0, 0.3);
}

#playlist .loading {
	background: rgba(29, 185, 84, 0.1);
	color: #1db954;
	border: 1px solid rgba(29, 185, 84, 0.3);
}

#playlist .pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin: 30px 0;
	flex-wrap: wrap;
}

#playlist .pagination button {
	padding: 10px 15px;
	border: none;
	border-radius: 25px;
	background: rgba(255, 255, 255, 0.1);
	color: white;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 14px;
	min-width: 40px;
}

#playlist .pagination button:hover:not(:disabled) {
	background: rgba(29, 185, 84, 0.3);
	transform: translateY(-2px);
}

#playlist .pagination button:disabled {
	opacity: 0.4;
	cursor: not-allowed;
	transform: none;
}

#playlist .pagination button.active {
	background: linear-gradient(45deg, #1db954, #1ed760);
	font-weight: bold;
}

#playlist .pagination .page-info {
	color: rgba(255, 255, 255, 0.8);
	font-size: 14px;
	margin: 0 10px;
}

#playlist .search-info {
	text-align: center;
	margin-bottom: 20px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 14px;
}

#playlist .load-more-container {
	text-align: center;
	margin: 20px 0;
}

#playlist .load-more-btn {
	padding: 12px 30px;
	border: none;
	border-radius: 25px;
	background: rgba(29, 185, 84, 0.2);
	color: #1db954;
	cursor: pointer;
	font-size: 16px;
	font-weight: bold;
	transition: all 0.3s ease;
	border: 2px solid rgba(29, 185, 84, 0.3);
}

#playlist .load-more-btn:hover:not(:disabled) {
	background: rgba(29, 185, 84, 0.3);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(29, 185, 84, 0.2);
}

#playlist .load-more-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

#playlist .no-results {
	text-align: center;
	padding: 40px;
	color: rgba(255, 255, 255, 0.6);
	font-size: 1.1rem;
}

#playlist_results .song-actions .del_song { display: block !important; }


@media (min-width: 600px) {
	#playlist .song-info { flex: 1; }
	
	.song-info.d-flex { display: block; /*align-items: center;*/ }
	.song-info.d-flex .song-title,
	.song-info.d-flex .song-artist,
	.song-info.d-flex .song-album { font-size: 15px !important; font-weight: normal !important; margin-bottom: 0 !important; }
	
	.song-info.d-flex .song-title { flex: 2; }
	.song-info.d-flex .song-artist { flex: 2; }
	.song-info.d-flex .song-album { flex: 2; }
}

/*@media (max-width: 600px) {*/
/*	#playlist .song-card {*/
/*		flex-direction: column;*/
/*		text-align: center;*/
/*	}*/
/*	*/
/*	#playlist .song-image {*/
/*		margin-right: 0;*/
/*		margin-bottom: 15px;*/
/*	}*/
/*	*/
/*	#playlist .song-actions {*/
/*		margin-left: 0;*/
/*		margin-top: 15px;*/
/*		flex-direction: row;*/
/*		justify-content: center;*/
/*	}*/
/*	*/
/*	#playlist .search-container {*/
/*		flex-direction: column;*/
/*	}*/
/*	*/
/*	#playlist .pagination {*/
/*		gap: 5px;*/
/*	}*/
/*	*/
/*	#playlist .pagination button {*/
/*		padding: 8px 12px;*/
/*		font-size: 12px;*/
/*		min-width: 35px;*/
/*	}*/
/*	*/
/*	#playlist .pagination .page-info {*/
/*		font-size: 12px;*/
/*		margin: 5px 0;*/
/*		width: 100%;*/
/*		text-align: center;*/
/*	}*/
/*}*/