/* --- SCROLLBAR DLA CAŁEGO PANELU (przeniesione z index.html) --- */
.bot-scroll-container {
    /* Usuwamy max-height i overflow z głównego kontenera */
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
    margin-bottom: 10px;
}
.bot-scroll-container::-webkit-scrollbar { width: 6px; }
.bot-scroll-container::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.2); }
.bot-scroll-container::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* --- KOLEJKA MUZYCZNA --- */
.music-queue {
    margin-top: 15px;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    padding: 5px; /* Mniejszy padding */
    height: 200px; /* Sztywna wysokość */
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Własny scrollbar dla kolejki */
.music-queue::-webkit-scrollbar { width: 6px; }
.music-queue::-webkit-scrollbar-track { background: rgba(0,0,0,0.2); }
.music-queue::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* --- ELEMENTY KOLEJKI --- */
.queue-item {
    display: flex;
    align-items: center;
    padding: 0 10px;
    height: 36px; /* STAŁA WYSOKOŚĆ */
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 11px;
    color: #888;
    background: rgba(255,255,255,0.02);
    border-radius: 4px;
    flex-shrink: 0; /* Nie ściskaj elementów */
}

.queue-item.active {
    border: 1px solid var(--accent);
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.queue-item.previous { opacity: 0.5; }

.queue-index {
    width: 25px;
    text-align: center;
    font-weight: bold;
    margin-right: 5px;
}

.queue-title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.queue-dur {
    margin-left: 10px;
    font-family: monospace;
    font-size: 10px;
}

/* --- PRZYCISKI STEROWANIA --- */
.control-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2c3e50;
    border: 1px solid #34495e;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
}
.control-btn:hover { background: #34495e; transform: scale(1.05); }
.control-btn:active { transform: scale(0.95); }

/* --- INNE ELEMENTY --- */
.bot-label { font-size: 11px; color: #aaa; display: block; margin-bottom: 3px; margin-top: 8px; }
.bot-select { width: 100%; padding: 5px; background: #111; color: white; border: 1px solid #444; border-radius: 4px; }

/* Scrollbar tylko dla ustawień */
#botTabSettings {
    max-height: 450px;
    overflow-y: auto;
    padding-right: 5px;
}

#botTabSettings::-webkit-scrollbar { width: 6px; }
#botTabSettings::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.2); }
#botTabSettings::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }