:root {
            --primary-color: #61dafb;
            --secondary-color: #f0db4f;
            --background-color: #1e1e1e;
            --panel-background: #252526;
            --header-background: #2d2d2d;
            --text-color: #f0f0f0;
            --border-color: #3c3c3c;
            --button-hover: #4fa3d1;
            --shadow-color: rgba(0, 0, 0, 0.2);
        }

        @font-face {
            font-family: 'Fira Code';
            src: url('https://fonts.googleapis.com/css2?family=Fira+Code&display=swap');
        }

        body, html {
            margin: 0;
            padding: 0;
            font-family: 'Fira Code', monospace;
            background-color: var(--background-color);
            color: var(--text-color);
            height: 100%;
            
        }

        .app-container {
            display: flex;
            flex-direction: column;
            height: 100vh;
        }

        .header {
            background-color: var(--header-background);
            padding: 10px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 10px var(--shadow-color);
        }
		
		 .user-menu {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .user-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 2px solid var(--primary-color);
            transition: transform 0.3s ease;
        }

        .user-avatar:hover {
            transform: scale(1.1);
        }

        .main-content {
            display: flex;
            flex: 1;
            overflow: hidden;
        }
        
		.panel {
            flex: 1;
            display: flex;
            flex-direction: column;
            border-right: 1px solid var(--border-color);
        }

        .panel-header {
            background-color: var(--header-background);
            padding: 10px 15px;
            font-size: 16px;
            font-weight: bold;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .panel-content {
            flex: 1;
            overflow: hidden;
        }

       

        .ai-assistant {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
        }

        .ai-button {
            background-color: var(--secondary-color);
            color: var(--background-color);
            border: none;
            padding: 15px;
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 4px 8px var(--shadow-color);
            transition: all 0.3s ease;
            font-size: 18px;
            font-weight: bold;
        }

        .ai-button:hover {
            transform: scale(1.1) rotate(10deg);
            box-shadow: 0 6px 12px var(--shadow-color);
        }

        .ai-assistant iframe {
            display: none;
            border: none;
            border-radius: 10px;
            box-shadow: 0 10px 20px var(--shadow-color);
            margin-bottom: 10px;
            transition: all 0.3s ease;
            max-width: 90vw;
            max-height: 80vh;
        }

        @media (max-width: 768px) {
            .editor-container {
                flex-direction: column;
            }

            .panel {
                height: 33.33%;
                border-right: none;
                border-bottom: 1px solid var(--border-color);
            }

            .preview-container {
                height: 50%;
            }

            .ai-assistant {
                bottom: 10px;
                right: 10px;
            }

            .ai-assistant iframe {
                width: 90vw;
                height: 70vh;
            }

            .user-menu {
                flex-direction: column;
                align-items: flex-end;
            }

            .button {
                font-size: 14px;
                padding: 8px 16px;
            }
        }

        /* Animations */
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        .logo {
            animation: pulse 2s infinite;
        }

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

        .ai-assistant iframe {
            animation: slideIn 0.5s ease-out;
        }