@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap";:root{--bg-main:#0a0f1d;--bg-surface:#111827;--bg-surface-hover:#1f2937;--border:#1f2937;--text-main:#f8fafc;--text-muted:#94a3b8;--accent:#0080ff;--accent-hover:#0066e6;--success:#10b981;--error:#ef4444;--radius:12px}*{box-sizing:border-box;margin:0;padding:0}body{background:var(--bg-main);color:var(--text-main);height:100vh;font-family:Inter,system-ui,sans-serif;overflow:hidden}#root{height:100vh}.app{width:100vw;height:100vh;display:flex}.sidebar{background:var(--bg-surface);border-right:1px solid var(--border);flex-direction:column;gap:1rem;width:280px;min-width:280px;height:100vh;padding:1.5rem 1rem;display:flex}.sidebar h2{text-transform:uppercase;justify-content:center;align-items:center;gap:.5rem;font-size:1.3rem;font-weight:900;display:flex}.sidebar-section{flex-direction:column;gap:.5rem;display:flex}.sidebar-label{text-transform:uppercase;color:var(--text-muted);padding-left:.5rem;font-size:.7rem;font-weight:700}.sidebar-btn{background:var(--accent);color:#fff;cursor:pointer;border:none;border-radius:8px;padding:.7rem;font-weight:600}.sidebar-menu{flex-direction:column;gap:.2rem;display:flex}.menu-item{color:var(--text-muted);cursor:pointer;border-radius:8px;padding:.6rem;font-size:.85rem}.menu-item.active,.menu-item:hover{background:var(--bg-surface-hover);color:var(--text-main)}.mode-toggle{background:var(--bg-main);border-radius:var(--radius);gap:4px;padding:4px;display:flex}.mode-toggle button{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:8px;flex:1;padding:.6rem;font-weight:600}.mode-toggle button.active{background:var(--accent);color:#fff}.chat{background:var(--bg-main);flex-direction:column;flex:1;width:100%;height:100vh;display:flex}.messages{flex-direction:column;flex:1;justify-content:center;align-items:center;width:100%;padding:2rem;display:flex;overflow-y:auto}.messages:has(.msg){justify-content:flex-start}.welcome{text-align:center;flex-direction:column;align-items:center;width:100%;max-width:800px;display:flex}.welcome h1{background:linear-gradient(135deg, #fff 0%, var(--accent) 100%);-webkit-text-fill-color:transparent;text-transform:uppercase;letter-spacing:-1.5px;-webkit-background-clip:text;margin-bottom:1rem;font-size:3.5rem;font-weight:900}.welcome p{color:var(--text-muted);margin-bottom:.5rem;font-size:1.1rem}.msg{flex-direction:column;width:100%;max-width:800px;margin-bottom:1.5rem;display:flex}.msg.user{align-items:flex-end}.msg.assistant{align-items:flex-start}.bubble{border-radius:var(--radius);white-space:pre-wrap;max-width:80%;padding:1rem 1.2rem;font-size:.95rem;line-height:1.6}.msg.user .bubble{background:var(--accent);color:#fff}.msg.assistant .bubble{background:var(--bg-surface);border:1px solid var(--border)}.input-bar-premium{border-top:1px solid var(--border);background:var(--bg-main);box-sizing:border-box;align-items:center;gap:.5rem;width:100%;max-width:900px;margin:0 auto;padding:1.5rem 2rem;display:flex}.input-bar-premium input{background:var(--bg-surface);border:1px solid var(--border);color:var(--text-main);border-radius:8px;outline:none;flex:1;padding:.8rem 1rem}.input-bar-premium button{background:var(--accent);color:#fff;cursor:pointer;border:none;border-radius:8px;padding:.8rem 1rem}.msg-actions{opacity:0;gap:.5rem;margin-top:.5rem;display:flex}.msg:hover .msg-actions{opacity:1}.msg-actions button{background:var(--bg-surface);border:1px solid var(--border);color:var(--text-main);cursor:pointer;border-radius:6px;padding:.3rem .6rem}.suggestion-btn{background:var(--bg-surface);border:1px solid var(--border);color:var(--text-main);cursor:pointer;border-radius:8px;padding:.8rem 1.5rem}.suggestion-btn:hover{border-color:var(--accent)}.etapes-box{border-left:3px solid var(--accent);color:var(--text-muted);background:#0080ff0d;border-radius:6px;flex-direction:column;gap:.4rem;margin-top:.8rem;padding:.8rem;font-size:.8rem;display:flex}.etape-item{align-items:center;gap:.4rem;display:flex}.bubble.typing{background:var(--bg-surface)!important;border:1px solid var(--border)!important;border-radius:var(--radius)!important;align-items:center!important;gap:8px!important;width:fit-content!important;padding:1.2rem 1.5rem!important;display:flex!important}.bubble.typing span{background:var(--accent)!important;border-radius:50%!important;width:8px!important;height:8px!important;animation:1.4s ease-in-out infinite both bounce!important}.bubble.typing span:first-child{animation-delay:-.32s!important}.bubble.typing span:nth-child(2){animation-delay:-.16s!important}.bubble.typing span:nth-child(3){animation-delay:0s!important}@keyframes bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}.connexion-container{background:#f8fafc;justify-content:center;align-items:center;min-height:100vh;font-family:Inter,system-ui,sans-serif;display:flex}.connexion-card{background:#fff;border-radius:12px;width:100%;max-width:400px;padding:2.5rem;box-shadow:0 4px 24px #00000014}.connexion-card h1{text-align:center;color:#0080ff;margin-bottom:.5rem;font-size:1.6rem}.connexion-subtitle{text-align:center;color:#666;margin-bottom:2rem}.connexion-error{color:#c00;background:#fee;border:1px solid #f99;border-radius:8px;margin-bottom:1rem;padding:.75rem;font-size:.9rem}.connexion-field{margin-bottom:1rem}.connexion-field label{color:#1e293b;margin-bottom:.4rem;font-weight:500;display:block}.connexion-field input{box-sizing:border-box;border:1px solid #e2e8f0;border-radius:8px;width:100%;padding:.7rem;font-family:inherit;font-size:1rem}.connexion-field input:focus{border-color:#0080ff;outline:none;box-shadow:0 0 0 3px #0080ff1a}.connexion-card button{color:#fff;cursor:pointer;background:#0080ff;border:none;border-radius:8px;width:100%;margin-top:.5rem;padding:.8rem;font-family:inherit;font-size:1rem;font-weight:600}.connexion-card button:hover:not(:disabled){background:#0066e6}.connexion-card button:disabled{cursor:not-allowed;background:#cbd5e1}
