body {
    font-family: Arial, sans-serif;
    margin: 30px;
    background: #0f172a;
    color: #e5e7eb;
}

h1, h2, h3 {
    color: #f8fafc;
}

a {
    color: #5eead4;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.nav {
    background: #020617;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.nav a {
    color: #f8fafc;
    margin-right: 15px;
    font-weight: bold;
}

.card,
table {
    background: #111827;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.card {
    padding: 18px;
    margin-bottom: 20px;
    border: 1px solid #334155;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th {
    background: #020617;
    color: #f8fafc;
    text-align: left;
    position: sticky;
    top: 0;
}

th,
td {
    padding: 8px;
    border: 1px solid #374151;
}

tr:hover {
    background: #1e293b;
}

button {
    background: #0f766e;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
}

button:hover {
    background: #115e59;
}

input,
select,
textarea {
    background: #020617;
    color: #e5e7eb;
    border: 1px solid #475569;
    border-radius: 5px;
    padding: 7px;
}

code {
    background: #020617;
    padding: 2px 5px;
    border-radius: 4px;
    color: #93c5fd;
}

.badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: bold;
}

.badge-open {
    background: #14532d;
    color: #dcfce7;
}

.badge-closed {
    background: #374151;
    color: #f3f4f6;
}

.badge-archived,
.badge-infected {
    background: #7f1d1d;
    color: #fee2e2;
}

.badge-warning {
    background: #78350f;
    color: #fef3c7;
}

.badge-clean {
    background: #14532d;
    color: #dcfce7;
}

.row-infected {
    background: rgba(127, 29, 29, 0.35);
}

.row-warning {
    background: rgba(120, 53, 15, 0.35);
}

.row-closed {
    opacity: 0.7;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.stat-card {
    background: #111827;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #334155;
    box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    margin-top: 10px;
    color: #5eead4;
}

.evidence-table {
    table-layout: fixed;
    width: 100%;
}

.hash-short {
    font-family: monospace;
    font-size: 12px;
}

html,
body,
body.dark {
    background: #0f172a !important;
    color: #e5e7eb !important;
}

body .card,
body table,
body tr,
body td {
    background: #111827 !important;
    color: #e5e7eb !important;
}

body th {
    background: #020617 !important;
    color: #f8fafc !important;
}

body h1,
body h2,
body h3,
body p,
body strong,
body label {
    color: #e5e7eb !important;
}

#.top-brand img.top-logo,
#img.top-logo,
#.brand img {
#   width: 260px !important;
#    max-width: 260px !important;
#    min-width: 260px !important;
#    height: auto !important;
#    display: block !important;
#}



.top-brand-left img {
    display: block;
}


.user-info {
    color: #cbd5e1;
    font-size: 15px;
}

.layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 100vh;
}

.sidebar {
    background: #020617;
    border-right: 1px solid #334155;
    padding: 20px 0;
    border-radius: 8px;
}

.sidebar a {
    display: block;
    padding: 14px 28px;
    color: #e5e7eb !important;
    font-size: 17px;
}

.sidebar a:hover {
    background: #0f172a;
    text-decoration: none;
}

.sidebar a.active {
    background: linear-gradient(90deg, #0057d9, #00357a);
}

.main-content {
    padding: 24px 28px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 24px;
}

.big-stat-card {
    background: #111827;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 24px;
}

.big-stat-number {
    font-size: 42px;
    color: #f8fafc;
    font-weight: bold;
}

.two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.top-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #020617;
    border: 1px solid #0077ff;
    border-radius: 8px;
    padding: 14px 70px;
    min-height: 130px;
    margin-bottom: 0;
}

.top-brand-left {
    display: flex;
    align-items: center;
}

.top-logo {
    width: 620px !important;
    max-width: 620px !important;
    height: auto !important;
}

.top-brand-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    color: #cbd5e1;
}

