.server-container {
    display: grid;
    grid-template-columns: 260px 1fr 280px;
    height: calc(100vh - 85px);
    gap: 15px;
    padding: 15px;
    box-sizing: border-box;
    overflow: hidden;
}

.channels-sidebar {
    background: rgba(15, 15, 20, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.server-header {
    padding: 25px 20px;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

#server-name {
    margin: 0; 
    font-size: 1rem; 
    font-weight: 800; 
    letter-spacing: 1px; 
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.channels-list {
    flex: 1;
    overflow-y: auto;
    padding: 15px 10px;
}

.channels-list::-webkit-scrollbar { 
    width: 0px; 
}

.channel-category {
    font-size: 0.7rem; 
    color: var(--neon-blue); 
    font-weight: 800;
    padding: 15px 10px 5px 15px; 
    letter-spacing: 1.5px; 
    opacity: 0.8;
    text-transform: uppercase;
}

.channel-btn {
    margin: 4px 0;
    padding: 10px 15px;
    border-radius: 12px;
    color: #a1a1aa;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    display: flex; 
    align-items: center; 
    gap: 12px;
}

.channel-btn:hover {
    background: rgba(255,255,255,0.05);
    color: white;
    transform: translateX(5px);
}

.channel-btn.active {
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.15), transparent);
    color: white;
}

.channel-icon {
    font-size: 0.8rem;
    color: #555;
    transition: 0.2s;
}
.channel-btn.active .channel-icon {
    color: var(--neon-purple);
    filter: drop-shadow(0 0 5px var(--neon-purple));
}

.user-panel {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    display: flex; 
    align-items: center; 
    gap: 10px;
    margin: 10px;
    border-radius: 16px;
}
.user-mini-avatar { 
    width: 36px; 
    height: 36px; 
    background: #333; 
    border-radius: 12px; 
    background-size: cover; 
}

.user-mini-info { 
    flex: 1; 
    overflow: hidden; 
}

.mini-name { 
    font-size: 0.85rem; 
    font-weight: bold; 
    color: white; 
}

.mini-tag { 
    font-size: 0.7rem; 
    color: #888; 
}

.user-mini-icons { 
    display: flex; 
    gap: 10px; 
}

.user-mini-icons i { 
    color: #666; 
    cursor: pointer; 
    transition: 0.2s; 
}

.user-mini-icons i:hover { 
    color: white; 
}

.chat-area {
    background: rgba(20, 20, 25, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    display: flex; 
    flex-direction: column; 
    overflow: hidden;
}

.chat-header {
    height: 70px; 
    padding: 0 30px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}

.chat-header-info { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.chat-header-info h3 { 
    margin: 0; 
    font-size: 1.2rem; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.chat-header-tools i { 
    margin-left: 20px; 
    color: #888; 
    cursor: pointer; 
    transition: 0.2s; 
}

.chat-header-tools i:hover { 
    color: white; 
    transform: scale(1.1); 
}

#messages-list {
    flex: 1; 
    overflow-y: auto; 
    padding: 20px 30px;
    display: flex; 
    flex-direction: column; 
    gap: 15px;
}

.message {
    display: flex; 
    gap: 16px; 
    padding: 10px 15px;
    border-radius: 16px;
    transition: 0.2s;
}

.message:hover { 
    background: rgba(255, 255, 255, 0.02); 
}

.msg-avatar {
    width: 45px; height: 45px; 
    border-radius: 14px;
    background-size: cover; 
    background-position: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    flex-shrink: 0;
}

.msg-content h4 { 
    margin: 0 0 5px 0; 
    font-size: 1rem; 
    color: var(--neon-blue);
}

.msg-time { 
    font-size: 0.7rem; 
    color: #666; 
    font-weight: 400; 
    margin-left: 10px; 
}

.msg-text { 
    color: #e4e4e7; 
    line-height: 1.6; 
}

.chat-input-area {
    margin: 20px 30px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    padding: 8px 20px;
    display: flex; 
    align-items: center; 
    gap: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.chat-input {
    flex: 1; 
    background: transparent; 
    border: none; 
    color: white;
    padding: 10px; 
    outline: none; 
    font-size: 1rem;
}

.input-icons { 
    color: #777; 
    cursor: pointer; 
    transition: 0.2s; 
    font-size: 1.1rem; 
}

.attach-btn {
    background: var(--neon-purple);
    color: white;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.input-icons { 
    display: flex; 
    gap: 10px; 
}

.input-icons i:hover, .attach-btn:hover { 
    color: white; 
}

.members-sidebar {
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    display: flex; flex-direction: column;
    padding: 20px;
    overflow: hidden;
}

.members-list-scroll { 
    flex: 1; 
    overflow-y: auto; 
    margin-bottom: 20px; 
}

.members-list-scroll::-webkit-scrollbar { 
    width: 4px; 
}

.members-list-scroll::-webkit-scrollbar-thumb { 
    background: #333; 
    border-radius: 4px; 
}

.role-title {
    font-size: 0.7rem; 
    color: #666; 
    font-weight: 800;
    margin-bottom: 15px; 
    text-transform: uppercase; 
    letter-spacing: 1px;
}

.member-item {
    display: flex; 
    align-items: center; 
    gap: 12px; 
    margin-bottom: 12px;
    padding: 8px; 
    border-radius: 12px; 
    transition: 0.2s; 
    cursor: pointer;
}

.member-item:hover { 
    background: rgba(255,255,255,0.05); 
}

.member-avatar {
    width: 36px; 
    height: 36px; 
    border-radius: 12px;
    background-size: cover; 
    position: relative;
}

.status-dot {
    width: 10px; 
    height: 10px; 
    border-radius: 50%;
    position: absolute; 
    bottom: -3px; 
    right: -3px; 
    border: 2px solid #202025;
}

.status-online { 
    background: var(--neon-green); 
    box-shadow: 0 0 8px var(--neon-green); 
}

.status-idle { 
    background: #facc15; 
}

.status-dnd { 
    background: #ef4444; 
}

.status-offline { 
    background: #555; 
}

.music-player-docked {
    background: linear-gradient(145deg, rgba(30, 30, 35, 0.9), rgba(10, 10, 15, 0.95));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 -10px 30px rgba(0,0,0,0.3);
}

.player-header {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 12px;
}

.wave-text { 
    font-size: 0.7rem; 
    font-weight: 800; 
    color: var(--neon-purple); 
    letter-spacing: 2px;
    display: flex; 
    align-items: center; 
    gap: 6px;
}

.toggle-player-btn {
    background: rgba(255,255,255,0.05); 
    border: none; 
    color: #888; 
    width: 24px; 
    height: 24px; 
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    cursor: pointer; 
    transition: 0.3s;
}
.toggle-player-btn:hover { 
    background: white; 
    color: black; 
}

.dock-album-art {
    width: 100%; 
    aspect-ratio: 1/1;
    background-color: #222; 
    border-radius: 16px; 
    margin-bottom: 15px;
    background-size: cover; 
    background-position: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: 0.3s;
}

.dock-info { 
    text-align: center; 
    margin-bottom: 10px; 
    transition: 0.3s; 
}

.dock-title { 
    font-weight: bold; 
    font-size: 0.95rem; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}

.dock-artist { 
    font-size: 0.8rem; 
    color: #888; 
}

.dock-progress { 
    width: 100%; 
    margin-bottom: 10px; 
    transition: 0.3s; 
}

.dock-bar { 
    width: 100%; 
    height: 4px; 
    background: #333; 
    border-radius: 2px; 
}

.dock-fill { 
    width: 0%; 
    height: 100%; 
    background: var(--neon-purple); 
    border-radius: 2px; 
    box-shadow: 0 0 10px var(--neon-purple); 
}

.dock-controls { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 20px; 
    margin-bottom: 15px; 
    transition: 0.3s; 
}

.ctrl-btn { 
    background: none; 
    border: none; 
    color: #aaa; 
    cursor: pointer; 
    transition: 0.2s; 
    font-size: 1.1rem; 
}

.ctrl-btn:hover { 
    color: white; 
    transform: scale(1.1); 
}

.ctrl-btn.play {
    width: 45px; 
    height: 45px; 
    background: white; 
    color: black;
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 1.2rem; 
    box-shadow: 0 0 15px rgba(255,255,255,0.3);
}

.dock-volume-container {
    display: flex; 
    align-items: center; 
    gap: 10px;
    padding-top: 10px; 
    border-top: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}

.dock-volume-container i { 
    color: #666; 
    font-size: 0.9rem; 
}

.volume-slider {
    appearance: none;
    -webkit-appearance: none; 
    width: 100%; 
    height: 4px;
    background: #333; 
    border-radius: 2px; 
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px; 
    height: 12px; 
    border-radius: 50%;
    background: var(--neon-purple); 
    cursor: pointer;
    box-shadow: 0 0 10px var(--neon-purple);
    transition: 0.2s;
}

.volume-slider::-webkit-slider-thumb:hover { 
    transform: scale(1.3); 
    background: white; 
}

.music-player-docked.collapsed { 
    padding: 12px; 
}

.music-player-docked.collapsed .dock-album-art,
.music-player-docked.collapsed .dock-info,
.music-player-docked.collapsed .dock-progress,
.music-player-docked.collapsed .dock-volume-container {
    display: none; 
}

.music-player-docked.collapsed .toggle-player-btn { 
    transform: rotate(180deg); 
}

.music-player-docked.collapsed .dock-controls { 
    margin-bottom: 0; 
    margin-top: 5px; 
}

.music-player-docked.collapsed .ctrl-btn.play { 
    width: 32px; 
    height: 32px; 
    font-size: 0.9rem; 
}

.music-player-docked.collapsed .ctrl-btn.small { 
    font-size: 0.9rem; 
}

@media (max-width: 1000px) {
    .server-container { 
        grid-template-columns: 200px 1fr; 
    }

    .members-sidebar { 
        display: none; 
    }

}
@media (max-width: 700px) {
    .server-container { 
        grid-template-columns: 1fr; 
    }

    .channels-sidebar { 
        display: none; 
    }

}









