ashwinR's picture
Upload 75 files
f332108
raw
history blame
1.96 kB
.popup-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
display: flex;
justify-content: center;
align-items: center;
}
.popup-content {
width: 200px;
height: 200px;
background: white;
padding: 20px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
position: relative;
display: flex;
flex-direction: column;
}
textarea {
width: 90%;
height: 80px;
padding: 10px;
margin: 10px;
resize: none;
border-radius: 4px;
}
.send-btn {
align-self: center;
padding: 10px 20px;
margin: 10px;
cursor: pointer;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 4px;
}
.response {
flex: 1;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
overflow-y: auto;
margin: 10px;
}
/* Chatbox styles */
.chatbox {
width: 300px;
border: 1px solid #e0e0e0;
padding: 10px;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
margin-top: 20px;
}
.chat-input {
width: 100%;
padding: 8px;
border: 1px solid #e0e0e0;
border-radius: 4px;
margin-bottom: 10px;
}
.chat-send-btn {
display: block;
width: 100%;
padding: 8px;
border: none;
border-radius: 4px;
background-color: #007bff;
color: white;
cursor: pointer;
margin-bottom: 10px;
}
.chat-send-btn:hover {
background-color: #0056b3;
}
.response-box {
width: 100%;
padding: 15px;
border: 1px solid #e0e0e0;
border-radius: 4px;
height: 150px;
overflow-y: auto;
background-color: #f5f5f5;
}
/* For larger screens, you might want to adjust the chatbox width */
@media screen and (min-width: 768px) {
.chatbox {
width: 500px;
}
}
.close-popup {
position: absolute;
right: 10px;
top: 10px;
background: transparent;
border: none;
cursor: pointer;
}