/* Server Selection UI */
.server-select-container {
    position: relative;
    z-index: 1000;
}

.server-current {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.server-current:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.server-current.open {
    background: rgba(255, 255, 255, 0.15);
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #666;
    transition: all 0.3s ease;
}

.live-dot.online {
    background: var(--accent-green);
    box-shadow: 0 0 8px var(--accent-green);
}

.live-dot.offline {
    background: #666;
    box-shadow: none;
}

#server-name {
    font-weight: 700;
    font-size: 13px;
    color: var(--text-main);
}

.dropdown-arrow {
    font-size: 10px;
    color: var(--text-dim);
    margin-left: 4px;
}

/* Server List Dropdown */
.server-list {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    width: 240px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    max-height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: 4px 0;
    backdrop-filter: blur(10px);
}

.server-list.hidden {
    display: none;
}

.server-item {
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.server-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.server-item.active {
    background: rgba(var(--accent-rgb), 0.15);
    color: var(--accent-cyan);
}

.server-alias {
    flex: 1;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.check-mark {
    color: var(--accent-cyan);
    font-size: 12px;
    font-weight: 800;
}
