.chatbot-toggle-wrapper {
position: fixed;
bottom: 20px;
right: 20px;
display: flex;
align-items: center;
z-index: 1000;
pointer-events: none;
} .chatbot-toggle,
.chatbot-toggle-label {
pointer-events: auto;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
}
.chatbot-toggle {
width: 60px;
height: 60px;
background: linear-gradient(135deg, #C7A50D 0%, #ffdb3c 100%);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 4px 20px rgba(199, 165, 13, 0.5);
transition: all 0.3s ease;
z-index: 1000;
}
.chatbot-toggle:hover {
transform: scale(1.1);
box-shadow: 0 6px 25px rgba(199, 165, 13, 0.5);
}
.chatbot-toggle i {
color: white;
font-size: 24px;
}
.chatbot-toggle-label {
background: white;
color: #333;
font-size: 12px;
font-weight: 500;
padding: 12px 20px;
border-radius: 30px 30px 0px 30px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
margin-right: 15px;
transition: all 0.3s ease;
cursor: pointer;
white-space: nowrap;
}
.chatbot-toggle-wrapper.open .chatbot-toggle-label {
opacity: 0;
transform: translateX(10px);
} .chatbot-container {
position: fixed;
bottom: 90px;
right: 20px;
width: 400px;
height: 650px;
background: white;
border-radius: 30px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
display: flex;
flex-direction: column;
overflow: hidden;
transform: translateY(100px);
opacity: 0;
transition: all 0.3s ease;
z-index: 9999;
pointer-events: none; visibility: hidden; } .chatbot-container.show {
transform: translateY(0);
opacity: 1;
pointer-events: auto;
visibility: visible;
} .welcome-screen {
display: flex;
flex-direction: column;
height: 100%;
background: white;
position: relative;
}
.welcome-hero {
background: linear-gradient(135deg, #C7A50D 0%, #ffdb3c 100%);
border-radius: 20px;
margin: 20px;
padding: 30px 20px 140px 20px;
position: relative;
overflow: hidden;
}
.chatbot-widget-close-welcome {
position: absolute;
top: 20px;
right: 20px;
background: rgba(255, 255, 255, 0.3) !important;
border: 1px solid rgba(255, 255, 255, 0.5) !important;
color: white !important;
padding: 8px 16px !important;
border-radius: 20px !important;
cursor: pointer !important;
font-size: 14px !important;
font-weight: 500 !important;
z-index: 10;
line-height: 1.4 !important;
}
.Logo {
margin-bottom: 60px;
margin-top: -10px;
position: relative;
z-index: 1;
}
.avatar {
width: 90px;
}
.welcome-text h2 {
font-family: 'Raleway', sans-serif !important;
font-size: 24px !important;
font-weight: 600 !important;
margin-bottom: 10px;
line-height: 1.2;
background: linear-gradient(135deg, #fff 0%, #fff 30%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
color: transparent;
}
.welcome-text p {
font-family: 'Raleway', sans-serif !important;
font-size: 22px !important;
font-weight: 600 !important;
color: white;
line-height: 1.3;
margin-bottom: 0px;
}
.message-card {
background: white;
border-radius: 15px;
padding: 20px 20px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
display: flex;
align-items: center;
justify-content: space-between;
cursor: pointer;
transition: all 0.2s;
position: absolute;
left: 20px;
right: 20px;
bottom: 20px;
z-index: 1;
}
.message-info h3 {
font-size: 18px !important;
font-weight: 600 !important;
color: #333;
margin-bottom: 5px;
font-family: 'Raleway', sans-serif !important;
}
.message-info p {
font-size: 14px !important;
color: #999 !important;
margin-bottom: 0px !important;
}
.message-icon {
width: 40px;
height: 40px;
background: linear-gradient(135deg, #C7A50D 0%, #ffdb3c 100%);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 15px;
}
.bottom-nav {
display: flex;
justify-content: space-around;
padding: 20px;
border-top: 1px solid #f0f0f0;
margin-top: auto;
}
.nav-item {
display: flex;
flex-direction: column;
align-items: center;
gap: 5px;
cursor: pointer;
text-decoration: none;
}
.nav-item i {
font-size: 24px;
color: #999;
}
.nav-item span {
font-size: 12px;
color: #999;
font-weight: 500;
}
.nav-item.active i,
.nav-item.active span {
background: linear-gradient(135deg, #C7A50D 0%, #ffdb3c 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.chatbot-footer {
text-align: center;
padding: 15px;
background: linear-gradient(135deg, #ffe678 0%, #fff4c4 100%);
font-size: 12px;
color: #666;
width: 100%;
}
.chatbot-footer p {
margin: 0;
}
.chat-screen {
display: flex;
flex-direction: column;
height: 100%;
background: #F5F4F2;
}
.chatbot-header {
background: linear-gradient(135deg, #C7A50D 0%, #ffdb3c 100%);
color: white;
padding: 20px;
display: flex;
justify-content: space-between;
align-items: center;
border-radius: 30px 30px 0 0;
}
.chatbot-info {
display: flex;
align-items: center;
gap: 12px;
} .chatbot-widget-back-button,
.chatbot-widget-control-button {
width: 35px !important;
height: 35px !important;
min-width: 35px !important;
min-height: 35px !important;
aspect-ratio: 1/1 !important;
background: rgba(255, 255, 255, 0.2) !important;
border: none !important;
border-radius: 50% !important;
color: white !important;
cursor: pointer !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
padding: 0 !important;
line-height: 1 !important;
}
.chatbot-avatar {
width: 45px;
height: 45px;
border-radius: 50%;
border: 1px solid white;
position: relative;
}
.chatbot-details h3 {
font-size: 18px !important;
font-weight: 700 !important;
font-family: 'Raleway', sans-serif !important;
color: white !important;
margin-bottom: 2px;
}
.chat-subheader {
background: #f0f0f0;
padding: 15px 20px;
text-align: center;
font-size: 14px;
color: #999;
}
.chatbot-messages {
flex: 1;
padding: 20px;
overflow-y: auto;
background: #F5F4F2;
display: flex;
flex-direction: column;
gap: 15px;
}
.user-message,
.bot-message {
display: flex;
gap: 10px;
animation: messageSlide 0.3s ease;
}
@keyframes messageSlide {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.user-message {
flex-direction: row-reverse;
}
.message-avatar {
width: 40px;
height: 40px;
border-radius: 50%;
object-fit: cover;
flex-shrink: 0;
}
.message-content {
max-width: 70%;
padding: 16px 20px;
border-radius: 20px;
position: relative;
}
.bot-message .message-content {
background: white;
color: #333;
border-radius: 20px 20px 20px 0px;
}
.user-message .message-content {
background: linear-gradient(135deg, #C7A50D 0%, #ffdb3c 100%);
color: white;
border-radius: 20px 20px 0px 20px;
}
.message-time {
font-size: 12px;
opacity: 0.7;
margin-top: 8px;
display: block;
}
.typing-indicator {
padding: 0 20px 10px;
display: none;
align-items: center;
gap: 10px;
}
.typing-indicator.active {
display: flex;
}
.typing-text {
font-size: 14px;
color: #666;
font-style: italic;
}
.chatbot-input-container {
padding: 20px;
background: #F5F4F2;
border-top: 1px solid #e0e0e0;
}
.input-wrapper {
display: flex;
gap: 12px;
align-items: center;
background: #F5F4F2;
border-radius: 30px;
padding: 5px 5px 5px 20px;
border: 1px solid black;
}
#userMessage {
flex: 1;
border: none;
background: transparent;
padding: 12px 0;
font-size: 15px;
outline: none;
color: #333;
} .chatbot-widget-send-button {
width: 45px !important;
height: 45px !important;
min-width: 45px !important;
min-height: 45px !important;
aspect-ratio: 1/1 !important;
background: linear-gradient(135deg, #C7A50D 0%, #ffdb3c 100%) !important;
border: none !important;
border-radius: 50% !important;
color: white !important;
cursor: pointer !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
padding: 0 !important;
}
.chatbot-widget-send-button:disabled {
opacity: 0.5 !important;
cursor: not-allowed !important;
}
@media (max-width: 480px) {
.chatbot-container {
width: 90vw;
height: 75vh;
bottom: 90px;
right: 15px;
border-radius: 30px;
}
}