241 lines
3.8 KiB
CSS
241 lines
3.8 KiB
CSS
:root {
|
|
--bg-color: #05070a;
|
|
--card-bg: rgba(255, 255, 255, 0.03);
|
|
--border-color: rgba(255, 255, 255, 0.1);
|
|
--accent-color: #38bdf8;
|
|
--text-primary: #f8fafc;
|
|
--text-secondary: #94a3b8;
|
|
--glass-blur: blur(12px);
|
|
--neon-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: "Outfit", sans-serif;
|
|
background-color: var(--bg-color);
|
|
color: var(--text-primary);
|
|
overflow-x: hidden;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
/* Background Animated Blobs */
|
|
.background-blobs {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: -1;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.blob {
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
filter: blur(80px);
|
|
opacity: 0.15;
|
|
animation: move 20s infinite alternate;
|
|
}
|
|
|
|
.blob-1 {
|
|
width: 400px;
|
|
height: 400px;
|
|
background: var(--accent-color);
|
|
top: -100px;
|
|
right: -100px;
|
|
}
|
|
|
|
.blob-2 {
|
|
width: 300px;
|
|
height: 300px;
|
|
background: #f43f5e;
|
|
bottom: -50px;
|
|
left: -50px;
|
|
animation-delay: -5s;
|
|
}
|
|
|
|
@keyframes move {
|
|
from {
|
|
transform: translate(0, 0);
|
|
}
|
|
to {
|
|
transform: translate(100px, 100px);
|
|
}
|
|
}
|
|
|
|
/* Dashboard Layout */
|
|
.dashboard {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 2rem;
|
|
}
|
|
|
|
header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2.5rem;
|
|
font-weight: 800;
|
|
letter-spacing: -1px;
|
|
}
|
|
|
|
.accent-text {
|
|
color: var(--accent-color);
|
|
text-shadow: var(--neon-shadow);
|
|
}
|
|
|
|
.status-badge {
|
|
background: rgba(34, 197, 94, 0.2);
|
|
color: #4ade80;
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 20px;
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
border: 1px solid rgba(34, 197, 94, 0.3);
|
|
}
|
|
|
|
.status-badge::before {
|
|
content: "";
|
|
width: 8px;
|
|
height: 8px;
|
|
background: #22c55e;
|
|
border-radius: 50%;
|
|
box-shadow: 0 0 10px #22c55e;
|
|
animation: pulse 2s infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0% {
|
|
opacity: 1;
|
|
}
|
|
50% {
|
|
opacity: 0.4;
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.main-grid {
|
|
display: grid;
|
|
grid-template-columns: 2fr 1fr;
|
|
gap: 2rem;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.main-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* Card Styling */
|
|
.card {
|
|
background: var(--card-bg);
|
|
backdrop-filter: var(--glass-blur);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 24px;
|
|
padding: 1.5rem;
|
|
transition:
|
|
transform 0.3s ease,
|
|
border-color 0.3s ease;
|
|
}
|
|
|
|
.card:hover {
|
|
border-color: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.card-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.card-header h2 {
|
|
font-size: 1.25rem;
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.timestamp,
|
|
.room-label {
|
|
font-size: 0.85rem;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
padding: 4px 12px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
/* Image styling */
|
|
.image-container {
|
|
width: 100%;
|
|
aspect-ratio: 16/9;
|
|
background: #000;
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
position: relative;
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
#latest-image {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
transition: opacity 0.5s ease;
|
|
}
|
|
|
|
.fallback-img {
|
|
opacity: 0.3;
|
|
}
|
|
|
|
/* Analysis Styling */
|
|
.analysis-content {
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border-radius: 16px;
|
|
padding: 1.5rem;
|
|
margin-bottom: 2rem;
|
|
min-height: 120px;
|
|
display: flex;
|
|
align-items: center;
|
|
border-left: 4px solid var(--accent-color);
|
|
}
|
|
|
|
#analysis-text {
|
|
font-size: 1.1rem;
|
|
line-height: 1.6;
|
|
font-style: italic;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.system-stats {
|
|
border-top: 1px solid var(--border-color);
|
|
padding-top: 1.5rem;
|
|
}
|
|
|
|
.stat {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.stat .label {
|
|
color: var(--text-secondary);
|
|
}
|
|
.stat .value {
|
|
font-weight: 600;
|
|
}
|
|
.stat .value.green {
|
|
color: #4ade80;
|
|
}
|