AISPY / static /css /style.css
dev
save final1
17dea08
Raw History Blame Contribute Delete
8.15 kB
:root {
--bg: #07111f;
--panel: rgba(10, 19, 35, 0.88);
--panel-strong: #0b1630;
--line: rgba(255, 255, 255, 0.08);
--text: #eaf2ff;
--muted: #9fb0cc;
--accent: #7c9cff;
--accent-2: #7ff2d8;
--danger: #ff6b8b;
--warning: #ffd166;
--success: #63e6be;
--shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}
* {
box-sizing: border-box;
}
html, body {
min-height: 100%;
}
body {
margin: 0;
font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
color: var(--text);
background:
radial-gradient(circle at top left, rgba(124, 156, 255, 0.22), transparent 30%),
radial-gradient(circle at top right, rgba(127, 242, 216, 0.16), transparent 24%),
linear-gradient(160deg, #050a14 0%, #09101d 52%, #060b15 100%);
}
a {
color: var(--accent-2);
text-decoration: none;
}
a:hover {
color: #9ef7e6;
}
.hidden {
display: none !important;
}
.app-shell {
color: var(--text);
}
.glass-nav {
background: rgba(5, 10, 20, 0.7);
backdrop-filter: blur(18px);
border-bottom: 1px solid var(--line);
}
.brand-badge {
display: inline-flex;
align-items: center;
justify-content: center;
width: 2rem;
height: 2rem;
border-radius: 0.7rem;
background: linear-gradient(135deg, var(--accent), var(--accent-2));
color: #06101c;
font-weight: 800;
}
.eyebrow {
text-transform: uppercase;
letter-spacing: 0.16em;
font-size: 0.72rem;
color: var(--muted);
margin-bottom: 0.6rem;
}
.panel,
.auth-panel,
.result-card {
background: linear-gradient(180deg, rgba(15, 25, 46, 0.92), rgba(8, 15, 28, 0.92));
border: 1px solid var(--line);
border-radius: 24px;
box-shadow: var(--shadow);
}
.panel {
padding: 1.5rem;
}
.dashboard-hero,
.auth-grid,
.report-grid,
.settings-grid {
display: grid;
gap: 1.5rem;
}
.dashboard-hero {
grid-template-columns: 1.4fr 1fr;
align-items: stretch;
margin-bottom: 1.5rem;
}
.dashboard-hero h1,
.auth-panel h1,
.report-shell h1 {
font-size: clamp(2rem, 4vw, 3.4rem);
line-height: 1.02;
margin-bottom: 1rem;
}
.hero-stats {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 1rem;
}
.stat-card {
padding: 1rem;
border-radius: 18px;
border: 1px solid var(--line);
background: rgba(255,255,255,0.03);
}
.stat-label {
display: block;
color: var(--muted);
font-size: 0.82rem;
margin-bottom: 0.45rem;
}
.stat-card strong {
font-size: 1.5rem;
}
.dashboard-grid,
.auth-grid,
.report-grid {
grid-template-columns: 1.35fr 0.85fr;
}
.panel-header,
.report-topline {
display: flex;
justify-content: space-between;
gap: 1rem;
align-items: start;
}
.chip,
.score-pill {
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 999px;
padding: 0.45rem 0.85rem;
border: 1px solid var(--line);
background: rgba(255,255,255,0.04);
color: var(--text);
font-weight: 600;
}
.analysis-form label,
.auth-form label {
color: var(--muted);
font-size: 0.9rem;
margin-bottom: 0.45rem;
}
.form-control,
.form-control:focus {
background: rgba(255,255,255,0.05);
color: var(--text);
border: 1px solid var(--line);
box-shadow: none;
}
.form-control::placeholder {
color: rgba(233, 241, 255, 0.44);
}
.btn {
border-radius: 14px;
font-weight: 700;
}
.btn-primary {
background: linear-gradient(135deg, var(--accent), #5a7dfd);
border: none;
}
.btn-outline-light,
.btn-outline-secondary,
.btn-outline-primary {
border-color: var(--line);
color: var(--text);
}
.btn-light {
background: rgba(255,255,255,0.92);
color: #09111f;
}
.upload-zone {
display: grid;
place-items: center;
text-align: center;
min-height: 190px;
padding: 1.2rem;
border-radius: 22px;
border: 1px dashed rgba(255,255,255,0.2);
background: rgba(255,255,255,0.03);
cursor: pointer;
transition: 0.2s ease;
}
.upload-zone:hover,
.upload-active {
transform: translateY(-2px);
background: rgba(127, 242, 216, 0.07);
border-color: rgba(127, 242, 216, 0.48);
}
.upload-icon {
width: 3rem;
height: 3rem;
display: grid;
place-items: center;
border-radius: 1rem;
margin: 0 auto 0.85rem;
background: linear-gradient(135deg, var(--accent), var(--accent-2));
color: #08101c;
font-weight: 900;
}
.analysis-loader {
display: flex;
align-items: center;
gap: 1rem;
margin-top: 1.25rem;
padding: 1rem;
border-radius: 18px;
background: rgba(255,255,255,0.03);
border: 1px solid var(--line);
}
.result-card {
padding: 1.25rem;
}
.score-pill {
min-width: 74px;
font-size: 1.05rem;
}
.source-links,
.source-list {
padding-left: 1.2rem;
margin: 0.8rem 0 0;
}
.source-links li,
.source-list li {
margin-bottom: 0.4rem;
}
.analysis-list {
display: grid;
gap: 0.75rem;
}
.analysis-item {
display: flex;
justify-content: space-between;
gap: 1rem;
align-items: center;
padding: 1rem;
border-radius: 18px;
background: rgba(255,255,255,0.03);
border: 1px solid var(--line);
color: var(--text);
}
.analysis-item:hover {
transform: translateY(-1px);
border-color: rgba(124, 156, 255, 0.45);
}
.analysis-title {
font-weight: 700;
}
.analysis-meta,
.text-secondary {
color: var(--muted) !important;
}
.analysis-score {
font-weight: 800;
color: var(--accent-2);
}
.empty-state {
padding: 2rem;
text-align: center;
color: var(--muted);
}
.auth-grid {
align-items: stretch;
min-height: calc(100vh - 140px);
}
.hero-panel,
.form-panel {
padding: 2rem;
}
.feature-list {
display: grid;
gap: 0.75rem;
margin-top: 1.5rem;
}
.feature-list div {
padding: 0.9rem 1rem;
border-radius: 14px;
background: rgba(255,255,255,0.03);
border: 1px solid var(--line);
}
.report-shell {
display: grid;
gap: 1.25rem;
}
.report-header-panel,
.report-main,
.report-side {
padding: 1.5rem;
}
.stamp-box {
text-align: right;
}
.stamp {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.9rem 1.15rem;
border-radius: 18px;
border: 1px solid var(--line);
background: rgba(255,255,255,0.04);
font-size: clamp(1rem, 2vw, 1.6rem);
font-weight: 900;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.confidence {
margin-top: 0.55rem;
color: var(--muted);
font-weight: 600;
}
.report-text {
white-space: pre-wrap;
color: var(--text);
background: rgba(255,255,255,0.03);
padding: 1rem;
border-radius: 16px;
border: 1px solid var(--line);
min-height: 400px;
font-family: inherit;
line-height: 1.7;
}
.summary-block {
margin-top: 1rem;
padding: 1rem;
border-radius: 16px;
background: rgba(255,255,255,0.03);
border: 1px solid var(--line);
}
.summary-block p {
margin-bottom: 0;
color: var(--muted);
}
table.table-dark {
--bs-table-bg: transparent;
--bs-table-striped-bg: rgba(255,255,255,0.03);
--bs-table-hover-bg: rgba(124, 156, 255, 0.08);
color: var(--text);
}
.table-responsive {
border-radius: 18px;
overflow: hidden;
}
@media (max-width: 992px) {
.dashboard-hero,
.dashboard-grid,
.auth-grid,
.report-grid {
grid-template-columns: 1fr;
}
.hero-stats {
grid-template-columns: 1fr;
}
.panel-header,
.report-topline {
flex-direction: column;
}
.stamp-box {
text-align: left;
}
}
@media print {
body {
background: #fff !important;
color: #000 !important;
}
.glass-nav,
.no-print,
.btn,
.navbar,
.panel-header .btn,
.report-side {
display: none !important;
}
.panel,
.auth-panel,
.result-card,
.report-text {
box-shadow: none !important;
background: #fff !important;
color: #000 !important;
border-color: #ddd !important;
}
}