/* SEARCHBAR STYLING */

.searchBar {
	max-width: 400px !important;
	width: 100% !important;
	display: flex;
	align-items: center;
	position: relative;
}

#searchIcon {
	height: 1.2rem;
	position: absolute;
	left: 1.5rem;
}

#playlistSearch {
	width: 100%;
	padding: 0.5rem 2.5rem;
	padding-right: 1rem;
	border: none;
	border-radius: 10px;
}

.filterBtn {
	width: fit-content;
	text-transform: capitalize;
	margin-left: 12px;
}

/* RECOMMENDED PLAYLISTS STYLING */

.horizontalScrollRow {
	overflow-x: scroll;
	flex-wrap: nowrap !important;
	position: relative;
}

.recommendedRow {
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
	min-height: 300px;
}

.playlistBig {
	display: inline-block;
	width: 180px !important;
	padding: 0 !important;
	margin: 0 12px;
}
.playlistBig:first-of-type {
	margin-left: 0;
}

.playlistBigHeader {
	display: grid;
	place-items: center;
	max-height: 250px;
	overflow: hidden;
	aspect-ratio: 1;
	position: relative;
}

.playlistBigImage {
	object-fit: cover;
	object-position: center;
	width: 100%;
	aspect-ratio: 1;
	transition: width 0.5s ease-out;
}

.playlistArtists {
	font-size: 0.8rem;
	white-space: nowrap;
	overflow: hidden !important;
	text-overflow: ellipsis;
}

.playlistBigBtns {
	position: absolute;
	bottom: -60px;
	right: 10px;
	display: flex;
	gap: 10px;
	transition: bottom 0.2s ease;
}

.playlistBtn {
	background-color: white;
	border-radius: 9999px;
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	font-size: 1.2rem;
	cursor: pointer;
	transition: transform 0.1s ease;
}

.playlistPlay i {
	pointer-events: none;
}

.playlistBtn img {
	width: 1.3rem;
}

.playlistBtn:hover {
	transform: scale(1.1);
}

.playlistBig:hover .playlistBigImage {
	width: 105%;
}

.playlistBig:hover .playlistBigBtns {
	bottom: 10px;
}

.playlistName {
	white-space: nowrap;
	overflow: hidden !important;
	text-overflow: ellipsis;
	width: 100%;
}

.playlistPlaying {
	position: absolute;
	/* top: 10px; */
	right: 10px;
	background-color: white;
	border-radius: 50%;
	width: 30px;
}

.playingLine {
	fill: #68758e;
	border-radius: 9999px;
	transform: rotate(180deg);
	transform-origin: center;
}

.l-line {
	height: 55%;
	animation: l-line 2s ease infinite;
}

.m-line {
	height: 40%;
	animation: m-line 2s ease infinite;
}

.r-line {
	height: 65%;
	animation: r-line 2s ease infinite;
}

@keyframes l-line {
	from {
		height: 55%;
	}

	50% {
		height: 40%;
	}
}

@keyframes m-line {
	from {
		height: 40%;
	}

	50% {
		height: 65%;
	}
}

@keyframes r-line {
	from {
		height: 65%;
	}

	50% {
		height: 30%;
	}
}

.playlistBigHeader:not(.playlistLiked.d-none) .playlistPlaying {
	top: 2.5rem;
}
.playlistBigHeader:has(.playlistLiked.d-none) .playlistPlaying {
	top: 10px;
}

.playlistLiked {
	/* color: rgba(255, 44, 44, 0.952); */
	color: rgba(63, 114, 255, 0.952);
	font-size: 1.5rem;
	position: absolute;
	top: 10px;
	right: 13px;
}

/* MOODS STYLING */

