LSTM1 / static /css /style.css
d-e-e-k-11's picture
Upload folder using huggingface_hub
bde793d verified
:root {
--primary-color: #6366f1;
--primary-hover: #4f46e5;
--bg-dark: #0f172a;
--glass-bg: rgba(255, 255, 255, 0.05);
--glass-border: rgba(255, 255, 255, 0.1);
--text-main: #f8fafc;
--text-muted: #94a3b8;
--accent: #f43f5e;
--success: #10b981;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Inter', system-ui, -apple-system, sans-serif;
}
body {
background-color: var(--bg-dark);
color: var(--text-main);
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-image: radial-gradient(circle at 50% 50%, #1e293b 0%, #0f172a 100%);
}
.container {
width: 90%;
max-width: 800px;
padding: 2rem;
background: var(--glass-bg);
backdrop-filter: blur(12px);
border: 1px solid var(--glass-border);
border-radius: 24px;
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
animation: fadeIn 0.8s ease-out;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
h1 {
font-size: 2.5rem;
margin-bottom: 0.5rem;
background: linear-gradient(to right, #818cf8, #f472b6);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-align: center;
}
p.subtitle {
color: var(--text-muted);
text-align: center;
margin-bottom: 2.5rem;
}
.form-group {
margin-bottom: 1.5rem;
}
label {
display: block;
margin-bottom: 0.5rem;
font-weight: 500;
color: var(--text-main);
}
textarea,
input {
width: 100%;
padding: 1rem;
background: rgba(0, 0, 0, 0.2);
border: 1px solid var(--glass-border);
border-radius: 12px;
color: white;
font-size: 1rem;
transition: all 0.3s ease;
}
textarea:focus,
input:focus {
outline: none;
border-color: var(--primary-color);
box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}
button {
width: 100%;
padding: 1rem;
background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
border: none;
border-radius: 12px;
color: white;
font-weight: 600;
font-size: 1.1rem;
cursor: pointer;
transition: transform 0.2s, box-shadow 0.2s;
margin-top: 1rem;
}
button:hover {
transform: translateY(-2px);
box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}
button:active {
transform: translateY(0);
}
.result-container {
margin-top: 2rem;
padding: 1.5rem;
border-radius: 16px;
background: rgba(255, 255, 255, 0.03);
border: 1px dashed var(--glass-border);
display: none;
}
.result-header {
font-weight: 600;
margin-bottom: 0.5rem;
}
.score-badge {
display: inline-block;
padding: 0.5rem 1rem;
border-radius: 99px;
font-weight: 700;
margin-top: 0.5rem;
}
.score-good {
background: rgba(16, 185, 129, 0.2);
color: #10b981;
}
.score-bad {
background: rgba(244, 63, 94, 0.2);
color: #f43f5e;
}
.loader {
width: 24px;
height: 24px;
border: 3px solid #FFF;
border-bottom-color: transparent;
border-radius: 50%;
display: inline-block;
box-sizing: border-box;
animation: rotation 1s linear infinite;
display: none;
vertical-align: middle;
margin-right: 10px;
}
.tabs {
display: flex;
gap: 1rem;
margin-bottom: 2rem;
justify-content: center;
}
.tab {
padding: 0.75rem 1.5rem;
background: rgba(255, 255, 255, 0.05);
border-radius: 12px;
cursor: pointer;
transition: all 0.3s ease;
border: 1px solid var(--glass-border);
color: var(--text-muted);
}
.tab.active {
background: var(--primary-color);
color: white;
border-color: var(--primary-color);
}
.view {
display: none;
}
.view.active {
display: block;
}
.dashboard-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1.5rem;
margin-top: 1rem;
}
.stat-card {
background: rgba(255, 255, 255, 0.03);
padding: 1.5rem;
border-radius: 16px;
border: 1px solid var(--glass-border);
text-align: center;
}
.stat-value {
font-size: 1.5rem;
font-weight: 700;
margin-top: 0.5rem;
color: var(--primary-color);
}
.engine-list {
margin-top: 2rem;
}
.engine-item {
display: flex;
justify-content: space-between;
padding: 1rem;
border-bottom: 1px solid var(--glass-border);
}
.engine-item:last-child {
border-bottom: none;
}
@keyframes rotation {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}