/* NotMizel-AI — dark theme (palette dalla landing originale) */
:root {
  --bg: #0d0f14;
  --surface: #151923;
  --surface-2: #1c2230;
  --border: #2a3245;
  --text: #e8ecf4;
  --muted: #8b94a7;
  --accent: #8b5cf6;   /* viola */
  --accent-2: #22c55e; /* verde */
  --error: #ef4444;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.logo { font-weight: 700; font-size: 1.2rem; }
.logo .accent { color: var(--accent); }
.badge {
  font-size: .75rem; color: var(--accent-2);
  border: 1px solid var(--accent-2); border-radius: 999px;
  padding: 2px 10px;
}

main { max-width: 640px; margin: 0 auto; padding: 24px 16px 48px; }

.hero { padding: 32px 0 24px; }
.hero h1 { font-size: 1.8rem; line-height: 1.25; }
.hero .accent { color: var(--accent); }
.hero p { color: var(--muted); margin-top: 10px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}
.card-dim { background: var(--surface-2); }
.card h2 { font-size: 1.1rem; margin-bottom: 14px; }

.dropzone {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 32px 16px;
  cursor: pointer;
  transition: border-color .2s;
  text-align: center;
}
.dropzone:active, .dropzone:hover { border-color: var(--accent); }
.dropzone-icon { font-size: 2rem; }
.dropzone-text { font-weight: 600; }
.dropzone-hint { font-size: .8rem; color: var(--muted); }

.file-info { margin-top: 16px; }
.muted { color: var(--muted); }
.small { font-size: .8rem; }

.progress-wrap { margin-top: 16px; }
.progress-bar {
  height: 8px; background: var(--surface-2);
  border-radius: 999px; overflow: hidden;
}
#progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .15s;
}

.result { margin-top: 16px; }
.result-label { font-size: .8rem; color: var(--accent-2); font-weight: 700; }
.hash-output {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  margin: 8px 0;
  font-size: .78rem;
  word-break: break-all;
  color: var(--accent-2);
}

.error {
  margin-top: 12px; color: var(--error);
  font-size: .9rem;
}

.steps { padding-left: 20px; color: var(--muted); }
.steps strong { color: var(--text); }

footer { text-align: center; padding: 16px; }
footer .small, footer p { font-size: .75rem; }

.hidden { display: none; }

