.ts-server-info {
    text-align: center;
}

.ts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ts-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.ts-status.online {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.ts-status.offline {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.ts-stats {
    display: flex;
    gap: 2rem;
}

.ts-stat {
    text-align: center;
}

.ts-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.ts-stat-label {
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ts-connect {
    margin-left: auto;
}

.ts-channel-tree {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0.75rem;
    padding: 1rem;
    max-height: 600px;
    overflow-y: auto;
    text-align: left;
}

.ts-channel-tree::-webkit-scrollbar {
    width: 8px;
}

.ts-channel-tree::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.ts-channel-tree::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.ts-channel-tree::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.ts-channel {
    margin-bottom: 0.25rem;
}

.ts-spacer {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.875rem;
    font-weight: 500;
}

.ts-channel-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: background 0.2s ease;
}

.ts-channel-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.ts-channel-icon {
    color: #3bc4e8;
    flex-shrink: 0;
}

.ts-channel-name {
    flex: 1;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
}

.ts-channel-users {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-weight: 600;
}

.ts-clients {
    padding: 0.25rem 0 0.25rem 2.5rem;
}

.ts-client {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    transition: background 0.2s ease;
}

.ts-client:hover {
    background: rgba(255, 255, 255, 0.05);
}

.ts-client-away {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

.ts-client-flag {
    font-size: 1rem;
    flex-shrink: 0;
}

.ts-client-name {
    flex: 1;
}

.ts-client-muted,
.ts-client-away-icon {
    font-size: 0.75rem;
    opacity: 0.7;
}

.ts-server-info.offline {
    padding: 2rem;
}

.ts-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 1rem;
}