        body {
            font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
            line-height: 1.6;
            margin: 0;
            padding: 0;
            background: #050505;
            color: #fff;
            transition: background 0.3s, color 0.3s;
        }
    .messages-container {
        max-width: 800px;
        margin: 0 auto;
        padding: 0;
        background: transparent;
        border: none;
        height: 100vh;
        display: flex;
        flex-direction: column;
        }
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
        padding: 15px 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        margin-bottom: 0;
        background: rgba(10, 10, 10, 0.8);
        backdrop-filter: blur(10px);
            position: relative;
            z-index: 100;
        }
        .header h1 {
            font-size: 2rem;
            color: #fff;
        }
        .header .header-actions {
            display: flex;
            gap: 10px;
        }
        .btn {
            display: inline-block;
            padding: 10px 20px;
            font-size: 1rem;
            font-weight: bold;
            color: #fff;
            background: linear-gradient(135deg, #6366f1, #a855f7);
            border: none;
            border-radius: 30px;
            cursor: pointer;
            text-decoration: none;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
        }
        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(168, 85, 247, 0.5);
        }

        .btn-transparent {
            position: relative;
            background: transparent !important;
            color: #fff !important;
            border: none !important;
            border-radius: 30px !important;
            z-index: 1;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        .btn-transparent::before, .theme-btn::before {
            content: "";
            position: absolute;
            top: 0; right: 0; bottom: 0; left: 0;
            border-radius: 30px;
            padding: 1.5px;
        background: linear-gradient(45deg, #6366f1, #a855f7);
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            z-index: -1;
            pointer-events: none;
        }
        .btn-transparent:hover {
            transform: scale(1.05);
        box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
        }

        .theme-btn {
            position: relative;
            z-index: 1;
            border: none !important;
            background: transparent !important;
            color: #fff !important;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .conversation-list {
            list-style: none;
            padding: 0;
            margin: 0;
        flex-grow: 1;
        overflow-y: auto;
        }
        .conversation-item {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 15px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            cursor: pointer;
            transition: background-color 0.2s ease;
        }
        .conversation-item:hover {
            background-color: rgba(255, 255, 255, 0.02);
       }
        .conversation-item:last-child {
            border-bottom: none;
        }
        .profile-pic {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid #87ceeb;
        }
        .conversation-info {
            flex-grow: 1;
        text-align: left;
        }
        .conversation-info h3 {
            margin: 0;
            font-size: 1.1rem;
            color: #87ceeb;
        }
        .conversation-info p {
            margin: 5px 0 0;
            font-size: 0.9rem;
            color: #ccc;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .last-message-time {
            font-size: 0.75rem;
            color: #aaa;
        }
        /* Light Mode */
    body.light-mode { background: #f4f7f6; color: #333; }
    body.light-mode .messages-container { background: transparent; border: none; }
    body.light-mode .header h1 { color: #fff !important; } /* Header text stays white */
        body.light-mode .conversation-item { border-bottom-color: #eee; }
        body.light-mode .conversation-item:hover { background-color: #f0f0f0; }
    body.light-mode .conversation-info h3 { color: #333 !important; }
    body.light-mode .conversation-info p { color: #555 !important; }
    body.light-mode .last-message-time { color: #888 !important; }
    body.light-mode #no-conversations, body.light-mode #loading-indicator-msgs { color: #555 !important; }
        /* New styles for modal in light mode */
        body.light-mode #user-list-modal > div { background: #fff; border-color: #ddd; color: #333; }
        body.light-mode #user-list-title { color: #0d6efd; }
        body.light-mode #user-list-content > div { border-bottom-color: #eee; }
        body.light-mode #user-list-content strong { color: #000; }
        body.light-mode .btn-transparent { color: #333 !important; }
    body.light-mode .btn-transparent::before, body.light-mode .theme-btn::before { background: linear-gradient(45deg, #0d6efd, #a855f7); }

        /* Light Mode Gold Color Fix */
        .gold-text { color: #f59e0b !important; }
        body.light-mode .gold-text,
        body.light-mode [style*="color: gold"],
        body.light-mode [style*="color:gold"] { color: #000080 !important; }

        /* Theme Dropdown Styles */
        .theme-dropdown-container { position: relative; display: inline-block; }
        .theme-dropdown { position: absolute; top: 100%; right: 0; background: rgba(20, 20, 20, 0.9); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 10px; display: none; flex-direction: column; gap: 8px; z-index: 1000; min-width: 160px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); margin-top: 10px; max-height: 75vh; overflow-y: auto; overflow-x: hidden; }
        .theme-dropdown.show { display: flex; animation: slideUp 0.2s ease; }
        .theme-dropdown::-webkit-scrollbar { width: 4px; }
        .theme-dropdown::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 4px; }
        @keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
        .theme-option { padding: 10px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.1); cursor: pointer; font-weight: bold; text-align: left; display: flex; align-items: center; gap: 10px; transition: transform 0.2s, box-shadow 0.2s; font-family: inherit; font-size: 0.9rem; }
        .theme-option:hover { transform: scale(1.05); }
        .theme-option.active { border: 2px solid #f59e0b; box-shadow: 0 0 12px rgba(245, 158, 11, 0.4); transform: scale(1.02); }

        /* 5 New Futuristic Themes */
        body.cyberpunk-mode { background: radial-gradient(circle at top right, #501b87, #130321); color: #e2e8f0; }
        body.cyberpunk-mode .container { border-color: rgba(255, 0, 124, 0.2); }
        body.cyberpunk-mode .btn { background: linear-gradient(135deg, #ff007c, #7000ff); box-shadow: 0 4px 15px rgba(255, 0, 124, 0.3); color: white; }
    body.cyberpunk-mode .btn-transparent::before, body.cyberpunk-mode .theme-btn::before { background: linear-gradient(45deg, #ff007c, #00f0ff); }
        body.cyberpunk-mode .conversation-info h3 { color: #00f0ff; }
        body.matrix-mode { background: radial-gradient(circle at top, #004d00, #021a02); color: #e2e8f0; }
        body.matrix-mode .container { border-color: rgba(0, 255, 65, 0.2); }
        body.matrix-mode .btn { background: linear-gradient(135deg, #008f11, #00ff41); box-shadow: 0 4px 15px rgba(0, 255, 65, 0.3); color: #000; font-weight: bold; }
    body.matrix-mode .btn-transparent::before, body.matrix-mode .theme-btn::before { background: linear-gradient(45deg, #008f11, #00ff41); }
        body.matrix-mode .conversation-info h3 { color: #00ff41; }
        body.ocean-mode { background: radial-gradient(circle at top left, #005f8a, #011b2e); color: #e2e8f0; }
        body.ocean-mode .btn { background: linear-gradient(135deg, #0077b6, #00b4d8); box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3); }
    body.ocean-mode .btn-transparent::before, body.ocean-mode .theme-btn::before { background: linear-gradient(45deg, #0077b6, #00b4d8); }
        body.ocean-mode .conversation-info h3 { color: #90e0ef; }
        body.dracula-mode { background: #32354b; color: #f8f8f2; }
        body.dracula-mode .btn { background: linear-gradient(135deg, #bd93f9, #ff79c6); box-shadow: 0 4px 15px rgba(189, 147, 249, 0.3); }
    body.dracula-mode .btn-transparent::before, body.dracula-mode .theme-btn::before { background: linear-gradient(45deg, #bd93f9, #ff79c6); }
        body.dracula-mode .conversation-info h3 { color: #ff79c6; }
        body.solar-mode { background: radial-gradient(circle at center, #6b1426, #1a0a24); color: #e2e8f0; }
        body.solar-mode .btn { background: linear-gradient(135deg, #dc2f02, #ffba08); box-shadow: 0 4px 15px rgba(220, 47, 2, 0.3); }
    body.solar-mode .btn-transparent::before, body.solar-mode .theme-btn::before { background: linear-gradient(45deg, #dc2f02, #ffba08); }
        body.solar-mode .conversation-info h3 { color: #ffba08; }
