#custom-player {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 90px;
    background: #202020;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.6);
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
  }
  
  .player-left {
    flex: 0 0 350px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .player-left img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
  }
  
  .player-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  #player-title {
    font-size: 16px;
    font-weight: bold;
  }
  
  #player-artist {
    font-size: 14px;
    color: #aaa;
  }
  
  .player-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-right: 50px;
  }
  
  .player-buttons {
    display: flex;
    gap: 20px;
  }
  
  .player-buttons button {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
  }
  
  .player-buttons button:hover {
    transform: scale(1.2);
  }
  
  .player-bar {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  #seek-bar {
    width: 300px;
    height: 5px;
    border-radius: 5px;
    background: #444;
    outline: none;
  }
  
  #seek-bar::-webkit-slider-thumb {
    appearance: none;
    width: 14px;
    height: 14px;
    background: #1db954;
    border-radius: 50%;
    cursor: pointer;
  }
  
  .time-info {
    font-size: 12px;
  }
  
  .player-right {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-right: 80px;
  }
  
  #like-button, #plus-button {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
  }
  
  #like-button:hover, #menu-button:hover {
    color: #1db954;
  }
  
  #volume-bar {
    width: 80px;
  }

  #playlist-modal {
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }
  
  #modal-content, #new-playlist-content{
    padding: 50px 60px;
    background: #fff;
    border-radius: 20px;
  }
  
  .modal-header {
    position: relative;
    margin-bottom: 20px;
    text-align: center; 
  }
  
  
  .modal-title {
    font-size: 24px;
    font-weight: bold;
    color: #bacace;
  }
  
  
  .close-button {
    position: absolute;
    right: 0;
    top: 0;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    transition: color 0.3s;
  }
  
  .close-button:hover {
    color: #ff5c5c;
  }
  
  
  .playlist-item {
    width: 250px;
    padding: 20px;
    margin: 10px 0;
    background: #f7f7f7;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .playlist-item:hover {
    background: #e0e0e0;
    transform: scale(1.02);
  }
  
  .playlist-input {
    width: 100%;
    padding: 12px;
    margin: 15px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
  }
  
  
  .modal-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  .confirm-button, .cancel-button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
  }
  
  .confirm-button {
    background-color: #1db954;
    color: white;
  }
  
  .confirm-button:hover {
    background-color: #17a44b;
  }
  
  .cancel-button {
    background-color: #ccc;
    color: #333;
  }
  
  .cancel-button:hover {
    background-color: #aaa;
  }
  .create-playlist-button {
    width: 250px;
    margin-top: 20px;
    padding: 20px;
    background: #1db954;
    color: white;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .create-playlist-button:hover {
    background: #17a44b;
  }
  #new-playlist-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none; 
    justify-content: center;
    align-items: center;
    z-index: 1000;
    display: flex; 
  }
  