body {
      background: #0f172a;
      color: #f1f5f9;
      font-family: 'Inter', sans-serif;
      margin: 0;
      padding: 2em;
      text-align: center;
    }
    h1 {
      font-family: 'Orbitron', sans-serif;
      font-size: 2.5em;
      color: #38bdf8;
    }
    .player-card {
      background: #1e293b;
      padding: 2em;
      border-radius: 20px;
      box-shadow: 0 0 25px rgba(56, 189, 248, 0.3);
      display: inline-block;
      max-width: 500px;
    }
    .album-art {
      width: 100%;
      max-width: 300px;
      border-radius: 12px;
      margin-bottom: 1em;
    }
    .controls {
      display: flex;
      justify-content: center;
      gap: 1em;
    }
    .controls button {
      background: #38bdf8;
      border: none;
      border-radius: 50%;
      width: 60px;
      height: 60px;
      font-size: 1.5em;
      color: #0f172a;
      cursor: pointer;
    }
    .now-playing, #djName {
      margin-top: 1em;
      font-style: italic;
      font-size: 1.1em;
      color: #38bdf8;
    }
    .volume {
      margin-top: 1.2em;
    }
    input[type="range"] {
      width: 150px;
      accent-color: #38bdf8;
    }
#chatBox {
  width: 100%;
  max-width: 500px;
  margin: 1em auto;
  background: #1e293b;
  border-radius: 10px;
  padding: 1em;
  height: 400px;
  overflow-y: auto;
  text-align: left;
  font-size: 0.9em;
}
    .owner, .dj, .user {
      margin-bottom: 6px;
      padding: 5px 8px;
      border-radius: 6px;
    }
    .owner { color: #fbbf24; font-weight: bold; background: #374151; }
    .dj    { color: #60a5fa; font-weight: 600; background: #1e40af20; }
    .user  { color: #d1d5db; background: #111827; }

    .delete-btn, .reply-btn {
      
      background: transparent;
      color: white;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      padding: 2px 6px;
      font-size: 0.8em;
      margin-left: 5px;
    }
    .reply-btn {
      background: transparent;
    }
	.reply-btn,
.edit-btn {
  background: transparent;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  padding: 2px 6px;
  font-size: 0.8em;
  margin-left: 5px;
}
    #clearChat {
      margin-left: 0.5em;
      background: darkred;
      color: white;
      padding: 6px 12px;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }
    .chat-controls {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 0.5em;
      margin-top: 1em;
    }
    #chatMessage {
      width: 250px;
    }




  .emoji-dropdown {
    position: relative;
  }
  #emojiToggle {
    background: #1e293b;
    color: #38bdf8;
    border: 1px solid #38bdf8;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
  }
  .emoji-list {
    position: absolute;
    bottom: 110%;
    left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, 30px);
    gap: 6px;
    max-height: 200px;
	max-width: 100px;
    overflow-y: auto;
	overflow-x: hidden;
    background: #0f172a;
    border: 1px solid #38bdf8;
    border-radius: 10px;
    padding: 10px;
    z-index: 999;

	
  }

.emoji-list::-webkit-scrollbar {
  width: 8px;
  
}

.emoji-list::-webkit-scrollbar-track {

  background: #1e293b; 
  border-radius: 10px;
  margin-top: 6px;
  margin-bottom: 6px;
  margin-right: 14px;
}

.emoji-list::-webkit-scrollbar-thumb {
  background-color: #38bdf8; 
  border-radius: 10px;
  border: 2px solid #1e293b; 
}

.emoji-list::-webkit-scrollbar-thumb:hover {
  background-color: #0ea5e9; 
}
.chat-actions button {
  display: inline-block;
  vertical-align: middle;
  margin-left: 1px;       /* super mic spațiu */
  margin-right: 0;
  padding: 0 1px;         /* elimină umplutura */
  font-size: 0.75em;      /* butoane mai mici */
  line-height: 1;
}

