/* Sidebar */
.sidebar {
    width: 240px;
    background-color: #2f3136;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #202225;
}

.server-info {
    padding: 16px;
    border-bottom: 1px solid #3c3c41;
    background-color: #2f3136;
}

.server-logo {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #7289da, #99aab5);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: border-radius 0.2s ease;
}

.server-logo:hover {
    border-radius: 24px;
}

.logo-text {
    font-family: 'ScriptME6', monospace;
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.server-name {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.channels {
    flex: 1;
    padding: 16px 8px;
    overflow-y: auto;
}

.channel-category {
    margin-bottom: 24px;
}

.category-title {
    font-size: 12px;
    font-weight: 600;
    color: #8e9297;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
    padding: 0 8px;
}

.channel {
    display: flex;
    align-items: center;
    padding: 6px 8px;
    margin: 1px 0;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.channel:hover {
    background-color: #3c3c41;
}

.channel.active {
    background-color: #42464d;
    color: #ffffff;
}

.channel-icon {
    margin-right: 8px;
    font-size: 20px;
    color: #8e9297;
}

.channel.active .channel-icon {
    color: #ffffff;
}

.channel-name {
    font-size: 16px;
    font-weight: 500;
}

.user-info {
    display: flex;
    align-items: center;
    padding: 8px;
    background-color: #292b2f;
    border-top: 1px solid #3c3c41;
}

.user-avatar {
    width: 32px;
    height: 32px;
    margin-right: 8px;
}

.user-avatar img,
.user-avatar video {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.user-details {
    flex: 1;
}

.username {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    line-height: 18px;
    display: flex;
    align-items: center;
}

.user-status {
    font-size: 12px;
    color: #43b581;
    line-height: 16px;
}

.user-controls {
    display: flex;
    gap: 8px;
    margin-right: 8px;
}

.control-button {
    width: 32px;
    height: 32px;
    background-color: #3c3c41;
    border: none;
    border-radius: 4px;
    color: #dcddde;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background-color 0.15s ease;
}

.control-button:hover {
    background-color: #42464d;
}

.control-button.active {
    background-color: #43b581;
}

.voice-channel {
    position: relative;
}

.voice-channel .channel-icon {
    color: #43b581;
}

.voice-channel:hover .channel-icon {
    color: #ffffff;
}

.channel-category + .channel-category {
    margin-top: 16px;
}

/* Server List Navigation (left-side vertical buttons) */
.servers-nav {
    width: 72px;
    background-color: #202225;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0;
    border-right: 1px solid #18191c;
    min-width: 72px;
    z-index: 2;
}

.server-nav-button {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    border-radius: 24px;
    background-color: #36393f;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(30, 30, 40, 0.1);
    transition: border-radius 0.2s, background 0.13s;
    position: relative;
    overflow: hidden;
}
.server-nav-button.active, .server-nav-button:hover {
    background-color: #7289da;
}

.server-nav-button .server-logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 16px;
    object-fit: cover;
    background: #fff;
}