/* General reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom right, #333, #000);
  transition: background 0.4s ease;
  color: #fff;
}

.container {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px 40px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  width: 90%;
  max-width: 500px;
  text-align: center;
}

h1 {
  margin-bottom: 30px;
  font-size: 1.8rem;
}

.sliders {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.slider-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.slider-group input[type="range"] {
  width: 100%;
  accent-color: #ff5e78;
  height: 6px;
  border-radius: 5px;
  background: #ddd;
}

h3 {
  margin-bottom: 20px;
  font-weight: 400;
  color: #ccc;
}

button {
  background-color: #ff5e78;
  color: white;
  padding: 10px 30px;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #ff3f5c;
}









/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  min-height: 100vh;
  transition: background-image 0.5s ease;
  display: flex;
  flex-direction: column;
}

/* Top Bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.top-bar .btn {
  background: #111;
  color: #fff;
  border: 1px solid #444;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
}

.top-bar .btn:hover {
  background: #333;
  transform: scale(1.05);
}

/* Song Container */
.song-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

#song-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}

audio {
  width: 90%;
  max-width: 400px;
  margin-bottom: 20px;
}

.mez {
  font-style: italic;
  font-size: 16px;
  margin-bottom: 30px;
  padding: 0 10px;
  color: #f0f0f0;
}

/* Don't Like Button - Updated */
.dont-like {
  background: #ff5722; /* Changed from red to deep orange */
  border: none;
  padding: 12px 24px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  color: white;
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
}

.dont-like:hover {
  background: #e64a19; /* Darker orange on hover */
  transform: translateX(-50%) scale(1.05);
}











body.history {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #0d0d0d;
  color: #fff;
  padding: 2rem;
  min-height: 100vh;
  background: linear-gradient(to bottom right, #111, #222);
}

.history h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #ffdd57;
}

#history-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.history-item {
  background: #1e1e1e;
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s;
}

.history-item:hover {
  background: #2a2a2a;
}

.history-item span {
  flex: 1;
  font-size: 1rem;
  margin-right: 1rem;
  color: #ddd;
}

.btn {
  background-color: #333;
  color: #fff;
  border: none;
  padding: 0.5rem 0.75rem;
  margin-left: 0.5rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #555;
}

.play-btn {
  background-color: #28a745;
}

.play-btn:hover {
  background-color: #218838;
}

.delete-btn {
  background-color: #dc3545;
}

.delete-btn:hover {
  background-color: #c82333;
}

.controls {
  text-align: center;
  margin-top: 2rem;
}

.controls button {
  background-color: #444;
  color: #fff;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 6px;
  margin: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.controls button:hover {
  background-color: #666;
}

.empty {
  text-align: center;
  font-style: italic;
  color: #aaa;
}










/* style.css */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #121212;
  color: #ffffff;
  padding: 20px;
}

.title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: #ffffff;
}

.back-btn {
  background-color: #333;
  color: #fff;
  border: none;
  padding: 8px 16px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 15px;
  display: inline-block;
}

.back-btn:hover {
  background-color: #555;
}

.search-bar {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border-radius: 8px;
  border: none;
  margin-bottom: 20px;
  background-color: #1f1f1f;
  color: #ffffff;
  box-sizing: border-box;
}

.song-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.song-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1e1e1e;
  padding: 12px 16px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.song-entry:hover {
  background-color: #2a2a2a;
}

.song-entry span {
  font-size: 16px;
  flex: 1;
}

.play-btn {
  background-color: #2196f3;
  border: none;
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  margin-left: 10px;
}

.play-btn:hover {
  background-color: #1976d2;
}

#audio-player {
  width: 100%;
  margin-top: 20px;
}

/* Responsive for smaller phones */
@media (max-width: 400px) {
  .title {
    font-size: 20px;
  }

  .song-entry span {
    font-size: 14px;
  }

  .play-btn {
    padding: 6px 10px;
    font-size: 12px;
  }

  .back-btn {
    font-size: 14px;
    padding: 6px 12px;
  }
  }