.login-label {
    color: #94a3b8;
    margin-bottom: 4px;
}
.big-stat-card {
    background: linear-gradient(180deg, #111827, #0f172a);
    border: 1px solid #1d4ed8;
    border-radius: 10px;
    padding: 26px;
    box-shadow: 0 0 18px rgba(37, 99, 235, 0.18);
}

.big-stat-card h3 {
    color: #93c5fd !important;
    margin-top: 0;
}

.big-stat-number {
    color: #ffffff !important;
    font-size: 46px;
}

.main-content h1 {
    margin-top: 0;
}
.dashboard-panel {
    border: 1px solid #1e3a8a;
    overflow: hidden;
}

.panel-header {
    background: linear-gradient(90deg, #0f172a, #1e3a8a);
    padding: 14px 18px;
    border-bottom: 1px solid #334155;
}

.panel-header h2 {
    margin: 0;
    color: #dbeafe !important;
    font-size: 20px;
}

.dashboard-panel table {
    margin-top: 0;
}
.dashboard-panel th {
    background: #111827 !important;
}

.dashboard-panel tr:nth-child(even) {
    background: rgba(255,255,255,0.02);
}
.dashboard-panel td {
    vertical-align: middle;
}

.metric-good {
    color: #4ade80;
}

.metric-warning {
    color: #facc15;
}

.metric-danger {
    color: #f87171;
}
.sidebar {
    background: #020617;
    border-right: 1px solid #1e293b;
    padding-top: 18px;
    border-radius: 10px;
}

.sidebar a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    margin: 6px 12px;
    border-radius: 8px;
    color: #cbd5e1 !important;
    font-size: 16px;
    font-weight: 500;
    transition: 0.2s ease;
}

.sidebar a:hover {
    background: #0f172a;
    color: #ffffff !important;
    text-decoration: none;
}

.sidebar a.active {
    background: linear-gradient(90deg, #1d4ed8, #2563eb);
    color: white !important;
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.4);
}
.dashboard-title-row {
    margin-bottom: 24px;
}

.dashboard-title-row h1 {
    margin-bottom: 4px;
    font-size: 34px;
}

.dashboard-title-row p {
    color: #94a3b8 !important;
    margin-top: 0;
}
.action-bar {
    display: flex;
    gap: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.action-bar button {
    background: linear-gradient(90deg, #1d4ed8, #2563eb);
    border: none;
    padding: 12px 18px;
    border-radius: 8px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.action-bar button:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.4);
}
.stat-label {
    color: #93c5fd;
    font-size: 15px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-trend {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
}

.trend-good {
    color: #4ade80;
}

.trend-warning {
    color: #facc15;
}

.trend-danger {
    color: #f87171;
}
.dashboard-panel table td,
.dashboard-panel table th {
    padding: 12px 14px;
}
.main-content > h1:first-child {
    margin-top: 0;
}

.main-content {
    max-width: 1600px;
}

form {
    margin-bottom: 16px;
}

.card form:last-child {
    margin-bottom: 0;
}

.sidebar {
    min-height: calc(100vh - 180px);
}
.footer {
    margin-top: 30px;
    padding: 16px;
    text-align: center;
    color: #94a3b8;
    border-top: 1px solid #334155;
    font-size: 13px;
}
.progress-bar-outer {
    width: 100%;
    background: #1e293b;
    border-radius: 8px;
    overflow: hidden;
    height: 28px;
    margin-top: 10px;
    border: 1px solid #334155;
}

.progress-bar-inner {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #38bdf8);
    transition: width 0.2s ease;
}

#progressText {
    margin-top: 8px;
    font-weight: bold;
    color: #cbd5e1;
}

#uploadStatus {
    margin-top: 14px;
    font-weight: bold;
}
#uploadSpeed,
#uploadEta {
    margin-top: 6px;
    color: #94a3b8;
    font-size: 14px;
}
.drop-zone {
    border: 2px dashed #2563eb;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    color: #cbd5e1;
    background: #0f172a;
    cursor: pointer;
    transition: 0.2s ease;
}

.drop-zone:hover {
    background: #111827;
}

.drop-zone.dragover {
    background: #1e3a8a;
    border-color: #38bdf8;
}
