amadmateen's picture
Style: Overhaul visual layout to premium slate-blue with dynamic emerald/rose verdict status colors
c26f85e
Raw History Blame Contribute Delete
18.8 kB
/* SentinelReview AI: High-Impact Multimodal Dark Dashboard Stylesheet */
:root {
--bg-dark: #0e111a; /* Deep slate-blue/carbon background */
--panel-bg: #161925; /* Dark navy-charcoal cards */
--border-color: #2b3047; /* Slate-indigo border */
--border-focus: #4b547d; /* Focused state */
--text-primary: #ffffff; /* White text */
--text-secondary: #e2e8f0; /* Slate-100 */
--text-muted: #8b95b3; /* Muted slate-blue */
/* Core Accent: Electric Cyan-Blue */
--accent-blue: #2563eb;
--accent-cyan: #06b6d4;
--accent-glow: rgba(6, 182, 212, 0.15);
/* Verdict Colors (semantic verified / suspicious) */
--verified-primary: #10b981; /* Emerald-500 */
--verified-glow: rgba(16, 185, 129, 0.2);
--verified-card-bg: rgba(16, 185, 129, 0.04);
--verified-border: rgba(16, 185, 129, 0.3);
--suspicious-primary: #f43f5e; /* Rose-500 */
--suspicious-glow: rgba(244, 63, 94, 0.2);
--suspicious-card-bg: rgba(244, 63, 94, 0.04);
--suspicious-border: rgba(244, 63, 94, 0.3);
--font-sans: 'Inter', sans-serif;
--font-display: 'Bebas Neue', sans-serif;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: var(--bg-dark);
color: var(--text-primary);
font-family: var(--font-sans);
line-height: 1.5;
min-height: 100vh;
overflow-y: auto;
position: relative;
/* Soft cyan/blue guidelines vector background */
background-image:
linear-gradient(rgba(37, 99, 235, 0.02) 1px, transparent 1px),
linear-gradient(90deg, rgba(37, 99, 235, 0.02) 1px, transparent 1px);
background-size: 32px 32px;
}
.investigation-layout {
max-width: 1200px;
width: 90%;
margin: 3rem auto;
display: flex;
flex-direction: column;
gap: 2rem;
}
/* Header Banner */
.editorial-header {
background-color: var(--panel-bg);
border: 1px solid var(--border-color);
padding: 2.25rem;
border-radius: 12px;
position: relative;
overflow: hidden;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}
.editorial-header::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 3px;
background: linear-gradient(to right, var(--verified-primary), var(--accent-cyan), var(--suspicious-primary));
}
.header-ticker {
display: flex;
gap: 0.75rem;
font-size: 0.75rem;
font-weight: 700;
color: var(--text-muted);
letter-spacing: 0.1em;
margin-bottom: 0.5rem;
}
.ticker-item {
font-family: monospace;
}
.ticker-separator {
color: var(--accent-cyan);
}
.editorial-title {
font-family: var(--font-display);
font-size: 3.5rem;
font-weight: normal;
line-height: 1;
color: var(--text-primary);
letter-spacing: 0.05em;
margin: 0;
}
.editorial-title span {
color: var(--accent-cyan);
}
.editorial-subtitle {
font-family: var(--font-sans);
font-weight: 700;
font-size: 0.8rem;
color: var(--accent-cyan);
letter-spacing: 0.25em;
margin-top: 0.35rem;
}
/* Fault alert banner */
.editorial-alert {
background-color: rgba(244, 63, 94, 0.08);
border: 1px solid rgba(244, 63, 94, 0.25);
border-radius: 8px;
padding: 1rem 1.5rem;
display: flex;
align-items: center;
gap: 1rem;
font-size: 0.85rem;
color: #fecdd3;
}
.alert-icon {
background-color: var(--suspicious-primary);
color: white;
width: 20px;
height: 20px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
}
/* Two column layout grid */
.editorial-grid {
display: grid;
grid-template-columns: 1.1fr 0.9fr;
gap: 2rem;
align-items: start;
}
/* Submission Card & Panel Styling */
.editorial-panel {
background-color: var(--panel-bg);
border: 1px solid var(--border-color);
border-radius: 12px;
padding: 2.5rem;
position: relative;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
min-height: 540px;
display: flex;
flex-direction: column;
}
/* Graphic tabs */
.graphic-tab {
position: absolute;
top: -14px;
left: 24px;
background-color: #000000;
color: white;
border: 1px solid var(--border-color);
padding: 0.35rem 1.25rem;
display: flex;
align-items: center;
gap: 0.75rem;
transform: skewX(-12deg);
border-radius: 4px;
}
.tab-accent {
background-color: var(--accent-cyan);
border-color: var(--accent-cyan);
}
.tab-label {
font-family: var(--font-display);
font-size: 1rem;
letter-spacing: 0.05em;
transform: skewX(12deg);
color: white;
}
.tab-index {
font-family: monospace;
font-size: 0.85rem;
color: #e4e4e7;
transform: skewX(12deg);
}
/* Form block */
.input-block {
margin-bottom: 2rem;
}
.editorial-label {
display: block;
font-family: var(--font-display);
font-size: 1.15rem;
letter-spacing: 0.05em;
color: var(--text-primary);
margin-bottom: 0.65rem;
}
.text-input-wrapper {
border: 1px solid var(--border-color);
background-color: rgba(0, 0, 0, 0.3);
border-radius: 8px;
transition: all 0.2s ease;
}
.text-input-wrapper:focus-within {
border-color: var(--accent-cyan);
box-shadow: 0 0 0 3px var(--accent-glow);
}
textarea {
width: 100%;
background: transparent;
border: none;
outline: none;
padding: 1.25rem;
color: var(--text-primary);
font-family: var(--font-sans);
font-size: 0.95rem;
resize: none;
}
.char-counter {
font-family: monospace;
font-size: 0.75rem;
color: var(--text-muted);
padding: 0.35rem 0.75rem 0.5rem 0;
}
/* Image select area */
.drag-upload-container {
border: 2px dashed var(--border-color);
background-color: rgba(0, 0, 0, 0.3);
border-radius: 8px;
padding: 2.5rem 1.5rem;
text-align: center;
cursor: pointer;
position: relative;
transition: all 0.25s ease;
}
.drag-upload-container:hover, .drag-upload-container.dragover {
border-color: var(--accent-cyan);
background-color: rgba(6, 182, 212, 0.02);
}
.file-input-hidden {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
cursor: pointer;
z-index: 5;
}
.upload-icon {
font-size: 2rem;
display: block;
color: var(--text-muted);
margin-bottom: 0.5rem;
}
.prompt-text {
font-family: var(--font-sans);
font-size: 0.85rem;
color: var(--text-muted);
}
.prompt-text span {
color: var(--accent-cyan);
font-weight: 600;
}
.size-limit {
display: block;
font-family: monospace;
font-size: 0.7rem;
color: var(--text-muted);
margin-top: 0.25rem;
}
/* Image preview uploader */
.upload-preview {
position: relative;
z-index: 10;
}
#image-preview {
max-height: 160px;
max-width: 100%;
border: 1px solid var(--border-color);
border-radius: 6px;
display: block;
margin: 0 auto 0.75rem auto;
}
.btn-remove-evidence {
background-color: rgba(244, 63, 94, 0.08);
color: #fecdd3;
border: 1px solid rgba(244, 63, 94, 0.25);
font-family: var(--font-display);
font-size: 0.85rem;
padding: 0.4rem 1rem;
cursor: pointer;
border-radius: 4px;
transition: all 0.15s ease;
}
.btn-remove-evidence:hover {
background-color: var(--suspicious-primary);
color: white;
}
/* Submit Evidence Button */
.btn-submit {
width: 100%;
background: linear-gradient(135deg, var(--accent-blue) 0%, #1e40af 100%);
color: white;
font-family: var(--font-display);
font-size: 1.35rem;
letter-spacing: 0.05em;
padding: 1.1rem;
border: none;
border-radius: 8px;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
gap: 0.5rem;
margin-top: auto;
transition: all 0.25s cubic-bezier(0.19, 1, 0.22, 1);
box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}
.btn-submit:hover:not(:disabled) {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
background: linear-gradient(135deg, #1e40af 0%, #172554 100%);
}
.btn-submit:disabled {
background: var(--border-color);
color: var(--text-muted);
box-shadow: none;
cursor: not-allowed;
}
.btn-arrow {
font-size: 1.2rem;
}
/* Empty State */
.editorial-empty-state {
flex-grow: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
border: 1px dashed var(--border-color);
border-radius: 8px;
padding: 3rem 1.5rem;
color: var(--text-muted);
}
.empty-doodle {
font-size: 3rem;
margin-bottom: 0.75rem;
opacity: 0.3;
color: var(--accent-cyan);
}
.editorial-empty-state h3 {
font-family: var(--font-display);
font-size: 1.25rem;
letter-spacing: 0.05em;
color: var(--text-secondary);
margin-bottom: 0.5rem;
}
.editorial-empty-state p {
font-size: 0.85rem;
max-width: 280px;
}
/* Loader */
.editorial-loader {
flex-grow: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: 3rem 1.5rem;
position: relative;
overflow: hidden;
}
.loader-line {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 3px;
background: linear-gradient(to right, transparent, var(--accent-cyan), transparent);
box-shadow: 0 0 10px var(--accent-cyan);
animation: editorialScan 2s linear infinite;
}
@keyframes editorialScan {
0% { top: 0%; }
50% { top: 100%; }
100% { top: 0%; }
}
.spinner {
width: 36px;
height: 36px;
border: 3px solid var(--border-color);
border-top-color: var(--accent-cyan);
border-radius: 50%;
animation: spin 0.8s linear infinite;
margin-bottom: 1.5rem;
}
.editorial-loader h3 {
font-family: var(--font-display);
font-size: 1.25rem;
letter-spacing: 0.05em;
color: var(--text-primary);
margin-bottom: 0.25rem;
}
.editorial-loader p {
font-size: 0.85rem;
color: var(--text-muted);
max-width: 250px;
}
/* Report results panel */
.editorial-report-wrapper {
display: flex;
flex-direction: column;
gap: 1.5rem;
margin-top: 1rem;
animation: fadeIn 0.25s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
/* Verdict & Certainty display container */
.verdict-bar {
display: grid;
grid-template-columns: 1fr 1fr;
border: 1px solid var(--border-color);
background-color: rgba(0, 0, 0, 0.15);
border-radius: 8px;
overflow: hidden;
transition: all 0.3s ease;
}
.verdict-block, .certainty-block {
padding: 1.25rem;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.verdict-block {
border-right: 1px solid var(--border-color);
}
.mini-label {
font-family: var(--font-display);
font-size: 0.9rem;
letter-spacing: 0.05em;
color: var(--text-muted);
}
.verdict-badge {
display: inline-block;
padding: 0.5rem 1.25rem;
text-align: center;
font-family: var(--font-display);
font-size: 1.6rem;
letter-spacing: 0.05em;
border-radius: 6px;
text-transform: uppercase;
}
.certainty-indicator {
font-family: var(--font-display);
font-size: 2.25rem;
line-height: 1;
font-weight: bold;
}
/* Metadata profile grid */
.metadata-profile {
border: 1px solid var(--border-color);
background-color: rgba(0, 0, 0, 0.1);
border-radius: 8px;
overflow: hidden;
transition: all 0.3s ease;
}
.profile-header {
background-color: var(--border-color);
padding: 0.5rem 1.25rem;
}
.profile-header h3 {
font-family: var(--font-display);
font-size: 0.95rem;
letter-spacing: 0.05em;
color: var(--text-primary);
}
.profile-grid {
display: grid;
grid-template-columns: 1fr 1fr;
}
.profile-cell {
padding: 1.25rem;
border-bottom: 1px solid var(--border-color);
transition: all 0.2s ease;
}
.profile-cell:nth-child(odd) {
border-right: 1px solid var(--border-color);
}
.profile-cell:nth-last-child(-n+2) {
border-bottom: none;
}
.cell-title {
display: block;
font-family: var(--font-sans);
font-weight: 700;
font-size: 0.7rem;
color: var(--text-muted);
letter-spacing: 0.05em;
margin-bottom: 0.25rem;
}
.cell-val {
font-family: var(--font-display);
font-size: 1.5rem;
color: var(--text-primary);
}
/* Image Attachment Box */
.evidence-image-block {
border: 1px solid var(--border-color);
padding: 1.25rem;
background-color: rgba(0, 0, 0, 0.1);
border-radius: 8px;
transition: all 0.3s ease;
}
.evidence-image-frame {
margin-top: 0.75rem;
display: flex;
justify-content: center;
background-color: rgba(0, 0, 0, 0.2);
border: 1px solid var(--border-color);
border-radius: 6px;
padding: 1rem;
}
#result-image {
max-height: 180px;
max-width: 100%;
object-fit: contain;
}
/* Semantic evidence log card */
.evidence-log-card {
border: 1px solid var(--border-color);
background-color: rgba(0, 0, 0, 0.15);
border-radius: 8px;
overflow: hidden;
transition: all 0.3s ease;
}
.log-header {
display: flex;
justify-content: space-between;
align-items: center;
background-color: rgba(255, 255, 255, 0.02);
border-bottom: 1px solid var(--border-color);
padding: 0.75rem 1.25rem;
}
.evidence-log-card h3 {
font-family: var(--font-display);
font-size: 1rem;
letter-spacing: 0.05em;
color: var(--text-muted);
}
.btn-copy-log {
background: transparent;
border: none;
color: var(--accent-cyan);
font-family: var(--font-display);
font-size: 0.85rem;
cursor: pointer;
display: flex;
align-items: center;
gap: 0.25rem;
transition: color 0.15s ease;
}
.btn-copy-log:hover {
color: var(--text-primary);
}
.log-body-box {
padding: 1.5rem;
font-family: var(--font-sans);
font-size: 0.9rem;
line-height: 1.6;
color: var(--text-secondary);
background-color: rgba(0, 0, 0, 0.2);
}
/* ==========================================================================
DYNAMIC STATE VERDICTS (HIGH COLOR SATURATION VERDICTS RED / GREEN)
========================================================================== */
/* --- VERIFIED (GREEN) THEME --- */
.editorial-report-wrapper.status-verified .verdict-bar {
border-color: var(--verified-primary);
box-shadow: 0 0 20px var(--verified-glow);
background-color: rgba(16, 185, 129, 0.02);
}
.editorial-report-wrapper.status-verified .verdict-badge {
background-color: var(--verified-bg);
color: var(--verified-primary);
border: 2px solid var(--verified-primary);
box-shadow: 0 0 10px var(--verified-glow);
}
.editorial-report-wrapper.status-verified .certainty-indicator {
color: var(--verified-primary);
text-shadow: 0 0 8px var(--verified-glow);
}
.editorial-report-wrapper.status-verified .metadata-profile {
border-color: var(--verified-border);
box-shadow: 0 0 15px rgba(16, 185, 129, 0.05);
}
.editorial-report-wrapper.status-verified .profile-header {
background-color: var(--verified-primary);
}
.editorial-report-wrapper.status-verified .profile-header h3 {
color: #000000;
font-weight: 800;
}
.editorial-report-wrapper.status-verified .profile-cell {
border-color: var(--verified-border);
background-color: var(--verified-card-bg);
}
.editorial-report-wrapper.status-verified .cell-val {
color: var(--verified-primary);
}
.editorial-report-wrapper.status-verified .evidence-image-block {
border-color: var(--verified-border);
background-color: var(--verified-card-bg);
}
.editorial-report-wrapper.status-verified .evidence-image-frame {
border-color: var(--verified-border);
}
.editorial-report-wrapper.status-verified .evidence-log-card {
border-color: var(--verified-border);
}
.editorial-report-wrapper.status-verified .log-header {
border-bottom-color: var(--verified-border);
background-color: rgba(16, 185, 129, 0.08);
}
/* --- SUSPICIOUS (RED) THEME --- */
.editorial-report-wrapper.status-suspicious .verdict-bar {
border-color: var(--suspicious-primary);
box-shadow: 0 0 20px var(--suspicious-glow);
background-color: rgba(244, 63, 94, 0.02);
}
.editorial-report-wrapper.status-suspicious .verdict-badge {
background-color: var(--suspicious-bg);
color: var(--suspicious-primary);
border: 2px solid var(--suspicious-primary);
box-shadow: 0 0 10px var(--suspicious-glow);
}
.editorial-report-wrapper.status-suspicious .certainty-indicator {
color: var(--suspicious-primary);
text-shadow: 0 0 8px var(--suspicious-glow);
}
.editorial-report-wrapper.status-suspicious .metadata-profile {
border-color: var(--suspicious-border);
box-shadow: 0 0 15px rgba(244, 63, 94, 0.05);
}
.editorial-report-wrapper.status-suspicious .profile-header {
background-color: var(--suspicious-primary);
}
.editorial-report-wrapper.status-suspicious .profile-header h3 {
color: #ffffff;
font-weight: 800;
}
.editorial-report-wrapper.status-suspicious .profile-cell {
border-color: var(--suspicious-border);
background-color: var(--suspicious-card-bg);
}
.editorial-report-wrapper.status-suspicious .cell-val {
color: var(--suspicious-primary);
}
.editorial-report-wrapper.status-suspicious .evidence-image-block {
border-color: var(--suspicious-border);
background-color: var(--suspicious-card-bg);
}
.editorial-report-wrapper.status-suspicious .evidence-image-frame {
border-color: var(--suspicious-border);
}
.editorial-report-wrapper.status-suspicious .evidence-log-card {
border-color: var(--suspicious-border);
}
.editorial-report-wrapper.status-suspicious .log-header {
border-bottom-color: var(--suspicious-border);
background-color: rgba(244, 63, 94, 0.08);
}
/* Footer rules */
.editorial-footer {
border-top: 1px solid var(--border-color);
padding-top: 1.5rem;
text-align: center;
font-family: var(--font-display);
font-size: 0.85rem;
letter-spacing: 0.05em;
color: var(--text-muted);
margin-top: 2rem;
}
.editorial-footer p {
margin: 0.25rem 0;
}
/* Responsive adjust */
@media (max-width: 900px) {
.editorial-grid {
grid-template-columns: 1fr;
gap: 2.5rem;
}
.editorial-panel {
min-height: auto;
}
}
@media (max-width: 600px) {
.editorial-title {
font-size: 2.5rem;
}
.editorial-panel {
padding: 1.5rem;
}
}