body {
	background: #f5f7fa;
	font-family: 'Segoe UI', Roboto, Arial, sans-serif;
	padding-top: 70px;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: #212529;
	color: white;
	padding: 1rem;
	text-align: center;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	z-index: 1000;
}

header a {
	color: inherit;
	text-decoration: none;
	cursor: default;
	display: inline-block;
}

.search-box {
	max-width: 600px;
	margin: 1.5rem auto;
}

.track-card {
	border-radius: 12px;
	transition: transform .2s;
	padding: 1rem;
	background: white;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
	box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.track-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.track-cover {
	height: 100px;
	width: 100px;
	object-fit: cover;
	border-radius: 8px;
	flex-shrink: 0;
}

.track-info {
	flex: 1;
	min-width: 180px;
}

.track-title {
	font-weight: 600;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.track-title span {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 70%;
}

.track-artist {
	font-size: 0.9rem;
	color: #666;
	margin: 0.2rem 0;
}

.audio-container {
	margin-top: 0.5rem;
	display: none;
	width: 100%;
}

audio {
	width: 100%;
	border-radius: 8px;
}

.play-button {
	background-color: #007bff;
	color: white;
	border: none;
	border-radius: 25px;
	padding: 5px 12px;
	font-size: 0.9rem;
	cursor: pointer;
	transition: 0.3s;
}

.play-button:hover {
	background-color: #0056b3;
}
.download-btn {
	background-color: #28a745;
	color: white;
	border: none;
	border-radius: 25px;
	padding: 5px 12px;
	font-size: 0.9rem;
	cursor: pointer;
	transition: 0.3s;
}

.download-btn:hover {
	background-color: #218838;
}

@media (max-width: 576px) {
	.track-card {
		flex-direction: column;
		text-align: center;
	}

	.track-info {
		text-align: center;
	}

	.track-title {
		justify-content: center;
		flex-shrink: 0;
	}
}

.remote-list {
	margin-top: 2rem;
}

.remote-list h5 {
	font-weight: 600;
	color: #333;
}

.remote-item {
	cursor: pointer;
	transition: background 0.2s, transform 0.1s;
}

.remote-item:hover {
	background: #f1f5ff;
	transform: translateX(3px);
}

.custom-player {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	background: #f8f9fa;
	border-radius: 10px;
	padding: 6px 10px;
	box-shadow: inset 0 0 4px rgba(0,0,0,0.1);
	margin-top: 5px;
}

.play-toggle {
	background: #007bff;
	border: none;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	color: white;
	font-size: 14px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
}

.play-toggle:hover {
	background: #0056b3;
}

.progress-bar-container {
	flex: 1;
	height: 6px;
	background: #e0e0e0;
	border-radius: 5px;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.progress-bar {
	height: 6px;
	width: 0;
	background: #007bff;
	border-radius: 5px;
	transition: width 0.1s linear;
}

.time-display {
	font-size: 0.85rem;
	color: #555;
	min-width: 90px;
	text-align: right;
}