.prompt-list-container{width:100%;max-width:1200px;margin:0 auto;padding:20px}.prompt-list-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;color:#fff;flex-wrap:wrap;gap:20px}.prompt-list-header h2{font-size:2rem;font-weight:600}.header-actions{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.dropdown-wrapper{display:flex;align-items:center;gap:10px}.dropdown-label{font-size:1rem;font-weight:500;color:#fff;white-space:nowrap}.prompt-dropdown{background:#fffffff2;border:2px solid rgba(255,255,255,.3);color:#333;padding:10px 40px 10px 15px;border-radius:8px;cursor:pointer;font-size:1rem;font-weight:500;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 15px center;min-width:200px;box-shadow:0 2px 4px #0000001a}.prompt-dropdown:hover{background-color:#fff;border-color:#ffffff80;transform:translateY(-1px);box-shadow:0 4px 8px #00000026}.prompt-dropdown:focus{outline:none;border-color:#fffc;box-shadow:0 0 0 3px #fff3}.prompt-dropdown:disabled{opacity:.6;cursor:not-allowed}.prompt-dropdown option{padding:10px;background:#fff;color:#333}.refresh-button{background:#fff3;border:2px solid rgba(255,255,255,.3);color:#fff;padding:10px 20px;border-radius:8px;cursor:pointer;font-size:1rem;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);white-space:nowrap}.refresh-button:hover:not(:disabled){background:#ffffff4d;transform:translateY(-2px)}.refresh-button:disabled{opacity:.6;cursor:not-allowed}.prompts-list{display:flex;flex-direction:column;gap:12px}.prompt-item-card{background:#fff;border-radius:8px;padding:20px;box-shadow:0 2px 4px #0000001a;transition:all .3s ease;display:flex;justify-content:space-between;align-items:center;border:1px solid #e0e0e0}.prompt-item-card:hover{box-shadow:0 4px 8px #00000026;transform:translateY(-2px);border-color:#667eea}.prompt-item-info{flex:1;min-width:0}.prompt-item-header{margin-bottom:8px}.prompt-item-name{font-size:1.1rem;font-weight:600;color:#333;word-break:break-word;margin:0}.prompt-item-meta{display:flex;align-items:center;gap:12px}.char-count{font-size:.9rem;color:#666;display:flex;align-items:center;gap:4px}.prompt-item-actions{display:flex;align-items:center;gap:10px;margin-left:20px}.action-btn{padding:8px 20px;border:none;border-radius:6px;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .3s ease;white-space:nowrap}.edit-btn{background:#667eea;color:#fff}.edit-btn:hover{background:#5568d3;transform:translateY(-1px)}.loading-container,.error-container,.empty-container{display:flex;justify-content:center;align-items:center;min-height:400px;color:#fff}.loading-container{flex-direction:column;gap:20px}.spinner{border:4px solid rgba(255,255,255,.3);border-top:4px solid white;border-radius:50%;width:50px;height:50px;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.error-message{background:#fffffff2;padding:30px;border-radius:12px;text-align:center;box-shadow:0 4px 6px #0000001a;color:#333}.error-message h3{margin-bottom:10px;color:#e74c3c}.error-message p{margin-bottom:20px;color:#666}.retry-button{background:#667eea;color:#fff;border:none;padding:12px 24px;border-radius:8px;cursor:pointer;font-size:1rem;transition:background .3s ease}.retry-button:hover{background:#5568d3}.empty-container{background:#fffffff2;padding:30px;border-radius:12px;color:#666;font-size:1.1rem}.loading-overlay{display:flex;justify-content:center;align-items:center;padding:20px;margin-bottom:20px}.spinner-small{border:3px solid rgba(255,255,255,.3);border-top:3px solid white;border-radius:50%;width:30px;height:30px;animation:spin 1s linear infinite}.error-banner{background:#e74c3ce6;color:#fff;padding:15px 20px;border-radius:8px;margin-bottom:20px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 4px #0000001a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.retry-button-small{background:#fff3;border:1px solid rgba(255,255,255,.3);color:#fff;padding:6px 12px;border-radius:6px;cursor:pointer;font-size:.9rem;transition:all .3s ease;white-space:nowrap}.retry-button-small:hover{background:#ffffff4d}@media (max-width: 768px){.prompt-list-header{flex-direction:column;gap:15px;align-items:flex-start}.prompt-list-header h2{font-size:1.5rem}.header-actions,.refresh-button{width:100%}.prompt-item-card{flex-direction:column;align-items:flex-start;gap:15px}.prompt-item-actions{width:100%;margin-left:0;justify-content:flex-end}.action-btn{flex:1}.error-banner{flex-direction:column;gap:10px;align-items:flex-start}}.edit-prompt-container{width:100%;max-width:1200px;margin:0 auto;padding:20px;background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000001a}.edit-prompt-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:15px;border-bottom:2px solid #f0f0f0;flex-wrap:wrap;gap:15px}.back-link{background:none;border:none;color:#667eea;font-size:1rem;cursor:pointer;padding:8px 0;transition:color .3s ease;text-decoration:none;display:inline-block}.back-link:hover{color:#5568d3;text-decoration:underline}.header-right{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.filename{font-size:1rem;font-weight:500;color:#666;padding:8px 12px;background:#f5f5f5;border-radius:6px}.action-button{padding:10px 20px;border:none;border-radius:8px;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .3s ease;white-space:nowrap}.reset-button{background:#95a5a6;color:#fff}.reset-button:hover:not(:disabled){background:#7f8c8d}.test-button{background:#27ae60;color:#fff}.test-button:hover:not(:disabled){background:#229954}.save-button{background:#667eea;color:#fff}.save-button:hover:not(:disabled){background:#5568d3}.commit-button{background:linear-gradient(135deg,#e74c3c,#c0392b);color:#fff;position:relative;overflow:hidden;box-shadow:0 4px 15px #e74c3c66}.commit-button:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);transition:left .5s}.commit-button:hover:not(:disabled):before{left:100%}.commit-button:hover:not(:disabled){background:linear-gradient(135deg,#c0392b,#a93226);transform:translateY(-2px);box-shadow:0 6px 20px #e74c3c80}.commit-button:active:not(:disabled){transform:translateY(0)}.action-button:disabled{opacity:.6;cursor:not-allowed}.editor-section{margin-bottom:20px}.editor-wrapper{position:relative}.prompt-editor{width:100%;min-height:300px;padding:20px;border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;font-family:Monaco,Menlo,Ubuntu Mono,monospace;line-height:1.6;resize:vertical;transition:border-color .3s ease}.prompt-editor:focus{outline:none;border-color:#667eea}.prompt-editor:disabled{background:#f5f5f5;cursor:not-allowed}.character-count{position:absolute;bottom:10px;right:15px;font-size:.85rem;color:#999;background:#ffffffe6;padding:4px 8px;border-radius:4px}.test-section{border:2px solid #e0e0e0;border-radius:8px;overflow:hidden;margin-top:20px}.test-section-header{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;background:#f8f9fa;cursor:pointer;transition:background .3s ease}.test-section-header:hover{background:#e9ecef}.test-section-header h3{margin:0;font-size:1.1rem;font-weight:600;color:#333}.toggle-icon{font-size:.9rem;color:#666}.test-section-content{padding:20px;background:#fff}.test-input-wrapper{margin-bottom:20px}.test-input-wrapper label{display:block;margin-bottom:8px;font-weight:500;color:#333;font-size:.95rem}.test-input{width:100%;padding:12px;border:2px solid #e0e0e0;border-radius:6px;font-size:1rem;margin-bottom:12px;transition:border-color .3s ease}.test-input:focus{outline:none;border-color:#667eea}.test-input:disabled{background:#f5f5f5;cursor:not-allowed}.run-test-button{background:#27ae60;color:#fff;border:none;padding:10px 20px;border-radius:6px;font-size:.95rem;font-weight:500;cursor:pointer;transition:background .3s ease}.run-test-button:hover:not(:disabled){background:#229954}.run-test-button:disabled{opacity:.6;cursor:not-allowed}.image-upload-wrapper{margin-top:20px;margin-bottom:20px;padding-top:20px;border-top:1px solid #e0e0e0}.image-upload-label{display:block;margin-bottom:12px;font-weight:500;color:#333;font-size:.95rem}.image-upload-section{display:flex;flex-direction:column;gap:12px}.file-input-label{display:block;cursor:pointer}.image-input{display:none}.file-input-text{display:block;padding:12px;border:2px dashed #e0e0e0;border-radius:6px;font-size:.95rem;text-align:center;background:#f8f9fa;color:#666;transition:all .3s ease;cursor:pointer}.file-input-label:hover .file-input-text{border-color:#667eea;background:#f0f0f0;color:#667eea}.image-input:disabled+.file-input-text{opacity:.6;cursor:not-allowed}.image-preview{display:flex;align-items:center;gap:12px;padding:12px;background:#f8f9fa;border-radius:6px;border:1px solid #e0e0e0}.image-preview img{max-width:100px;max-height:100px;object-fit:contain;border-radius:4px;border:1px solid #ddd}.image-name{font-size:.9rem;color:#666;word-break:break-word;flex:1}.upload-image-button{background:#667eea;color:#fff;border:none;padding:10px 20px;border-radius:6px;font-size:.95rem;font-weight:500;cursor:pointer;transition:background .3s ease;align-self:flex-start}.upload-image-button:hover:not(:disabled){background:#5568d3}.upload-image-button:disabled{opacity:.6;cursor:not-allowed}.test-button-wrapper{margin-bottom:20px;padding-top:20px}.test-prompt-button{background:#27ae60;color:#fff;border:none;padding:12px 30px;border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .3s ease;width:100%}.test-prompt-button:hover:not(:disabled){background:#229954;transform:translateY(-2px);box-shadow:0 4px 8px #00000026}.test-prompt-button:disabled{opacity:.6;cursor:not-allowed}.upload-status{padding:10px 15px;border-radius:6px;font-size:.95rem;font-weight:500;margin-top:10px;background:#e8f5e9;color:#2e7d32;border-left:4px solid #4caf50}.upload-status.error-status{background:#ffebee;color:#c62828;border-left-color:#f44336}.test-output-wrapper{margin-top:20px}.test-output-wrapper label{display:block;margin-bottom:8px;font-weight:600;color:#333;font-size:1rem}.test-output{min-height:150px;padding:15px;border:2px solid #e0e0e0;border-radius:6px;background:#f8f9fa;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.9rem;line-height:1.6;overflow-y:auto;white-space:pre-wrap;word-wrap:break-word}.test-output pre{margin:0;white-space:pre-wrap;word-wrap:break-word}.placeholder-text{color:#999;font-style:italic;margin:0}.loading-test{display:flex;align-items:center;gap:10px;color:#666}.spinner-small{border:2px solid rgba(102,126,234,.3);border-top:2px solid #667eea;border-radius:50%;width:20px;height:20px;animation:spin 1s linear infinite}.error-banner{background:#e74c3c1a;color:#e74c3c;padding:12px 15px;border-radius:6px;margin-bottom:15px;border-left:4px solid #e74c3c}.error-banner span{font-weight:500}.back-button{background:#667eea;color:#fff;border:none;padding:8px 16px;border-radius:6px;cursor:pointer;font-size:.9rem;margin-top:10px;transition:background .3s ease}.password-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;justify-content:center;align-items:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.password-modal{background:#fff;border-radius:12px;box-shadow:0 10px 40px #0000004d;width:90%;max-width:400px;overflow:hidden;animation:modalSlideIn .3s ease-out}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.password-modal-header{background:linear-gradient(135deg,#e74c3c,#c0392b);color:#fff;padding:20px;display:flex;justify-content:space-between;align-items:center}.password-modal-header h3{margin:0;font-size:1.2rem}.password-modal-close{background:transparent;border:none;color:#fff;font-size:28px;cursor:pointer;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background .2s}.password-modal-close:hover{background:#fff3}.password-modal-body{padding:30px}.password-modal-body p{margin:0 0 20px;color:#333;font-size:1rem}.password-input{width:100%;padding:12px 16px;border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;margin-bottom:20px;transition:border-color .3s;box-sizing:border-box}.password-input:focus{outline:none;border-color:#e74c3c}.password-modal-buttons{display:flex;gap:10px;justify-content:flex-end}.password-cancel-button{background:#95a5a6;color:#fff;border:none;padding:10px 20px;border-radius:6px;cursor:pointer;font-size:1rem;transition:background .3s}.password-cancel-button:hover{background:#7f8c8d}.password-submit-button{background:linear-gradient(135deg,#e74c3c,#c0392b);color:#fff;border:none;padding:10px 20px;border-radius:6px;cursor:pointer;font-size:1rem;transition:background .3s;box-shadow:0 2px 8px #e74c3c4d}.password-submit-button:hover{background:linear-gradient(135deg,#c0392b,#a93226);box-shadow:0 4px 12px #e74c3c66}.back-button:hover{background:#5568d3}@media (max-width: 768px){.edit-prompt-header{flex-direction:column;align-items:flex-start}.header-right{width:100%;flex-wrap:wrap}.action-button{flex:1;min-width:100px}.prompt-editor{min-height:200px}}.logo-container{display:flex;justify-content:center;align-items:center;margin-bottom:0}.logo-svg{width:200px;height:auto;filter:drop-shadow(0 4px 12px rgba(0,0,0,.3));animation:logoFloat 4s ease-in-out infinite}.robot-head{animation:headPulse 2s ease-in-out infinite;transform-origin:center}.robot-ear{animation:earWiggle 3s ease-in-out infinite}.robot-ear:first-of-type{animation-delay:0s}.robot-ear:last-of-type{animation-delay:.3s}.robot-antenna{animation:antennaBounce 2s ease-in-out infinite;transform-origin:center bottom}.robot-antenna-dot{animation:dotBlink 1.5s ease-in-out infinite}.robot-eye{animation:eyeBlink 3s ease-in-out infinite}.robot-pupil{animation:pupilMove 4s ease-in-out infinite}.robot-smile{animation:smileWiggle 2.5s ease-in-out infinite}.logo-text-buddy{font-family:Arial,Helvetica,sans-serif;font-size:32px;font-weight:700;letter-spacing:1px;animation:textGlow 3s ease-in-out infinite}.logo-text-wingman{font-family:Arial,Helvetica,sans-serif;font-size:16px;font-weight:600;letter-spacing:4px;animation:textGlow 3s ease-in-out infinite .5s}@keyframes logoFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}@keyframes headPulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes earWiggle{0%,to{transform:rotate(0)}25%{transform:rotate(-3deg)}75%{transform:rotate(3deg)}}@keyframes antennaBounce{0%,to{transform:translateY(0)}50%{transform:translateY(-2px)}}@keyframes dotBlink{0%,to{opacity:1}50%{opacity:.3}}@keyframes eyeBlink{0%,90%,to{transform:scaleY(1)}95%{transform:scaleY(.1)}}@keyframes pupilMove{0%,to{transform:translate(0)}25%{transform:translate(1px,-1px)}50%{transform:translate(0)}75%{transform:translate(-1px,1px)}}@keyframes smileWiggle{0%,to{transform:scaleX(1)}50%{transform:scaleX(1.05)}}@keyframes textGlow{0%,to{opacity:.9;filter:drop-shadow(0 0 2px rgba(26,26,46,.3))}50%{opacity:1;filter:drop-shadow(0 0 4px rgba(26,26,46,.5))}}@media (max-width: 768px){.logo-svg{width:160px}.logo-text-buddy{font-size:26px}.logo-text-wingman{font-size:14px;letter-spacing:3px}}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.login-background{width:100%;min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);position:relative;display:flex;align-items:center;justify-content:center;padding:20px}.login-background:before,.login-background:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-size:200% 200%;animation:gradientAnimation 15s ease infinite alternate;z-index:0}.login-background:before{background-image:linear-gradient(135deg,#667eea,#764ba2);opacity:.8}.login-background:after{background-image:radial-gradient(circle at 20% 80%,rgba(255,105,180,.3) 0%,transparent 50%),radial-gradient(circle at 80% 20%,rgba(135,206,250,.3) 0%,transparent 50%);animation:floatAnimation 20s ease-in-out infinite alternate;opacity:.6}@keyframes gradientAnimation{0%{background-position:0% 50%}to{background-position:100% 50%}}@keyframes floatAnimation{0%{transform:translate(0) scale(1)}25%{transform:translate(20px,-10px) scale(1.05)}50%{transform:translateY(20px) scale(1)}75%{transform:translate(-20px,-10px) scale(.95)}to{transform:translate(0) scale(1)}}.login-card{background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:20px;box-shadow:0 20px 60px #0000004d;padding:40px;width:100%;max-width:420px;position:relative;z-index:1;animation:cardSlideIn .5s ease-out}@keyframes cardSlideIn{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.login-header{text-align:center;margin-bottom:30px}.login-header .logo-container{margin:0 auto 20px}.login-header h1{margin:0 0 10px;color:#1a1a2e;font-size:2rem;font-weight:700}.login-header p{margin:0;color:#666;font-size:.95rem}.login-form{display:flex;flex-direction:column;gap:20px}.login-error{background:#fee;border:1px solid #fcc;color:#c33;padding:12px;border-radius:8px;font-size:.9rem;text-align:center;animation:shake .5s}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-10px)}75%{transform:translate(10px)}}.login-input-group{display:flex;flex-direction:column;gap:8px}.login-input-group label{color:#333;font-weight:600;font-size:.9rem}.login-input-group input{padding:14px 16px;border:2px solid #e0e0e0;border-radius:10px;font-size:1rem;transition:all .3s ease;background:#fff}.login-input-group input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.login-input-group input:disabled{background:#f5f5f5;cursor:not-allowed}.password-input-wrapper{position:relative;display:flex;align-items:center}.password-input-wrapper input{padding-right:45px;width:100%}.password-toggle-btn{position:absolute;right:10px;background:transparent;border:none;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;color:#666;transition:color .3s ease;z-index:2;width:32px;height:32px;border-radius:4px}.password-toggle-btn:hover:not(:disabled){color:#667eea;background:#667eea1a}.password-toggle-btn:active:not(:disabled){background:#667eea26}.password-toggle-btn:disabled{cursor:not-allowed;opacity:.5}.password-toggle-btn svg{width:18px;height:18px;stroke-width:2}.login-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:16px;border-radius:10px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:10px;box-shadow:0 4px 15px #667eea66;margin-top:10px}.login-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #667eea80}.login-button:active:not(:disabled){transform:translateY(0)}.login-button:disabled{opacity:.7;cursor:not-allowed}.login-spinner{width:18px;height:18px;border:3px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 480px){.login-card{padding:30px 20px}.login-header h1{font-size:1.5rem}}.App{min-height:100vh;padding:20px;position:relative;z-index:1}.app-container{max-width:1400px;margin:0 auto}.app-header{text-align:center;color:#fff;margin-bottom:30px;padding:20px;display:flex;flex-direction:column;align-items:center;gap:8px}.app-header h1{font-size:2rem;font-weight:600;margin:0;text-shadow:2px 2px 4px rgba(0,0,0,.2);color:#fffffff2}.app-main{background:#ffffff0d;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:20px;padding:30px;box-shadow:0 8px 32px #0000001a;min-height:500px}@media (max-width: 768px){.app-header h1{font-size:2rem}.app-header p{font-size:1rem}.app-main{padding:20px}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:linear-gradient(135deg,#667eea,#764ba2,#f093fb);background-size:400% 400%;animation:gradientShift 15s ease infinite;min-height:100vh;position:relative;overflow-x:hidden}body:before{content:"";position:fixed;top:0;left:0;width:100%;height:100%;background:radial-gradient(circle at 20% 50%,rgba(120,119,198,.3) 0%,transparent 50%),radial-gradient(circle at 80% 80%,rgba(255,119,198,.3) 0%,transparent 50%),radial-gradient(circle at 40% 20%,rgba(120,219,255,.3) 0%,transparent 50%);animation:float 20s ease-in-out infinite;pointer-events:none;z-index:0}body:after{content:"";position:fixed;top:0;left:0;width:100%;height:100%;background-image:repeating-linear-gradient(0deg,transparent,transparent 2px,rgba(255,255,255,.03) 2px,rgba(255,255,255,.03) 4px);pointer-events:none;z-index:0}@keyframes gradientShift{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes float{0%,to{transform:translate(0) scale(1);opacity:.3}33%{transform:translate(30px,-30px) scale(1.1);opacity:.4}66%{transform:translate(-20px,20px) scale(.9);opacity:.35}}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}
