* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 👇 Add this block right here */
:root {
    --bg-color:#121212;
    --text-color: #ffffff;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Light theme override */
.dark-mode {
   /* --bg-color: ; /* Softer than #ffffff */
   /* --text-color: ;*/
   background-color: #4c7df0;
   color: #d21b1e;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 196px;
    background-color: #000000;
    padding: 24px;
}

.sidebar .logo img {
    width: 130px;
}

.sidebar .navigation ul {
    list-style: none;
    margin-top: 20px;
}

.sidebar .navigation ul li {
    padding: 10px 0px;
}

.sidebar .navigation ul li a {
    color: #b3b3b3;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
}


.sidebar .navigation ul li a:hover,
.sidebar .navigation ul li a:active,
.sidebar .navigation ul li a:focus {
    color: #ffffff;
}

.sidebar .navigation ul li a:hover .fa,
.sidebar .navigation ul li a:active .fa,
.sidebar .navigation ul li a:focus .fa {
    color: #b3b3b3;
}

.sidebar .navigation ul li .fa {
    font-size: 20px;
    margin-right: 10px;
}

.sidebar .navigation ul li a:hover .fa:hover,
.sidebar .navigation ul li a:hover .fa:active,
.sidebar .navigation ul li a:hover .fa:focus {
    color: #ffffff;
}

.sidebar .policies {
    position: absolute;
    bottom: 100px;
}

.sidebar .policies ul {
    list-style: none;
}

.sidebar .policies ul li {
    padding-bottom: 5px;
}

.sidebar .policies ul li a {
    color: #b3b3b3;
    font-weight: 500;
    text-decoration: none;
    font-size: 10px;
}

.sidebar .policies ul li a:hover,
.sidebar .policies ul li a:active,
.sidebar .policies ul li a:focus {
    text-decoration: underline;
}

.main-container {
    margin-left: 196px;
    margin-bottom: 100px;
}

.topbar {
    display: flex;
    justify-content: flex-end;
    background-color: #101010;
    padding: 14px 30px;
  }
  
  .topbar .navbar {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .topbar .navbar ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
  }
  
  .topbar .navbar ul li {
    margin: 0 10px;
  }
  
  .topbar .navbar ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
  }
  
  .topbar .navbar ul li a:hover {
    color: #1db954; /* Spotify green or your preferred color */
  }
  
  .topbar .navbar .divider {
    color: white;
    font-size: 18px;
    margin: 0 10px;
  }
  
  .login-btn {
    background-color: white;
    color: black;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .login-btn:hover {
    background-color: #e2e2e2;
  }
  

.topbar .navbar ul li.divider {
    color: #ffffff;
    font-size: 26px;
    margin: 0px 20px;
    width: auto;
}
.topbar .navbar button {
    color: #b3b3b3;
    background-color:#252525 ;
    text-decoration:wavy;
    font-weight: bold;
    font-size: 17px;
    letter-spacing: 1px;
}

.topbar .navbar button:hover,
.topbar .navbar button:active,
.topbar .navbar button:focus {
    background-color: #f2f2f2;
}

.spotify-playlists {
    padding: 20px 40px;
    
 }

.spotify-playlists h2 {
    color: #ffffff;
    font-size: 22px;
   
    margin-bottom: 20px;
}

.spotify-playlists .list {
    display: flex;
    gap: 20px;
    overflow: hidden;
}

.spotify-playlists .list .item {
    min-width: 140px;
    width: 160px;
    padding: 15px;
    background-color: #181818;
    border-radius: 6px;
    cursor: pointer;
    transition: all ease 0.4s;
}

.spotify-playlists .list .item:hover {
    background-color: #252525;
}

.spotify-playlists .list .item img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 10px;
}

.spotify-playlists .list .item .play {
    position: relative;
}

.spotify-playlists .list .item .play .fa {
    position: absolute;
    right: 10px;
    top: -60px;
    padding: 18px;
    background-color: #1db954;
    border-radius: 100%;
    opacity: 0;
    transition: all ease 0.4s;
}

  .spotify-playlists .list .item:hover .play .fa {
    opacity: 1;
    transform: translateY(-20px);
}

.spotify-playlists .list .item h4 {
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spotify-playlists .list .item p {
    color: #989898;
    font-size: 12px;
    line-height: 20px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spotify-playlists hr {
    margin: 70px 0px 0px;
    border-color: #636363;
}

.preview {
    position: fixed;
    bottom: 90px;
    left: 0;
    right: 0;
    background: linear-gradient(to right, #ae2896, #509bf5);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
}

.preview h6 {
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 12px;
    margin-bottom: 10px;
}

.preview p {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.preview button {
    background-color: #ffffff;
    color: #000000;
    font-size: 16px;
    font-weight: bold;
    padding: 14px 30px;
    border: 0px;
    border-radius: 40px;
    cursor: pointer;
}

/* Music player bar styles */
.music-player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background-color: #181818;
    border-top: 1px solid #282828;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    z-index: 100;
}

.now-playing {
    display: flex;
    align-items: center;
    width: 30%;
}

.now-playing img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    margin-right: 14px;
}

.song-info h4 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-info p {
    color: #b3b3b3;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
}

.control-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.control-button {
    background: none;
    border: none;
    color: #b3b3b3;
    font-size: 14px;
    cursor: pointer;
    margin: 0 8px;
}

.control-button:hover {
    color: #fff;
}

.control-button.play-pause {
    color: #fff;
    background-color: #fff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-button.play-pause span {
    color: #000;
}

.progress-container {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-time {
    color: #b3b3b3;
    font-size: 11px;
    min-width: 40px;
    text-align: center;
}

.progress-bar {
    flex-grow: 1;
    height: 4px;
    background-color: #535353;
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

.progress {
    height: 100%;
    background-color: #b3b3b3;
    border-radius: 2px;
    width: 0%;
}

.progress-bar:hover .progress {
    background-color: #1db954;
}

.player-options {
    width: 30%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.volume-container {
    display: flex;
    align-items: center;
    width: 125px;
}

.volume-button {
    background: none;
    border: none;
    color: #b3b3b3;
    margin-right: 8px;
    cursor: pointer;
}

.volume-slider {
    -webkit-appearance: none;
    width: 80px;
    height: 4px;
    background: #535353;
    border-radius: 2px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

@media (max-width: 992px) {
    .spotify-playlists .list {
        overflow-x: auto;
    }
}

  