112 lines
1.9 KiB
CSS
112 lines
1.9 KiB
CSS
/* Base styling */
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
background: #0e0e10;
|
|
color: #f0f0f0;
|
|
margin: 0;
|
|
padding: 2rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
/* Title */
|
|
.title {
|
|
font-size: 2rem;
|
|
font-weight: bold;
|
|
color: #00ffd5;
|
|
margin-bottom: 1.5rem;
|
|
text-shadow: 0 0 10px rgba(0, 255, 213, 0.7);
|
|
}
|
|
|
|
/* Form / Textarea */
|
|
.form {
|
|
width: 100%;
|
|
max-width: 700px;
|
|
min-height: 150px;
|
|
background: #1c1c1f;
|
|
border: 1px solid #333;
|
|
border-radius: 10px;
|
|
padding: 1rem;
|
|
color: #fff;
|
|
font-size: 1rem;
|
|
resize: vertical;
|
|
transition: border 0.3s ease, box-shadow 0.3s ease;
|
|
}
|
|
|
|
.form:focus {
|
|
outline: none;
|
|
border-color: #00ffd5;
|
|
box-shadow: 0 0 12px #00ffd5aa;
|
|
}
|
|
|
|
/* Submit Button */
|
|
.button {
|
|
background: linear-gradient(to right, #00ffd5, #007cff);
|
|
color: #000;
|
|
border: none;
|
|
padding: 0.75rem 1.5rem;
|
|
border-radius: 8px;
|
|
font-weight: bold;
|
|
font-size: 1rem;
|
|
cursor: pointer;
|
|
margin-top: 1rem;
|
|
transition: transform 0.2s ease, box-shadow 0.3s ease;
|
|
}
|
|
|
|
.button:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 15px rgba(0, 255, 213, 0.3);
|
|
}
|
|
|
|
.button:disabled {
|
|
background: #444;
|
|
color: #aaa;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* Status Indicator */
|
|
.status {
|
|
margin-top: 1rem;
|
|
font-size: 0.9rem;
|
|
font-style: italic;
|
|
color: #888;
|
|
}
|
|
|
|
.status.loading {
|
|
color: #ffc107;
|
|
}
|
|
|
|
.status.generate {
|
|
color: #00bcd4;
|
|
}
|
|
|
|
.status.done {
|
|
color: #4caf50;
|
|
}
|
|
|
|
/* Response Output */
|
|
.response {
|
|
width: 100%;
|
|
max-width: 700px;
|
|
background: #121212;
|
|
border-left: 4px solid #00ffd5;
|
|
border-radius: 8px;
|
|
margin-top: 1.5rem;
|
|
padding: 1rem;
|
|
white-space: pre-wrap;
|
|
font-family: 'Courier New', Courier, monospace;
|
|
line-height: 1.6;
|
|
box-shadow: 0 0 12px rgba(0, 255, 213, 0.05);
|
|
}
|
|
|
|
@keyframes blink {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.2; }
|
|
}
|
|
|
|
.status.loading::after {
|
|
content: " ⏳";
|
|
animation: blink 1s infinite;
|
|
}
|