.auth-container,.landing-container{display:flex;justify-content:center;align-items:center;min-height:100vh;background:#0a0a0b;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;color:#e1e1e3}.landing-container{flex-direction:column;padding:40px 20px;gap:40px}.landing-hero{text-align:center;max-width:700px}.landing-badge{display:inline-block;background:#1a2740;color:#4b8bee;padding:6px 16px;border-radius:20px;font-size:13px;font-weight:600;margin-bottom:24px;letter-spacing:.3px}.landing-hero h1{font-size:52px;line-height:1.1;color:#f5f5f7;margin:0 0 16px;font-weight:800;letter-spacing:-1.5px}.landing-hero p{font-size:18px;color:#68686b;line-height:1.6;margin:0 0 32px}.landing-demo{background:#121213;border:1px solid #1f1f21;border-radius:12px;padding:20px 24px;text-align:left}.demo-prompt{color:#a1a1a4;font-size:15px;font-style:italic}.demo-prompt:before{content:"💬 "}.landing-auth{width:100%;max-width:420px}.landing-card{background:#121213;border:1px solid #1f1f21;border-radius:12px;padding:32px}.landing-footnote{text-align:center;color:#484f58;font-size:12px;margin:16px 0 0}.auth-card{background:#121213;border:1px solid #1f1f21;border-radius:12px;padding:40px;width:400px;max-width:90vw}.auth-header{text-align:center;margin-bottom:24px}.auth-header h1{color:#f5f5f7;font-size:24px;margin:0}.auth-header p{color:#68686b;margin:8px 0 0;font-size:14px}.auth-tabs{display:flex;gap:0;margin-bottom:20px;border:1px solid #1f1f21;border-radius:8px;overflow:hidden}.auth-tabs button{flex:1;padding:10px;border:none;background:transparent;color:#68686b;cursor:pointer;font-size:14px;transition:all .2s}.auth-tabs button.active{background:#4b8bee;color:#fff}.auth-error{background:#2a1012;border:1px solid #d73a49;color:#f87171;padding:10px;border-radius:6px;margin-bottom:16px;font-size:13px}.form-group{margin-bottom:16px}.form-group label{display:block;color:#a1a1a4;font-size:13px;margin-bottom:6px}.form-group input{width:100%;padding:10px 12px;background:#0a0a0b;border:1px solid #2a2a2d;border-radius:6px;color:#e1e1e3;font-size:14px;box-sizing:border-box;outline:none}.form-group input:focus{border-color:#4b8bee}.auth-btn{width:100%;padding:12px;background:#4b8bee;border:none;color:#fff;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:background .2s}.auth-btn:hover{background:#5f9cf0}.dash-container{min-height:100vh;background:#0d1117;color:#c9d1d9;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;padding:24px}.dash-header{display:flex;justify-content:space-between;align-items:center;padding-bottom:24px;border-bottom:1px solid #30363d;margin-bottom:24px;flex-wrap:wrap;gap:12px}.dash-header-left{display:flex;align-items:center;gap:16px}.dash-header-left h1{font-size:22px;color:#f0f6fc;margin:0}.dash-user{color:#8b949e;font-size:13px;background:#21262d;padding:4px 10px;border-radius:12px}.dash-header-right{display:flex;gap:8px;flex-wrap:wrap}.btn{padding:8px 16px;border:1px solid #30363d;border-radius:6px;font-size:13px;cursor:pointer;transition:all .2s;font-weight:500}.btn-primary{background:#238636;border-color:#2ea043;color:#fff}.btn-primary:hover{background:#2ea043}.btn-secondary{background:#21262d;border-color:#30363d;color:#c9d1d9}.btn-secondary:hover{background:#30363d}.btn-danger{background:transparent;border-color:#d73a49;color:#f85149}.btn-danger:hover{background:#3d1214}.btn-sm{padding:4px 10px;font-size:12px}.new-project-form{display:flex;gap:8px;margin-bottom:24px;flex-wrap:wrap;padding:16px;background:#161b22;border:1px solid #30363d;border-radius:8px}.new-project-form input{padding:8px 12px;background:#0d1117;border:1px solid #30363d;border-radius:6px;color:#c9d1d9;flex:1;min-width:200px}.form-actions{display:flex;gap:8px}.projects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px}.project-card{background:#161b22;border:1px solid #30363d;border-radius:8px;padding:16px;transition:border-color .2s}.project-card:hover{border-color:#1f6feb}.project-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.project-card-header h3{margin:0;color:#f0f6fc;font-size:16px}.status-badge{font-size:11px;padding:2px 8px;border-radius:10px;text-transform:uppercase;font-weight:600}.status-badge.draft{background:#21262d;color:#8b949e}.status-badge.deployed{background:#1a3a1a;color:#3fb950}.project-desc{color:#8b949e;font-size:13px;margin:8px 0}.project-meta{display:flex;gap:16px;font-size:12px;color:#484f58;margin-bottom:12px}.project-actions{display:flex;gap:6px}.empty-state{grid-column:1 / -1;text-align:center;padding:60px;color:#484f58}.lovable-layout{display:flex;flex-direction:column;height:100vh;background:#0a0a0b;color:#e1e1e3;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.lovable-header{display:flex;align-items:center;justify-content:space-between;padding:0 20px;height:52px;background:#121213;border-bottom:1px solid #1f1f21;flex-shrink:0;position:relative;z-index:100}.header-left{display:flex;align-items:center;gap:16px}.logo{font-size:15px;font-weight:700;color:#e1e1e3;letter-spacing:-.3px}.header-project{font-size:12px;color:#68686b;padding:3px 10px;background:#1a1a1c;border-radius:12px}.header-center{position:absolute;left:50%;transform:translate(-50%)}.header-projects{position:relative;cursor:pointer;padding:6px 16px;background:#1a1a1c;border-radius:8px;font-size:13px;color:#a1a1a4;display:flex;align-items:center;gap:6px;-webkit-user-select:none;user-select:none}.header-projects:hover{background:#222225}.header-projects:after{content:"▾";font-size:10px;color:#68686b}.projects-dropdown{position:absolute;top:calc(100% + 6px);left:50%;transform:translate(-50%);background:#1a1a1c;border:1px solid #2a2a2d;border-radius:10px;min-width:240px;box-shadow:0 8px 32px #00000080;padding:6px;z-index:200}.dropdown-item{padding:10px 14px;font-size:13px;color:#a1a1a4;border-radius:6px;cursor:pointer}.dropdown-item:hover{background:#262629;color:#e1e1e3}.dropdown-item.active{color:#e1e1e3;background:#222225}.dropdown-divider{height:1px;background:#2a2a2d;margin:4px 8px}.dropdown-item.new{color:#4b8bee;font-weight:600}.dropdown-item.new:hover{background:#1a2740}.header-right{display:flex;align-items:center;gap:8px}.header-btn{padding:6px 14px;background:transparent;border:1px solid #2a2a2d;border-radius:8px;color:#a1a1a4;cursor:pointer;font-size:12px;transition:all .2s;text-decoration:none}.header-btn:hover{background:#1f1f21;color:#e1e1e3;border-color:#3a3a3d}.user-avatar-sm{width:30px;height:30px;border-radius:50%;background:#1f6feb;color:#fff;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;cursor:pointer;margin-left:8px;flex-shrink:0}.user-avatar-sm:hover{opacity:.85}.lovable-body{flex:1;display:flex;min-height:0;overflow:hidden}.chat-panel{flex:1;display:flex;flex-direction:column;min-width:0;overflow:hidden}.chat-panel.with-preview{flex:1;max-width:50%;border-right:1px solid #1f1f21}.landing-center{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px 60px;max-width:680px;margin:0 auto;width:100%}.landing-badge{font-size:12px;color:#4b8bee;background:#1a2740;padding:6px 16px;border-radius:20px;margin-bottom:24px;font-weight:500;letter-spacing:.3px}.landing-title{font-size:52px;font-weight:700;color:#f5f5f7;margin:0 0 12px;text-align:center;line-height:1.1;letter-spacing:-1.5px}.landing-sub{font-size:16px;color:#68686b;text-align:center;margin:0 0 32px;line-height:1.5;max-width:500px}.landing-input{display:flex;width:100%;max-width:560px;gap:8px;margin-bottom:40px}.landing-input input{flex:1;padding:16px 20px;background:#1a1a1c;border:1px solid #2a2a2d;border-radius:12px;color:#e1e1e3;font-size:16px;outline:none;transition:border-color .2s}.landing-input input:focus{border-color:#4b8bee}.landing-input input::placeholder{color:#68686b}.landing-input button{padding:16px 28px;background:#4b8bee;border:none;border-radius:12px;color:#fff;font-size:15px;font-weight:600;cursor:pointer;transition:background .2s;white-space:nowrap}.landing-input button:hover{background:#5f9cf0}.landing-input button:disabled{opacity:.5;cursor:not-allowed}.prompt-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;width:100%;max-width:560px}.prompt-card{display:flex;flex-direction:column;gap:2px;padding:14px 16px;background:#121213;border:1px solid #1f1f21;border-radius:10px;color:#a1a1a4;cursor:pointer;text-align:left;transition:all .2s;font-family:inherit}.prompt-card:hover{border-color:#4b8bee44;background:#18181a}.prompt-label{font-size:13px;font-weight:600;color:#e1e1e3}.prompt-desc{font-size:11px;color:#68686b}.messages-container{flex:1;overflow-y:auto;padding:24px;display:flex;flex-direction:column;gap:16px}.chat-start{text-align:center;padding:40px;color:#68686b;font-size:15px}.msg{display:flex;gap:12px;max-width:720px;animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.msg.user{flex-direction:row-reverse;align-self:flex-end}.msg-avatar{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:16px;flex-shrink:0}.msg.user .msg-avatar{background:#2a4a8a}.msg.assistant .msg-avatar{background:#1f1f21}.msg-bubble{background:#161618;padding:12px 16px;border-radius:12px;font-size:14px;line-height:1.6;white-space:pre-wrap;border:1px solid #1f1f21;max-width:85%;color:#e1e1e3}.msg.user .msg-bubble{background:#1f6feb;border-color:#1f6feb;color:#fff}.typing{animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%,to{opacity:.4}50%{opacity:1}}.preview-panel{flex:1;display:flex;flex-direction:column;background:#0d0d0e;min-width:0}.preview-toolbar{display:flex;align-items:center;justify-content:space-between;padding:8px 16px;font-size:12px;color:#68686b;background:#121213;border-bottom:1px solid #1f1f21}.preview-toolbar a{color:#4b8bee;text-decoration:none}.preview-toolbar a:hover{text-decoration:underline}.preview-loading{flex:1;display:flex;align-items:center;justify-content:center;color:#68686b;font-size:14px}.chat-bar{display:flex;padding:12px 20px;border-top:1px solid #1f1f21;gap:8px;background:#121213}.chat-bar input{flex:1;padding:14px 18px;background:#1a1a1c;border:1px solid #2a2a2d;border-radius:10px;color:#e1e1e3;font-size:15px;outline:none;transition:border-color .2s}.chat-bar input:focus{border-color:#4b8bee}.chat-bar input::placeholder{color:#68686b}.chat-bar button{padding:14px 24px;background:#4b8bee;border:none;border-radius:10px;color:#fff;cursor:pointer;font-size:18px;font-weight:600;transition:background .2s}.chat-bar button:hover{background:#5f9cf0}.chat-bar button:disabled{opacity:.5;cursor:not-allowed}.editor-layout{display:flex;flex-direction:column;height:100vh;background:#0d1117;color:#c9d1d9;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;outline:none}.editor-toolbar{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:#161b22;border-bottom:1px solid #30363d;gap:8px;flex-shrink:0}.toolbar-left,.toolbar-right{display:flex;align-items:center;gap:6px}.toolbar-project{font-weight:600;color:#f0f6fc;font-size:14px}.tool-btn{padding:6px 12px;background:#21262d;border:1px solid #30363d;border-radius:6px;color:#c9d1d9;cursor:pointer;font-size:12px;transition:all .2s;white-space:nowrap}.tool-btn.btn-primary{background:#238636;border-color:#2ea043;color:#fff}.tool-btn.btn-primary:hover{background:#2ea043}.tool-btn.btn-danger{border-color:#d73a49;color:#f85149}.tool-btn.btn-danger:hover{background:#3d1214}.tool-btn:hover{background:#30363d}.btn-sm{padding:4px 8px;font-size:11px}.editor-body{display:flex;flex:1;overflow:hidden}.file-sidebar{width:200px;background:#161b22;border-right:1px solid #30363d;overflow-y:auto;flex-shrink:0}.file-sidebar-header{padding:12px;font-size:12px;font-weight:600;color:#8b949e;text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid #30363d}.file-item{padding:8px 12px;cursor:pointer;font-size:13px;color:#c9d1d9;transition:all .2s;border-left:3px solid transparent}.file-item:hover{background:#1c2128}.file-item.active{background:#1c2128;border-left-color:#1f6feb;color:#f0f6fc}.file-empty{padding:20px 12px;color:#484f58;font-size:12px;text-align:center;line-height:1.5}.editor-main{flex:1;overflow:hidden}.editor-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#484f58}.editor-empty h2{font-size:18px;margin-bottom:8px}.preview-panel{width:45%;display:flex;flex-direction:column;border-left:1px solid #30363d;background:#fff}.preview-header{display:flex;justify-content:space-between;align-items:center;padding:6px 12px;background:#161b22;border-bottom:1px solid #30363d;font-size:12px;color:#8b949e}.preview-frame{flex:1;border:none;background:#fff}.editor-chat{width:320px;display:flex;flex-direction:column;border-left:1px solid #30363d;background:#161b22;flex-shrink:0}.editor-chat-header{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;border-bottom:1px solid #30363d;font-size:13px}.editor-chat-messages{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:8px}.editor-msg{font-size:12px;line-height:1.4}.editor-msg.user .editor-msg-content{background:#1f6feb;padding:8px 10px;border-radius:6px;color:#fff}.editor-msg.assistant .editor-msg-content{background:#21262d;padding:8px 10px;border-radius:6px;color:#c9d1d9}.editor-chat-input{display:flex;padding:8px;border-top:1px solid #30363d;gap:4px}.editor-chat-input input{flex:1;padding:8px 10px;background:#0d1117;border:1px solid #30363d;border-radius:4px;color:#c9d1d9;font-size:12px}.editor-chat-input button{padding:8px 12px;background:#238636;border:1px solid #2ea043;color:#fff;border-radius:4px;cursor:pointer}.settings-container{min-height:100vh;background:#0d1117;color:#c9d1d9;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;padding:40px 20px;display:flex;justify-content:center}.settings-card{max-width:700px;width:100%}.settings-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.settings-header h1{font-size:24px;color:#f0f6fc;margin:0}.back-link{color:#1f6feb;text-decoration:none;font-size:14px}.back-link:hover{text-decoration:underline}.settings-message{background:#1a3a1a;border:1px solid #2ea043;color:#3fb950;padding:12px;border-radius:6px;margin-bottom:24px;font-size:13px}.settings-section{background:#161b22;border:1px solid #30363d;border-radius:8px;padding:24px;margin-bottom:24px}.settings-section h2{font-size:18px;color:#f0f6fc;margin:0 0 8px}.section-desc{color:#8b949e;font-size:13px;margin-bottom:20px}.providers-info{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;margin-bottom:20px}.provider-card{background:#0d1117;border:1px solid #30363d;border-radius:6px;padding:12px}.provider-card h3{font-size:14px;margin:0 0 4px;color:#f0f6fc}.provider-card p{font-size:11px;color:#8b949e;margin:0}.provider-card a{color:#1f6feb}.keys-list{margin-bottom:16px}.key-item{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:#0d1117;border:1px solid #30363d;border-radius:6px;margin-bottom:8px}.key-info{display:flex;align-items:center;gap:12px}.key-provider{font-weight:600;font-size:13px;text-transform:capitalize}.key-masked{color:#484f58;font-family:monospace;font-size:13px}.key-status{font-size:11px;padding:2px 6px;border-radius:4px}.key-status.active{background:#1a3a1a;color:#3fb950}.key-status.inactive{background:#3d1214;color:#f85149}.btn-danger-sm{padding:4px 10px;background:transparent;border:1px solid #d73a49;color:#f85149;border-radius:4px;cursor:pointer;font-size:12px}.no-keys{color:#484f58;font-size:13px;text-align:center;padding:20px}.add-key-form{display:flex;flex-direction:column;gap:8px;margin-top:12px}.add-key-form select,.add-key-form input{padding:10px 12px;background:#0d1117;border:1px solid #30363d;border-radius:6px;color:#c9d1d9;font-size:14px}.add-key-form .form-actions{display:flex;gap:8px}.add-key-form .form-actions button{padding:8px 16px;border-radius:6px;cursor:pointer;font-size:13px}.add-key-form .form-actions .btn-primary{background:#238636;border:1px solid #2ea043;color:#fff}.add-key-form .form-actions button:last-child{background:#21262d;border:1px solid #30363d;color:#c9d1d9}.btn-primary{padding:8px 16px;background:#238636;border:1px solid #2ea043;color:#fff;border-radius:6px;cursor:pointer;font-size:13px}.account-info p{font-size:14px;margin:4px 0;color:#c9d1d9}
