
        .history-toggle-btn i{
            color: var(--text-primary);
            font-size: 1.5rem;
            text-decoration: none;
            display: flex;
            align-items: center;
        }
        /* Hamburger Menu */
        .hamburger-menu {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 5px;
        }

        .hamburger-menu span {
            width: 25px;
            height: 3px;
            background-color: var(--bs-body-bg);
            margin: 3px 0;
            transition: 0.3s;
            border-radius: 2px;
        }

        .hamburger-menu.active span:nth-child(1) {
            transform: rotate(-45deg) translate(-5px, 6px);
        }

        .hamburger-menu.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger-menu.active span:nth-child(3) {
            transform: rotate(45deg) translate(-5px, -6px);
        }

        .toggle-container {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .toggle-label {
            font-size: 14px;
            color: var(--text-primary);
            margin: 0;
        }

        .form-select-sm {
            font-size: 14px;
            padding: 5px 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
        }

        /* Toggle Switch */
        .toggle-switch {
            position: relative;
            display: inline-block;
            width: 50px;
            height: 24px;
        }

        .toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .toggle-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: .4s;
            border-radius: 24px;
        }

        .toggle-slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }

        input:checked + .toggle-slider {
            background-color: #2196F3;
        }

        input:checked + .toggle-slider:before {
            transform: translateX(26px);
        }

        

        /* Theme Toggle Button */
        .toggle-btn {
            background: #f0f0f0;
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            cursor: pointer;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }


        .custom-control-input:checked ~ .custom-control-label::before {
            background-color: #2196F3;
            border-color: #2196F3;
        }

        /* Mobile Responsive */
        @media screen and (max-width: 768px) {
            .header-right {
                position: fixed;
                top: 54px;
                right: -320px;
                background: var(--bg-primary);
                box-shadow: -2px 2px 10px rgba(0,0,0,0.1);
                width: 300px;
                max-height: calc(100vh - 60px);
                overflow-y: auto;
                z-index: 999;
                padding: 15px !important;
                flex-direction: column;
                align-items: stretch !important;
                gap: 0 !important;
                transition: right 0.3s ease-out;
            }

            .header-right.active {
                right: 0;
            }
            #genieSpaceSelect {
                width: 100%;
            }
            .faq-help-text {
                display: none;
            }
            .btn-fullscreen {
                display: none;
            }

            @keyframes slideIn {
                from {
                    transform: translateX(100%);
                    opacity: 0;
                }
                to {
                    transform: translateX(0);
                    opacity: 1;
                }
            }

            .header-right > * {
                padding: 0px !important;
                border-bottom: 0px !important;
                margin: 0 !important;
            }

            .header-right > *:last-child {
                border-bottom: none;
            }
            #userProfile {
                margin: 10px 0px !important;
                border: 0px;
            }
            .toggle-btn {
                margin: 0px;
            }
            .userProfileContainer {
                background: transparent;
                border-radius: 10px;
                border: 0px !important;
            }

            .hamburger-menu {
                display: flex;
            }

            .logo {
                height: 28px;
            }

            .history-toggle-btn {
                font-size: 1.3rem;
                line-height: 0px;
                height: unset;
            }
            .history-toggle-btn i{
                font-size: 20px;
            }

            .toggle-container {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
            }

            .toggle-container .form-select-sm {
                width: 100%;
            }

            .userProfileContainer {
                padding: 0;
            }

            .settings-dropdown {
                display: flex;
                align-items: center;
                justify-content: space-between;
            }

            .settings-dropdown .dropdown-menu {
                position: static !important;
                transform: none !important;
                box-shadow: none;
                border: none;
                padding: 10px 0 0 0;
                margin: 0;
            }
        }

        @media screen and (max-width: 480px) {
            .chat-header {
                padding: 10px 15px;
            }
            .header-right.active {
                right: 0;
            }

            .header-right {
                width: 100%;
                right: -450px;

            }

            .logo {
                height: 25px;
            }

            .header-left {
                gap: 10px;
            }
        }

        /* Overlay */
        .menu-overlay {
            display: none;
            position: fixed;
            top: 60px;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.3);
            z-index: 998;
        }

        .menu-overlay.active {
            display: block;
        }