azlaan428
feat: Flask web UI + README
fe7e528
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #0a0a0f;
color: #e0e0e0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.container {
width: 100%;
max-width: 860px;
padding: 40px 24px;
}
header {
text-align: center;
margin-bottom: 48px;
}
header h1 {
font-size: 2.8rem;
font-weight: 700;
color: #00c896;
letter-spacing: 2px;
text-transform: uppercase;
}
header .subtitle {
font-size: 1rem;
color: #888;
margin-top: 8px;
letter-spacing: 1px;
}
.search-box {
display: flex;
flex-direction: column;
gap: 12px;
}
textarea {
width: 100%;
padding: 16px;
background: #12121a;
border: 1px solid #2a2a3a;
border-radius: 8px;
color: #e0e0e0;
font-size: 1rem;
resize: vertical;
outline: none;
transition: border-color 0.2s;
}
textarea:focus {
border-color: #00c896;
}
button {
align-self: flex-end;
padding: 12px 32px;
background: #00c896;
color: #0a0a0f;
border: none;
border-radius: 8px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: background 0.2s;
}
button:hover {
background: #00a87e;
}
button:disabled {
background: #2a2a3a;
color: #555;
cursor: not-allowed;
}
.status-bar {
display: flex;
align-items: center;
gap: 12px;
margin-top: 24px;
padding: 14px 18px;
background: #12121a;
border: 1px solid #2a2a3a;
border-radius: 8px;
font-size: 0.9rem;
color: #888;
}
.spinner {
width: 16px;
height: 16px;
border: 2px solid #2a2a3a;
border-top-color: #00c896;
border-radius: 50%;
animation: spin 0.8s linear infinite;
flex-shrink: 0;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
.response-box {
margin-top: 32px;
padding: 28px;
background: #12121a;
border: 1px solid #2a2a3a;
border-radius: 8px;
}
.response-box h2 {
font-size: 1rem;
color: #00c896;
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 16px;
}
#responseText {
font-size: 0.97rem;
line-height: 1.8;
color: #d0d0d0;
white-space: pre-wrap;
}
.hidden {
display: none;
}
footer {
text-align: center;
margin-top: 48px;
font-size: 0.8rem;
color: #444;
}
.disclaimer {
margin-top: 6px;
color: #555;
font-size: 0.75rem;
}