#chatbot-container {
position: fixed;
bottom: 20px;
left: 20px; 
width: 300px; 
height: 400px;
background-color: #ffffff;
border: none;
border-radius: 10px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
overflow: hidden;
display: none;
flex-direction: column;
z-index: 9000;
}
@media (max-width: 180px) {
#chatbot-container {
width: 90vw;
height: 70vh;
bottom: 10px;
left: 10px; 
right: auto; 
}
}
#chatbot-header {
background-color: #e76f51;
background-image: linear-gradient(to right, #e76f51, #f4a261);
color: white;
padding: 10px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
display: flex;
align-items: center;
justify-content: space-between;
}
#chatbot-header button {
background: none;
border: none;
color: white;
font-size: 1.2em;
cursor: pointer;
transition: transform 0.2s;
}
#chatbot-header button:hover {
transform: rotate(90deg);
}
#chatbot-body {
flex-grow: 1;
padding: 15px;
overflow-y: auto;
background-color: #fefae0; 
display: flex;
flex-direction: column;
}
.message {
padding: 8px 12px;
margin-bottom: 10px;
border-radius: 15px;
max-width: 80%;
word-wrap: break-word;
line-height: 1.4;
}
.user-message {
align-self: flex-end;
background-color: #e9c46a;
color: #264653;
border-bottom-right-radius: 2px;
}
.bot-message {
align-self: flex-start;
background-color: #2a9d8f; 
color: white;
border-bottom-left-radius: 2px;
}
.thinking-indicator {
align-self: flex-start;
background-color: #f7f7f7;
color: #333;
padding: 8px 12px;
border-radius: 15px;
max-width: 80%;
margin-bottom: 10px;
font-style: italic;
animation: pulse 1.5s infinite;
}
@keyframes pulse {
0% { opacity: 0.5; }
50% { opacity: 1; }
100% { opacity: 0.5; }
}
#chatbot-footer {
display: flex;
padding: 10px;
border-top: 1px solid #ccc;
background-color: #ffffff;
}
#chat-input {
flex-grow: 1;
padding: 8px;
border: 1px solid #ccc;
border-radius: 5px;
margin-right: 10px;
font-family: 'Inter', sans-serif;
outline: none;
transition: border-color 0.3s;
}
#chat-input:focus {
border-color: #e76f51;
}
#send-button, #voice-button {
border: none;
color: white;
cursor: pointer;
border-radius: 5px;
padding: 5px 8px;
width: 35px;
height: 35px;
display: flex;
align-items: center;
justify-content: center;
transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
font-size: 1.0em;
margin-left: 5px; 
}
#send-button {
background-color: #2a9d8f;
}
#send-button:hover {
background-color: #218579;
transform: scale(1.05);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
#voice-button {
background-color: #e76f51; 
}
#voice-button:hover {
background-color: #d16147;
transform: scale(1.05);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
#voice-button.listening {
background-color: #dc3545; 
transform: scale(1.1);
box-shadow: 0 0 0 5px rgba(220, 53, 69, 0.5); 
}
.creator-credit {
padding: 4px;
text-align: center;
font-size: 0.7em;
color: #666;
border-top: 1px solid #eee;
background-color: #f5f5f5;
}
#floating-button-sara {
position: fixed;
bottom: 30px;
left: 20px; 
background-color: #e76f51; 
width: 60px;
height: 60px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5em;
cursor: pointer;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
border: 3px solid white; 
z-index: 9001; 
transition: transform 0.2s, box-shadow 0.2s;
}
#floating-button-sara:hover {
transform: scale(1.05);
}
#sara-floating-icon {
width: 70px !important;
height: 70px !important;
object-fit: contain; 
border-radius: 50%; 
}
@keyframes pulse-sara {
0% {
transform: scale(1);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
70% {
transform: scale(1.08); 
box-shadow: 0 0 0 10px rgba(231, 111, 81, 0); 
}
100% {
transform: scale(1);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
}
.pulse {
animation: pulse-sara 2s infinite ease-in-out;
}
#floating-message-sara {
position: fixed;
bottom: 105px;
left: 40px; 
background-color: #2a9d8f;
color: white;
padding: 8px 12px;
border-radius: 15px 15px 15px 0px; 
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
font-size: 0.85em;
font-weight: 600;
opacity: 0; 
visibility: hidden;
transition: opacity 0.5s, visibility 0.5s, transform 0.5s;
transform: translateY(10px); 
z-index: 9002;
max-width: 200px;
text-align: center;
}
#floating-message-sara.show {
opacity: 1;
visibility: visible;
transform: translateY(0);
}