.moodRow {
	height: 200px !important;
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.moodsTooltip {
	cursor: pointer;
}

.mood {
	aspect-ratio: 1;
	width: 180px !important;
	padding: 0 !important;
	margin: 0 12px;
}

.mood:first-of-type {
	margin-left: 0px;
}

.moodCard {
	overflow: hidden;
	cursor: pointer;
	transition: 0.4s ease;
}

.moodCard:hover {
	transform: translateY(-5px);
	box-shadow: 0 0 1rem rgba(0, 0, 0, 0.3);
}

.moodWrap {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: flex-end;
	background-size: 115%;
	background-position: center;
}

.moodWrap h2 {
	color: white;
	margin: 0.5rem;
}

/* SMALL PLAYLIST STYLING */

.playlistSmall {
	border-radius: 1rem;
	background-color: white;
	overflow: hidden;
	height: 100px;
}

.playlistSmallHeader {
	display: grid;
	place-items: center;
	overflow: hidden;
	width: 100px !important;
	height: 100%;
	position: relative;
}

.playlistSmallFooter {
	width: calc(100% - 100px);
}

.playlistSmallImage {
	object-fit: cover;
	object-position: center;
	width: 100% !important;
	height: 100%;
}

.playlistSmallName {
	white-space: nowrap;
	overflow: hidden !important;
	text-overflow: ellipsis;
	width: 100%;
}

.playlistSmallArtists {
	font-size: 0.8rem;
	white-space: nowrap;
	overflow: hidden !important;
	text-overflow: ellipsis;
	width: 100%;
	text-transform: capitalize;
}

.playlistSmallBtns {
	display: flex;
	gap: 10px;
	transition: transform 0.1s ease;
}

.playlistSmallBtn:hover {
	transform: scale(1.05);
}

.playlistSmallBtn {
	background-color: #2B3AFF;
	color: white;
	border-radius: 9999px;
	width: 35px;
	height: 35px;
	display: grid;
	place-items: center;
	font-size: 1rem;
	cursor: pointer;
	transition: transform 0.1s ease;
}

.playlistSmallBtn img {
	width: 1rem;
}

.playlistSmallHeader .playlistPlaying {
	width: 30px;
	top: 5px;
	right: 5px !important;
}
.playlistSmallHeader .playlistLiked {
	top: 5px !important;
	right: 8px !important;
}

.playlistSmallHeader:not(.playlistLiked.d-none) .playlistPlaying {
	top: 2rem;
}
.playlistSmallHeader:has(.playlistLiked.d-none) .playlistPlaying {
	top: 5px;
}

/* PLAYER STYLING */

#player {
	position: fixed;
	position: -webkit-fixed;
	position: -moz-fixed;
	position: -o-fixed;
	position: -ms-fixed;
	bottom: 0px;
	right: 1.5rem;
	width: calc(100% - 250px - 1.5rem * 3);
	height: 100px;
	border-radius: 1rem 1rem 0 0;
	overflow: hidden;
	box-sizing: border-box;
	padding: 1rem;
	display: flex;
	justify-content: space-between;
	/* transition: bottom 0.3s ease; */
	transition: transform 0.3s ease, width 0.2s ease;
	z-index: 991;
	transform: translateY(120px);
}

/* #player.playerShow {
	position: sticky !important;
	position: -webkit-sticky !important;
	position: -moz-sticky !important;
	position: -o-sticky !important;
	position: -ms-sticky !important;
	bottom: 0 !important;
} */

#player.playerShow {
	transform: translateY(0px) !important;
}

@media (max-width: 1199.98px) {
	#player {
		width: calc(100% - 1.5rem * 2);
	}
}

.currentlyPlaying {
	height: 100%;
	display: flex;
	width: 30%;
}

.currentlyPlayingImage {
	height: 100%;
	aspect-ratio: 1;
	border-radius: 0.5rem;
}

.currentlyPlayingInfoWrap {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-left: 1rem;
	white-space: nowrap;
	overflow: hidden !important;
}

.currentlyPlayingInfoWrap p {
	margin: 0;
	line-height: 1.3rem;
	text-overflow: ellipsis;
}

.currentlyPlayingSong {
	font-size: 0.9rem;
}

.currentlyPlayingArtist {
	font-size: 0.8rem;
}

.currentlyPlayingPlaylist {
	font-size: 0.7rem;
	opacity: 0.8;
}

.playerControls {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 40%;
	gap: 0.75rem;
}

#playerAudio {
	visibility: hidden;
	position: absolute;
}

.controlButtons {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.controlBtn {
	border-radius: 50%;
	cursor: pointer;
	transition: transform 0.2s ease;
}

.controlBtn:hover {
	transform: scale(1.02);
}

.controlPlay {
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	background-color: #2B3AFF;
	color: white;
	font-size: 1.2rem;
}

.ni-button-play {
	padding-left: 2px;
}

.controlSecondary {
	width: 30px;
	height: 30px;
	display: grid;
	place-items: center;
	background-color: white;
	color: #2B3AFF;
	font-size: 1rem;
}

.controlSecondary img {
	width: 20px;
}

.controlPrev img {
	transform: rotate(180deg);
}

.seekerWrap {
	width: 100%;
	display: flex;
	align-items: center;
}

.seekerWrap p {
	font-size: 0.7rem;
	margin: 0 0.8rem;
}

.playerSeeker {
	width: 100%;
	background-color: rgba(103, 116, 142, 0.1);
	cursor: pointer;
}

.playerSettings {
	width: 30%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

#sliderVolume {
	width: 100px;
	background-color: rgba(103, 116, 142, 0.1);
	cursor: pointer;
}

.volumeSpeaker,
.playlistQueue {
	width: 20px;
	cursor: pointer;
}

.playlistQueue {
	margin-right: 5px;
}

.noUi-handle {
	cursor: pointer;
}

/* PLAYER RESPONSIVENESS */

@media screen and (max-width: 650px) {
	#sliderVolume,
	.volumeSpeaker {
		display: none;
	}
	#player {
		visibility: hidden;
	}
	#player.playerShow {
		position: fixed !important;
		bottom: -110px;
	}
	#playerMobile {
		visibility: visible !important;
	}
	#playlistQueue {
		margin-right: 24px !important;
		max-width: none !important;
		bottom: 90px !important;
		width: calc(100% - 48px) !important;
	}
	#mobilePlayingInfo {
		visibility: visible !important;
	}
}

