   /* 1. LAYOUT & THEME */
        body { font-family: 'Segoe UI', Arial, sans-serif; background: #0a0a0a; color: white; padding: 20px; margin: 0; }
        h1 { color: #00f0ff; font-size: 24px; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 2px; }

        /* 2. TAB NAVIGATION */
        .tab-nav { display: flex; gap: 15px; margin-bottom: 30px; border-bottom: 1px solid #333; padding-bottom: 15px; }
        .tab-btn { 
            background: #1a1a1a; border: 1px solid #444; color: #888; 
            padding: 12px 25px; border-radius: 8px; cursor: pointer; 
            font-weight: bold; transition: 0.3s;
        }
        .tab-btn.active { background: #003333; color: #00f0ff; border-color: #00f0ff; box-shadow: 0 0 15px rgba(0, 240, 255, 0.2); }
        .tab-btn:hover:not(.active) { border-color: #888; color: #fff; }

        .tab-content { display: none; animation: fadeIn 0.3s ease; }
        .tab-content.active { display: block; }

        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

        /* 3. FILE MANAGER STYLES */
        .file-card { 
            background: #1a1a1a; padding: 15px 25px; margin: 10px 0; 
            border-radius: 12px; display: flex; justify-content: space-between; 
            align-items: center; border: 1px solid #333; transition: 0.3s;
        }
        .file-card:hover { border-color: #00f0ff; background: #222; }
        .dl-btn { color: #00f0ff; text-decoration: none; font-weight: bold; background: #003333; padding: 8px 15px; border-radius: 6px; font-size: 13px; }

        /* 4. CHAT SYSTEM STYLES */
        .chat-layout { display: grid; grid-template-columns: 250px 1fr; gap: 20px; height: 60vh; }
        
        #user-sidebar { background: #111; border-radius: 12px; padding: 15px; border: 1px solid #333; overflow-y: auto; }
        .user-pill { 
            padding: 12px; background: #1a1a1a; margin-bottom: 10px; 
            border-radius: 8px; cursor: pointer; font-size: 14px; 
            border: 1px solid transparent; transition: 0.2s;
        }
        .user-pill:hover { border-color: #00f0ff; }
        .user-pill.active { background: #003333; border-color: #00f0ff; color: #00f0ff; font-weight: bold; }

        #chat-box { background: #000; border-radius: 12px; border: 1px solid #333; display: flex; flex-direction: column; padding: 20px; }
        #chat-header { font-weight: bold; color: #00f0ff; margin-bottom: 15px; border-bottom: 1px solid #222; padding-bottom: 10px; }
        #messages { flex: 1; overflow-y: auto; margin-bottom: 15px; font-size: 14px; line-height: 1.5; }
        
        .input-row { display: flex; gap: 10px; }
        input { flex: 1; background: #1a1a1a; border: 1px solid #444; color: white; padding: 12px; border-radius: 8px; outline: none; }
        input:focus { border-color: #00f0ff; }
        .send-btn { background: #00f0ff; color: black; border: none; padding: 0 25px; border-radius: 8px; font-weight: bold; cursor: pointer; }
		/* The Online Dot */
.status-dot {
    height: 10px;
    width: 10px;
    background-color: #00ff88;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
    box-shadow: 0 0 8px #00ff88;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 255, 136, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

/* Make sure the pill uses flex to line up the dot and text */
.user-pill {
    display: flex;
    align-items: center;
    padding: 12px;
    /* ... keep your other user-pill styles ... */
}
/* The Offline Dot (Red) */
.status-dot.offline {
    background-color: #ff4444;
    box-shadow: 0 0 8px #ff4444;
    animation: none; /* Stop the pulsing */
}
