*{margin:0;padding:0;box-sizing:border-box}body{font-family:Segoe UI,system-ui,sans-serif;min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#0f0f23,#1a1a3e,#2d1b4e);color:#fff}.app{text-align:center;padding:2.5rem;background:#ffffff08;border-radius:24px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.08);min-width:380px;box-shadow:0 20px 60px #0000004d}h1{font-size:1.8rem;margin-bottom:.25rem;background:linear-gradient(135deg,#60a5fa,#a78bfa);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.subtitle{font-size:.85rem;color:#ffffff80;margin-bottom:2rem}.start-btn{width:150px;height:150px;border-radius:50%;border:none;cursor:pointer;font-size:1.2rem;font-weight:600;background:linear-gradient(145deg,#8b5cf6,#6d28d9);color:#fff;box-shadow:0 10px 40px #8b5cf666;transition:all .3s ease}.start-btn:hover{transform:scale(1.05);box-shadow:0 15px 50px #8b5cf680}.connecting{display:flex;flex-direction:column;align-items:center;gap:1rem}.spinner{width:50px;height:50px;border:4px solid rgba(255,255,255,.2);border-top-color:#8b5cf6;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.call-active{display:flex;flex-direction:column;align-items:center;gap:1.5rem}.indicator{width:80px;height:80px;border-radius:50%;background:#ef4444;transition:all .3s ease}.indicator.speaking{background:#22c55e;animation:pulse 1s infinite}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.volume-bars{display:flex;gap:4px;height:40px;align-items:flex-end}.bar{width:20px;height:10px;background:#fff3;border-radius:4px;transition:all .1s ease}.bar.active{background:#8b5cf6;height:40px}.end-btn{padding:1rem 2rem;border-radius:50px;border:none;cursor:pointer;font-size:1rem;font-weight:600;background:linear-gradient(145deg,#ef4444,#dc2626);color:#fff;box-shadow:0 5px 20px #ef444466;transition:all .3s ease}.end-btn:hover{transform:scale(1.05)}.tabs{display:flex;gap:.5rem;margin-bottom:2rem;justify-content:center}.tab{padding:.75rem 1.5rem;border-radius:50px;border:1px solid rgba(255,255,255,.15);background:transparent;color:#fff9;cursor:pointer;font-size:.95rem;font-weight:500;transition:all .3s ease}.tab:hover{background:#ffffff14;color:#fff}.tab.active{background:linear-gradient(145deg,#8b5cf6,#6d28d9);color:#fff;border-color:transparent}.voice-section{min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center}.voice-label,.chat-label{font-size:.75rem;color:#fff6;margin-bottom:1.5rem;padding:.25rem .75rem;background:#ffffff0d;border-radius:50px}.chat-section{display:flex;flex-direction:column;width:100%;max-width:500px}.messages{height:300px;overflow-y:auto;padding:1rem;background:#00000040;border-radius:16px;margin-bottom:1rem;text-align:left}.empty-chat{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#ffffff80}.empty-chat .hint{font-size:.85rem;margin-top:.5rem;text-align:center;line-height:1.5}.message{margin-bottom:1rem;padding:.75rem 1rem;border-radius:12px;animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.message .role{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.25rem;display:block}.message p{margin:0;line-height:1.5}.message.user{background:linear-gradient(145deg,#8b5cf6,#6d28d9);margin-left:2rem}.message.user .role{color:#ffffffb3}.message.assistant{background:#ffffff14;margin-right:2rem}.message.assistant .role{color:#22c55e}.message.error{background:#ef444433;border:1px solid rgba(239,68,68,.5)}.message.error .role{color:#ef4444}.message.typing{opacity:.7}.chat-input{display:flex;gap:.5rem}.chat-input input{flex:1;padding:1rem;border-radius:50px;border:1px solid rgba(255,255,255,.15);background:#ffffff0d;color:#fff;font-size:1rem;outline:none;transition:all .3s ease}.chat-input input:focus{border-color:#8b5cf6;background:#ffffff14}.chat-input input::placeholder{color:#fff6}.chat-input button{padding:1rem 1.5rem;border-radius:50px;border:none;background:linear-gradient(145deg,#8b5cf6,#6d28d9);color:#fff;font-weight:600;cursor:pointer;transition:all .3s ease}.chat-input button:hover:not(:disabled){transform:scale(1.05)}.chat-input button:disabled{opacity:.5;cursor:not-allowed}.clear-btn{margin-top:1rem;padding:.5rem 1rem;border-radius:50px;border:1px solid rgba(255,255,255,.15);background:transparent;color:#fff9;cursor:pointer;font-size:.85rem;transition:all .3s ease}.clear-btn:hover{background:#ef444433;border-color:#ef4444;color:#ef4444}.call-result{background:#00000040;border-radius:16px;padding:1.5rem;text-align:left;width:100%;max-width:400px}.call-result h3{margin-bottom:1rem;text-align:center}.result-item{margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid rgba(255,255,255,.1)}.result-item:last-of-type{border-bottom:none}.result-item strong{display:block;margin-bottom:.5rem;color:#a78bfa}.result-item p{margin:0;color:#fffc}.result-item pre{background:#0000004d;padding:1rem;border-radius:8px;overflow-x:auto;font-size:.85rem;color:#22c55e}.badge{padding:.25rem .75rem;border-radius:50px;font-size:.85rem;font-weight:600}.badge.success{background:#22c55e33;color:#22c55e}.badge.pending{background:#eab30833;color:#eab308}.info{color:#fff9;font-style:italic;text-align:center}.start-btn.small{width:auto;height:auto;padding:.75rem 1.5rem;font-size:1rem;margin-top:1rem}.structured-data{background:#22c55e1a;border:1px solid rgba(34,197,94,.3);border-radius:12px;padding:1rem;margin-bottom:1rem}.structured-data h4{margin:0 0 .5rem;color:#22c55e;font-size:.9rem}.structured-data pre{margin:0;font-size:.8rem;color:#22c55e;overflow-x:auto}.bookings-section{width:100%;max-width:500px}.bookings-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.bookings-header h3{margin:0}.refresh-btn{padding:.5rem 1rem;border-radius:50px;border:1px solid rgba(255,255,255,.15);background:transparent;color:#fff;cursor:pointer;font-size:.85rem;transition:all .3s ease}.refresh-btn:hover:not(:disabled){background:#8b5cf633;border-color:#8b5cf6}.refresh-btn:disabled{opacity:.5;cursor:not-allowed}.empty-bookings{background:#00000040;border-radius:16px;padding:2rem;text-align:center;color:#ffffff80}.empty-bookings .hint{font-size:.85rem;margin-top:.5rem;line-height:1.5}.bookings-list{display:flex;flex-direction:column;gap:1rem;max-height:400px;overflow-y:auto}.booking-card{background:#00000040;border-radius:12px;padding:1rem;text-align:left}.booking-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.booking-id{font-weight:600;color:#a78bfa}.source-badge{font-size:.75rem;padding:.25rem .5rem;border-radius:50px;background:#ffffff14}.source-badge.voice,.source-badge.voice_poll{background:#9333ea33;color:#a78bfa}.source-badge.chat{background:#22c55e33;color:#22c55e}.booking-time{font-size:.8rem;color:#ffffff80;margin-bottom:.5rem}.booking-data{background:#0000004d;padding:.75rem;border-radius:8px;font-size:.8rem;color:#22c55e;overflow-x:auto;margin:0}.booking-success{margin-top:.5rem;font-size:.85rem}.booking-success .yes{color:#22c55e}.booking-success .no{color:#ef4444}.live-transcript{background:#0000004d;border-radius:12px;padding:1rem;margin:1rem 0;max-width:350px;min-height:60px;text-align:left}.live-transcript p{margin:0;font-size:.9rem;color:#ffffffe6;line-height:1.4;word-wrap:break-word}