#playerMobile {
	visibility: hidden;
	position: fixed;
	bottom: -90px;
	left: 0;
	width: 100%;
	height: 80px;
	border-radius: 1rem 1rem 0 0;
	overflow: hidden;
	box-sizing: border-box;
	padding: 0.75rem;
	display: flex;
	justify-content: space-between;
	transition: bottom 0.3s ease;
	z-index: 991;
	cursor: pointer;
}

#playerMobile.playerShow {
	position: sticky !important;
	position: -webkit-sticky !important;
	position: -moz-sticky !important;
	position: -o-sticky !important;
	position: -ms-sticky !important;
	bottom: 0 !important;
}

#playerMobile .currentlyPlaying {
	width: 65%;
}

#playerMobile .currentlyPlayingInfoWrap {
	margin-left: 0.5rem;
}
#playerMobile .currentlyPlayingInfoWrap p {
	margin: 0;
	line-height: 1.1rem;
	text-overflow: ellipsis;
}

#playerMobile .currentlyPlayingSong {
	font-size: 0.8rem;
}

#playerMobile .currentlyPlayingArtist {
	font-size: 0.7rem;
}

#playerMobile .currentlyPlayingPlaylist {
	font-size: 0.6rem;
	opacity: 0.8;
}

#playerMobile .playerControls {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
	width: 35%;
}
#playerMobile .controlButtons {
	gap: 0.5rem;
}
#playerMobile .controlPlay {
	width: 45px;
	height: 45px;
	display: grid;
	place-items: center;
	background-color: #2B3AFF;
	color: white;
	font-size: 1.3rem;
}

.playerMobileSeeker {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background-color: #d7d7d7;
}
.playerMobileSeekerFill {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0%;
	height: 4px;
	background-color: #2B3AFF;
}

#mobilePlayingInfo {
	position: fixed;
	width: 100%;
	max-width: calc(100% - 48px);
	padding: 24px 0;
	bottom: -100%;
	right: 0%;
	transition: bottom 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	visibility: hidden;
}

#mobilePlayingInfo .playerControls {
	width: 100% !important;
}

#mobilePlayingInfo.showControls {
	bottom: 90px;
}

.closeControls {
	position: absolute;
	right: 15px;
	top: 15px;
	width: 15px;
}

/* QUEUE STYLING */

#playlistQueue {
	position: fixed;
	width: 100%;
	max-width: 350px;
	height: 80%;
	max-height: 500px;
	bottom: 110px;
	right: -100%;
	transition: right 0.3s ease;
}

#playlistQueue ul {
	list-style-type: none;
	padding: 0;
	height: 100%;
	overflow-y: auto;
}

.trackQueue {
	height: 100%;
	width: 100%;
	max-height: 60px;
	display: flex;
	padding: 10px 0;
	cursor: pointer;
	border-radius: 10px;
	transition: background-color 0.15s ease;
	position: relative;
}

.trackQueue .playlistPlaying {
	left: 5px;
	top: 5px;
	right: 0;
	width: 20px;
}

.trackQueue:hover {
	background-color: rgba(103, 116, 142, 0.1);
}

#queueName {
	width: 90%;
	white-space: nowrap;
	overflow: hidden !important;
	text-overflow: ellipsis;
	margin-left: auto;
	margin-right: auto;
}

.trackQueueInfo {
	margin-left: 10px;
	flex-grow: 1;
}

.trackQueueImage {
	height: 100%;
	border-radius: 10px;
	margin-left: 10px;
}

.trackQueueName {
	width: 250px;
	font-size: 0.75rem;
	white-space: nowrap;
	overflow: hidden !important;
	text-overflow: ellipsis;
	margin: 0;
}

.trackQueueArtist {
	width: 200px;
	font-size: 0.7rem;
	white-space: nowrap;
	overflow: hidden !important;
	text-overflow: ellipsis;
	margin: 0;
}

.closeQueue {
	width: 15px;
	margin: 15px 15px 0 auto;
	cursor: pointer;
}

.showQueue {
	right: 0px !important;
}

/* Big header image */

.bigHeader {
	width: 100%;
	height: 100vw;
	max-height: 180px;
	min-height: 100px;
	border-radius: 1rem;
	overflow: hidden;
	display: grid;
	place-items: center;
}

.imageBigHeader {
	width: 130%;
	height: 130%;
	background-size: cover;
	background-position: center;
	filter: blur(16px) brightness(1.1);
}

.bigHeaderTitle {
	font-size: clamp(3rem, -0.875rem + 8.333vw, 4.5rem);
	color: white;
	position: absolute;
	top: 50%;
	left: 50%;
	font-weight: bolder;
	transform: translate(-50%, -50%);
	filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.15));
	text-transform: uppercase;
	white-space: nowrap;
}
