Subhakanta
Initial commit without data folder
4787e22
body {
font-family: Arial, sans-serif;
background: #f0f2f5;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.chat-container {
width: 400px;
background: #fff;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
display: flex;
flex-direction: column;
overflow: hidden;
}
.chat-container h2 {
background: #007bff;
color: white;
padding: 15px;
margin: 0;
text-align: center;
}
.chatbox {
flex: 1;
padding: 15px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 10px;
}
.message {
max-width: 75%;
padding: 10px 15px;
border-radius: 15px;
word-wrap: break-word;
}
.user {
align-self: flex-end;
background: #007bff;
color: white;
border-bottom-right-radius: 5px;
}
.bot {
align-self: flex-start;
background: #e4e6eb;
color: black;
border-bottom-left-radius: 5px;
}
.input-area {
display: flex;
padding: 10px;
border-top: 1px solid #ddd;
background: #fafafa;
}
.input-area input {
flex: 1;
padding: 10px;
border: 1px solid #ddd;
border-radius: 8px;
outline: none;
margin-right: 10px;
}
.input-area button {
padding: 10px 15px;
border: none;
border-radius: 8px;
background: #007bff;
color: white;
cursor: pointer;
}
.input-area button:hover {
background: #0056b3;
}