File size: 4,087 Bytes
c922e1f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
/* General Styles */
body {
    font-family: 'Georgia', serif; /* Classic serif font for elegance */
    line-height: 1.6; /* Improved readability */
    margin: 0;
    padding: 0;
    background-color: #f9f7f2; /* Soft light beige background for warmth */
    color: #4a3c30; /* Dark brown text for a warm, earthy feel */
}

/* Section Styles */
section {
    background-color: #ffffff; /* White background for sections */
    border-radius: 16px; /* More pronounced rounded corners */
    padding: 25px; /* Increased padding for spaciousness */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); /* Enhanced shadow for depth */
    margin: 25px 0; /* More space between sections */
    border: 2px solid #d1a76c; /* Goldish border for richness */
}

/* Headings */
h2 {
    font-family: 'Times New Roman', serif; /* Elegant font for headings */
    color: #8c6b3a; /* Rich gold color for headings */
    text-align: center; /* Centered headings for emphasis */
    margin-bottom: 20px; /* Increased space below headings */
    text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.6); /* Soft shadow for depth */
}

h1 {
    padding: 1.5rem;
}

/* Lists and Items */
ul {
    list-style-type: none; /* Remove default list styling */
    padding: 0; /* Remove padding from the list */
}

ul li {
    padding: 12px; /* Increased padding for better touch target */
    border-bottom: 1px solid #d1a76c; /* Decorative line between items */
}

ul li:last-child {
    border-bottom: none; /* Remove border from last item */
}

/* Buttons and Inputs */
button,
input,
select {
    width: calc(100% - 30px); /* Full width minus padding and margin adjustments */
    padding: 12px; /* Increased padding inside inputs/buttons */
    margin-top: 10px; /* Increased space above inputs/buttons */
    border-radius: 8px; /* Rounded corners for inputs/buttons */
    border: 1px solid #d1a76c; /* Goldish border for inputs/buttons */
}

button {
    background-color: #8c6b3a; /* Rich gold color for buttons */
    color: white; /* White text color for contrast */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transition effects */
}

button:hover {
    background-color: #704d28; /* Darker shade on hover for buttons 
    transform: scale(1.05); /* Slightly enlarge button on hover for emphasis */
}

/* Sentiment Section Styles*/
.sentiment {
    font-size: 18px;
    margin-top: 15px;
}

/* Footer Styles*/
footer {
    text-align: center;
    padding: 20px;
    background-color: #8c6b3a; /* Rich gold footer background */
    color: white;
}

/* Responsive Design Adjustments */
@media (max-width: 768px) {
    button,
    input,
    select {
        width: calc(100% - 20px); /* Adjust width for smaller screens */
        margin-top: 5px;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 14px; /* Smaller font size on mobile devices */
    }

    h2 {
        font-size: 26px; /* Slightly larger heading size on mobile devices */
        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;
}