#chat_app {
display: flex;
flex-direction: column;
}
#response-list {
border: none;
overflow-y: auto;
flex: 1;
}
#response-list .response-container {
margin-top: 5px;
color: #212121;
padding: 10px;
font-size: 1rem;
display: flex;
width: 90%;
margin-left: 5%;
border-radius: 18px;
margin-bottom: 1rem;
box-shadow: 0 3px 1px rgb(202 214 236);
}
.chatgpt-response {
background-color: #ebf2ff !important;
margin-right: 0;
margin-left: 10% !important;
}
.my-question {
background-color: #edf8ff;
margin-left: 0 !important;
}
#input-container {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px;
background-color: #e1eef0;
border-radius: 5px;
line-height: 1;
box-shadow: inset 1px 1px 2px 0px rgba(0, 0, 0, .2);
margin-top: 20px;
margin-top: 20px;
}
#submit-button {
background: transparent url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path fill='white' d='M2.01 21L23 12 2.01 3 2 10l15 2-15 2z'/></svg>") no-repeat center center;
color: white;
width: 40px;
height: 40px;
border: none;
border-radius: 5px;
cursor: pointer;
display: flex;
justify-content: flex-end;
}
#regenerate-button-container {
display: flex;
flex-direction: row;
justify-content: center;
margin-bottom: 10px;
}
#regenerate-response-button {
color: white;
border: none;
background: #10A37F;
border-radius: 4px;
padding: 10px 20px;
cursor: pointer;
}
.loading {
opacity: 0.5;
cursor: not-allowed;
pointer-events: none;
}
#model-select-container {
margin: 10px 200px;
color: white;
}
#model-select-container select {
background: transparent;
border: none;
outline: none;
color: white;
}
#model-select-container select option:not(:checked) {
background: rgba(32,33,35,.8);
}
#model-select-container select option {
background: rgba(32,33,35,.5);
}
#prompt-input {
flex-grow: 1;
padding: 10px;
border-radius: 5px;
min-height: 20px;
color: #49658b;
overflow: auto;
font-weight: 500;
}
#prompt-input:focus, #prompt-input:focus{
outline: none;
}
#response-list .response-container.chatgpt-response {
background-color: rgba(68, 70, 84, 1);
}
#response-list .response-container .prompt-content p:first-child {
margin-top: 0;
}
#response-list .response-container .avatar-image {
width: 30px;
height: 30px;
margin-right: 15px;
}
.loader {
width: 35px;
aspect-ratio: 2;
--_g: no-repeat radial-gradient(circle closest-side,#99b1de 90%,#0000);
background:
var(--_g) 0%   50%,
var(--_g) 50%  50%,
var(--_g) 100% 50%;
background-size: calc(100%/3) 50%;
animation: l3 1s infinite linear;
}
@keyframes l3 {
20%{background-position:0%   0%, 50%  50%,100%  50%}
40%{background-position:0% 100%, 50%   0%,100%  50%}
60%{background-position:0%  50%, 50% 100%,100%   0%}
80%{background-position:0%  50%, 50%  50%,100% 100%}
}
.ai_bt {
background-color: #392b3c;
padding: 5px 12px;
border-radius: 18px;
color: #fff; float: left;
font-size: .9rem;
margin: 0 .3rem .3rem 0;
line-height: 1.4;
}
.ai_bt:hover {
background-color: #0056b3;
color: #fff !important;
text-decoration: none !important;
}
.alert {
padding: 6px 12px;
border-radius: 20px;
float: left;
font-size: .9rem;
}
.dfai_table {
width: 100%;
border-collapse: collapse;
font-size: .92rem;
}
.dfai_table th, .dfai_table td {
border: 1px solid #ddd;
padding: 6px;
text-align: left;
}
.dfai_table th {
border-bottom-width: 3px;
}
.tblbt {
display: inline-block;
padding: 3px 12px;
font-size: 1rem;
line-height: 1;
border: solid 1px #ccc;
border-radius: 2rem;
}
.tblbt:hover {
background-color: #ccc;
color: #fff;
text-decoration: none;
}
@media (max-width: 600px) {
.dfai_table, .dfai_table thead, .dfai_table tbody, .dfai_table th, .dfai_table td, .dfai_table tr {
display: block;
}
.dfai_table thead {
display: none; }
.dfai_table tr {
margin-bottom: 15px;
}
.dfai_table td {
display: flex;
justify-content: space-between;
padding: 10px;
border-bottom: 1px solid #ddd;
}
.dfai_table td::before {
content: attr(data-label); font-weight: bold;
text-transform: uppercase;
}
}