|
|
|
|
|
body { |
|
|
font-family: 'Georgia', serif; |
|
|
line-height: 1.6; |
|
|
margin: 0; |
|
|
padding: 0; |
|
|
background-color: #f9f7f2; |
|
|
color: #4a3c30; |
|
|
} |
|
|
|
|
|
|
|
|
section { |
|
|
background-color: #ffffff; |
|
|
border-radius: 16px; |
|
|
padding: 25px; |
|
|
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); |
|
|
margin: 25px 0; |
|
|
border: 2px solid #d1a76c; |
|
|
} |
|
|
|
|
|
|
|
|
h2 { |
|
|
font-family: 'Times New Roman', serif; |
|
|
color: #8c6b3a; |
|
|
text-align: center; |
|
|
margin-bottom: 20px; |
|
|
text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.6); |
|
|
} |
|
|
|
|
|
h1 { |
|
|
padding: 1.5rem; |
|
|
} |
|
|
|
|
|
|
|
|
ul { |
|
|
list-style-type: none; |
|
|
padding: 0; |
|
|
} |
|
|
|
|
|
ul li { |
|
|
padding: 12px; |
|
|
border-bottom: 1px solid #d1a76c; |
|
|
} |
|
|
|
|
|
ul li:last-child { |
|
|
border-bottom: none; |
|
|
} |
|
|
|
|
|
|
|
|
button, |
|
|
input, |
|
|
select { |
|
|
width: calc(100% - 30px); |
|
|
padding: 12px; |
|
|
margin-top: 10px; |
|
|
border-radius: 8px; |
|
|
border: 1px solid #d1a76c; |
|
|
} |
|
|
|
|
|
button { |
|
|
background-color: #8c6b3a; |
|
|
color: white; |
|
|
cursor: pointer; |
|
|
transition: background-color 0.3s ease, transform 0.2s ease; |
|
|
} |
|
|
|
|
|
button:hover { |
|
|
background-color: #704d28; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
.sentiment { |
|
|
font-size: 18px; |
|
|
margin-top: 15px; |
|
|
} |
|
|
|
|
|
|
|
|
footer { |
|
|
text-align: center; |
|
|
padding: 20px; |
|
|
background-color: #8c6b3a; |
|
|
color: white; |
|
|
} |
|
|
|
|
|
|
|
|
@media (max-width: 768px) { |
|
|
button, |
|
|
input, |
|
|
select { |
|
|
width: calc(100% - 20px); |
|
|
margin-top: 5px; |
|
|
padding-left: 10px; |
|
|
padding-right: 10px; |
|
|
font-size: 14px; |
|
|
} |
|
|
|
|
|
h2 { |
|
|
font-size: 26px; |
|
|
margin-bottom: 15px; |
|
|
} |
|
|
} |
|
|
|
|
|
header { |
|
|
background-color: #f9c74f; |
|
|
padding: 30px; |
|
|
text-align: center; |
|
|
} |
|
|
|
|
|
main { |
|
|
padding: 25px; |
|
|
} |
|
|
|
|
|
h1, h2 { |
|
|
color:#333; |
|
|
text-shadow:none; |
|
|
} |
|
|
|
|
|
|
|
|
#chatContainer { |
|
|
max-width :100% ; |
|
|
margin:auto ; |
|
|
background:white ; |
|
|
border-radius:.5rem ; |
|
|
box-shadow:.2rem .2rem .5rem rgba(0,0,0,.1) ; |
|
|
padding:.5rem |
|
|
} |
|
|
|
|
|
.message { |
|
|
margin-bottom :1rem ; |
|
|
} |
|
|
|
|
|
.user-message { |
|
|
text-align:right ; |
|
|
color:#007bff ; |
|
|
} |
|
|
.ai-message { |
|
|
text-align:left ; |
|
|
color:#28a745 ; |
|
|
} |
|
|
#promptContainer { |
|
|
display:flex ; |
|
|
} |
|
|
.prompt-option { |
|
|
padding:.5rem ; |
|
|
border-radius:.5rem ; |
|
|
} |
|
|
.prompt-option:hover { |
|
|
} |
|
|
select,input[type="text"],button { |
|
|
width :calc(100% - .5rem) ; |
|
|
padding:.5rem ; |
|
|
margin-top:.5rem ; |
|
|
border-radius:.5rem ; |
|
|
|
|
|
} |
|
|
#console-output { |
|
|
|
|
|
border-top:.1rem solid #ccc ; |
|
|
|
|
|
padding-top:.5rem ; |
|
|
|
|
|
margin-top:.5rem ; |
|
|
|
|
|
display:none; |
|
|
|
|
|
} |
|
|
#apiKeyInput,#aiSelect { |
|
|
|
|
|
width :0 !important ; |
|
|
|
|
|
height :0 !important ; |
|
|
|
|
|
visibility:hidden ; |
|
|
|
|
|
position:absolute ; |
|
|
|
|
|
top :0; |
|
|
|
|
|
} |
|
|
#consentModal { |
|
|
display: none; |
|
|
} |