.chat-bubble{display:flex;margin-bottom:.5rem;animation:fadeInUp .3s ease-out;max-width:18rem}.user-bubble{justify-content:flex-end;align-self:flex-end;margin-left:auto}.bot-bubble{justify-content:flex-start;align-self:flex-start;align-items:flex-start;gap:.75rem}.message-content{padding:.75rem 1rem;border-radius:1rem;position:relative;word-wrap:break-word;box-shadow:0 1px 3px #0000001a}.user-message{background:linear-gradient(135deg,#16a34a,#15803d);color:#fff;border-bottom-right-radius:.25rem}.bot-message{background:#fff;color:#1f2937;border-bottom-left-radius:.25rem;border:1px solid #e5e7eb}.message-text{margin:0;line-height:1.5;font-size:.875rem}.message-timestamp{display:block;font-size:.75rem;margin-top:.25rem}.user-timestamp{opacity:.75;text-align:right;color:#fffc}.bot-timestamp{color:#6b7280;text-align:left}@keyframes fadeInUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 768px){.chat-bubble{max-width:85%}.message-content{padding:.75rem}.message-text{font-size:.875rem}}@media (max-width: 480px){.chat-bubble{max-width:90%}.message-content{padding:.625rem .875rem;font-size:.875rem}.bot-bubble{gap:.5rem}.bot-avatar,.avatar-image{width:1.75rem;height:1.75rem}}.forestbot-container{display:flex;flex-direction:column;height:100vh;width:100vw;background:#fff}.forestbot-messages{flex:1;overflow-y:auto;padding:1rem;display:flex;flex-direction:column;gap:1rem;scroll-behavior:smooth}.forestbot-messages::-webkit-scrollbar{width:6px}.forestbot-messages::-webkit-scrollbar-track{background:transparent}.forestbot-messages::-webkit-scrollbar-thumb{background:#2d501633;border-radius:3px}.forestbot-messages::-webkit-scrollbar-thumb:hover{background:#2d50164d}.connection-warning{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:#ffc1071a;border:1px solid rgba(255,193,7,.3);border-radius:.5rem;color:#856404;font-size:.875rem;margin:0 auto;max-width:24rem}.system-message{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem;background:#22c55e1a;border:1px solid rgba(34,197,94,.2);border-radius:.5rem;color:#166534;font-size:.875rem;margin:0 auto;max-width:18rem}.typing-indicator{display:flex;align-items:flex-start;gap:.75rem;max-width:18rem}.bot-avatar{width:2rem;height:2rem;background:#22c55e1a;border-radius:50%;display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0}.avatar-image{width:2rem;height:2rem;object-fit:cover;border-radius:50%}.typing-bubble{background:#fff;border:1px solid #e2e8f0;border-radius:1rem 1rem 1rem .25rem;padding:.75rem 1rem;box-shadow:0 1px 3px #0000001a}.typing-dots{display:flex;gap:.25rem;margin-bottom:.25rem}.typing-dot{width:.5rem;height:.5rem;background:#16a34a;border-radius:50%;animation:typing-bounce 1.4s infinite ease-in-out}.typing-dot:nth-child(1){animation-delay:-.32s}.typing-dot:nth-child(2){animation-delay:-.16s}.typing-text{font-size:.75rem;color:#64748b;font-style:italic}.forestbot-input{padding:1rem;background:#fff;border-top:1px solid #e2e8f0}.input-container{display:flex;gap:.75rem;align-items:flex-end;max-width:64rem;margin:0 auto}.message-input{flex:1;min-height:50px;max-height:120px;padding:.75rem 1rem;border:2px solid #d1d5db;border-radius:1rem;font-family:inherit;font-size:.875rem;line-height:1.5;resize:none;outline:none;transition:all .2s ease;background:#f8fafc}.message-input:focus{border-color:#16a34a;background:#fff;box-shadow:0 0 0 3px #22c55e1a}.message-input:disabled{background:#f1f5f9;color:#64748b;cursor:not-allowed;border-color:#e2e8f0}.message-input::placeholder{color:#9ca3af}.send-button{width:3rem;height:3rem;border:none;border-radius:50%;background:linear-gradient(135deg,#16a34a,#15803d);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;flex-shrink:0;box-shadow:0 2px 8px #16a34a4d}.send-button:hover:not(:disabled){background:linear-gradient(135deg,#15803d,#166534);transform:translateY(-2px);box-shadow:0 4px 12px #16a34a66}.send-button:active:not(:disabled){transform:translateY(0)}.send-button:disabled{background:#9ca3af;cursor:not-allowed;transform:none;box-shadow:0 2px 4px #0000001a}@keyframes typing-bounce{0%,80%,to{transform:scale(.8);opacity:.5}40%{transform:scale(1);opacity:1}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}@media (max-width: 768px){.forestbot-messages{padding:.75rem;gap:.75rem}.forestbot-input{padding:.75rem}.input-container{gap:.5rem}.send-button{width:2.75rem;height:2.75rem}.message-input{min-height:45px;padding:.75rem;font-size:.875rem}}@media (max-width: 480px){.forestbot-messages,.forestbot-input{padding:.5rem}.send-button{width:2.5rem;height:2.5rem}.message-input{min-height:42px;padding:.5rem .75rem}}:root{--auth-white: #ffffff;--auth-red-light: #fee2e2;--auth-red-medium: #fca5a5;--auth-red: #ef4444;--auth-red-dark: #dc2626;--auth-gray: #6b7280;--auth-gray-light: #e5e7eb}.auth-loading{display:flex;justify-content:center;align-items:center;height:100%;width:100%;font-size:14px;color:#6b7280}.auth-error-simple{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background-color:var(--auth-white);border-radius:8px;border:1px solid var(--auth-red-medium);padding:16px;margin:8px;max-width:350px;width:calc(100% - 16px);height:auto;max-height:340px;overflow:auto}.auth-error-icon-simple{width:48px;height:48px;color:var(--auth-red);margin-bottom:12px}.auth-error-simple h2{font-size:18px;font-weight:600;color:var(--auth-red-dark);margin:0 0 8px}.auth-error-simple p{font-size:14px;color:var(--auth-gray);margin:0 0 12px}.auth-missing-params{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-bottom:12px}.auth-param-tag{display:inline-block;background-color:var(--auth-red-light);color:var(--auth-red-dark);border:1px solid var(--auth-red-medium);border-radius:4px;padding:4px 8px;font-size:12px;font-weight:500;font-family:monospace}.auth-help-text{font-size:12px;color:var(--auth-gray);background-color:var(--auth-gray-light);border-radius:4px;padding:8px;width:100%}.auth-error-clean{display:flex;flex-direction:column;align-items:center;background-color:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:20px;max-width:350px;margin:0 auto;box-shadow:0 1px 3px #0000000d;text-align:center}.auth-error-icon-circle{width:40px;height:40px;background-color:#fff;border:2px solid #e63946;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:12px}.auth-error-icon-circle span{color:#e63946;font-size:24px;font-weight:700;line-height:1}.auth-error-title{color:#e63946;font-size:18px;font-weight:600;margin:0 0 8px}.auth-error-message{color:#6b7280;font-size:14px;margin:0 0 12px}.auth-params-container{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-bottom:16px;width:100%}.auth-param-pill{background-color:#fde8e8;color:#e63946;border:1px solid #fecaca;border-radius:16px;padding:4px 12px;font-size:13px}.auth-help-message{background-color:#f3f4f6;color:#6b7280;font-size:13px;padding:10px;border-radius:4px;width:100%}@media (max-width: 350px){.auth-error-simple{padding:12px;margin:4px}.auth-error-icon-simple{width:36px;height:36px;margin-bottom:8px}.auth-error-simple h2{font-size:16px}.auth-error-simple p{font-size:12px}.auth-param-tag{padding:3px 6px;font-size:11px}.auth-help-text{font-size:11px;padding:6px}}@media (max-width: 380px){.auth-error-clean{padding:16px}.auth-error-icon-circle{width:36px;height:36px}.auth-error-title{font-size:16px}.auth-error-message{font-size:13px}.auth-param-pill{font-size:12px;padding:3px 10px}.auth-help-message{font-size:12px;padding:8px}}@media (min-width: 400px){.auth-error-simple{max-width:380px}}
