@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
body {
margin: 0;
padding: 0;
overflow: hidden;
font-family: Arial, sans-serif;
}
:root {
--primary-color: #211c84;
--secondary-color: #4d55cc;
--accent-color: #7a73d1;
}
* {
box-sizing: border-box;
}
main {
width: 100%;
height: 100vh;
background-color: ghostwhite;
position: relative;
}
.box,
.new,
.dynamic-dp {
cursor: pointer;
}
.chat-bot-header {
width: 100%;
height: 50px;
position: sticky;
top: 0;
padding: 10px;
display: grid;
grid-template-columns: 15% 70% 15%;
align-items: center;
box-sizing: border-box;
border-bottom: 1px solid silver;
justify-items: center;
background: white;
z-index: 10;
}
.chat-bot-header img {
width: 30px;
}
.chat-bot-header h6 {
margin: 0;
padding: 0;
text-align: center;
font-family: "Poppins", sans-serif;
font-weight: 800;
font-style: normal;
}
.chat-bot-header i {
font-size: 20px;
color: grey;
cursor: pointer;
}
#username {
font-size: 8px;
}
.usernameDiv {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
text-overflow: ellipsis;
margin: 0;
padding: 0;
line-height: 0.8;
text-align: center;
}
.chat-bot-body {
width: 100%;
height: calc(100vh - 50px);
position: relative;
display: flex;
justify-content: center;
align-items: flex-end;
padding: 5px;
box-sizing: border-box;
flex-direction: column;
}
#chat-interface {
width: 100%;
height: calc(100% - 10px);
position: relative;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
overflow-y: auto;
padding-bottom: 170px;
padding-top: 60px;
}
#logo-container {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.logo {
display: flex;
flex-direction: column;
gap: 10px;
text-align: center;
align-items: center;
}
.logo img {
width: 50px;
}
.box {
width: auto;
padding: 10px;
z-index: 10;
position: relative;
right: 0;
margin-left: auto;
height: 240px;
font-family: "Roboto", sans-serif;
font-weight: 800;
font-style: normal;
}
.input {
position: fixed;
bottom: 0;
background: white;
padding: 10px;
box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
z-index: 10;
width: 100%;
display: none;
justify-content: center;
align-items: center;
}
.box div {
padding: 10px 15px;
background: white;
border: 1px solid silver;
border-radius: 20px;
font-size: 14px;
cursor: pointer;
transition: 0.3s;
margin-bottom: 10px;
}
.box div:hover {
background-color: #f0f0f0;
}
.input span {
display: flex;
align-items: center;
width: 100%;
max-width: 400px;
position: relative;
margin: 10px 0;
}
.input input,
.input textarea {
width: 100%;
padding: 12px 100px 12px 16px;
border: 2px solid #007bff;
border-radius: 25px;
font-size: 16px;
color: #333;
background-color: #f9f9f9;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
outline: none;
margin: 0;
box-sizing: border-box;
}
.input textarea {
border-radius: 25px;
resize: none;
}
.input input:hover,
.input input:focus {
border-color: #0056b3;
box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
background-color: #fff;
}
textarea:hover,
textarea:focus {
border-color: #0056b3;
box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
background-color: #fff;
}
.input button {
position: absolute;
right: 4px;
top: 50%;
transform: translateY(-50%);
padding: 10px 20px;
border: none;
border-radius: 20px;
background-color: #007bff;
color: white;
font-size: 14px;
font-weight: bold;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
#desSubmit {
height: 90px;
border-radius: 20px;
}
.input button:hover {
background-color: #0056b3;
box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}
.input button:active {
background-color: #004080;
transform: translateY(-50%) scale(0.95);
}
.message-container {
width: 90%;
display: flex;
gap: 10px;
margin: 5px 0;
}
.left-message {
background-color: #e0f7fa;
padding: 10px;
border-radius: 10px;
width: auto;
max-width: 100%;
white-space: pre-wrap;
border-bottom-right-radius: 15px;
border-bottom-left-radius: 30px;
border-top-right-radius: 15px;
border-top-left-radius: 5px;
border: 1px solid silver;
font-weight: 450;
position: relative;
margin-left: 15px;
}
.left-message::before {
position: absolute;
content: "";
width: 25px;
height: 25px;
background-image: url('/assets/images/logo.png');
left: -30px;
top: 30%;
transform: translateY(-50%);
background-size: contain;
background-position: center;
border-radius: 50%;
z-index: 10;
margin-right: 5px;
background-repeat: no-repeat;
}
.right-message {
background-color: #c8e6c9;
padding: 10px;
border-radius: 10px;
text-align: right;
width: auto;
border-bottom-right-radius: 30px;
border-bottom-left-radius: 15px;
border-top-right-radius: 5px;
border-top-left-radius: 15px;
justify-content: flex-end;
margin-left: auto;
border: 1px solid silver;
font-weight: 450;
margin-right: 15px;
position: relative;
}
.right-message::before {
position: absolute;
content: "\F4D7";
font-family: "bootstrap-icons";
width: 25px;
height: 25px;
right: -30px;
top: 30%;
font-size: 23px;
transform: translateY(-50%);
border-radius: 50%;
z-index: 10;
}
.productsDivMain {
display: flex;
flex-direction: column;
}
.productsDivMain small {
font-size: 12px;
color: grey;
}
.productsDiv {
display: flex;
margin-top: 0;
margin-bottom: 10px;
gap: 5px;
}
.productsDiv img {
width: 50px;
border-radius: 10px;
}
#backTomain {
color: royalblue;
text-decoration: underline;
}
.dynamic-dp {
width: 30px;
height: 30px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
font-size: 14px;
color: #fff;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
font-family: Arial, sans-serif;
text-transform: uppercase;
transition: transform 0.2s ease-in-out;
text-shadow:
-0.5px -0.5px 0 silver,
0.5px -0.5px 0 silver,
-0.5px 0.5px 0 silver,
0.5px 0.5px 0 silver;
}
#new {
padding: 5px;
background: #272830;
border: 0.5px solid silver;
border-radius: 9px;
width: 60px;
height: 34px;
color: white;
font-size: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
display: none;
justify-content: center;
align-items: center;
position: fixed;
top: 6%;
z-index: 999;
}
.idea {
width: 40px;
}
.idea i {
font-size: 20px;
color: darkgoldenrod;
}
.right-header {
display: flex;
margin-right: 20px;
}
.tooltip .tooltip-inner {
background-color: var(--primary-color);
}
@media (min-width: 768px) {
#chat-interface {
padding: 0 25%;
padding-bottom: 10%;
}
.input {
width: 35%;
margin: auto;
background: none;
box-shadow: none;
}
}
.modal-body {
padding: 30px;
font-size: 1rem;
color: #333;
}
.modal-footer {
border-top: 2px solid #e0e0e0;
padding: 15px;
background-color: #F7F7F7;
display: flex;
justify-content: space-between;
border-radius: 0 0 15px 15px;
}
.modal-footer .btn {
border-radius: 20px;
padding: 10px 20px;
font-weight: bold;
transition: background-color 0.3s ease;
}
.modal-footer .btn-primary {
background-color: var(--secondary-color);
border: none;
}
.modal-footer .btn-primary:hover {
background-color: var(--accent-color);
}
.modal-footer .btn-secondary {
background-color: var(--secondary-color);
border: none;
}
.modal-footer .btn-secondary:hover {
background-color: var(--accent-color);
}