* { box-sizing: border-box; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  background: #0f172a;
  color: #e2e8f0;
  margin: 0;
  min-height: 100vh;
}
#app { max-width: 760px; margin: 0 auto; padding: 24px; }
h1, h2 { font-weight: 600; }
.card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
}
input, button {
  font-size: 15px;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #475569;
  background: #0f172a;
  color: #e2e8f0;
}
input { width: 100%; margin-bottom: 10px; }
button {
  cursor: pointer;
  background: #2563eb;
  border-color: #2563eb;
  color: white;
  font-weight: 600;
}
button:hover { background: #1d4ed8; }
button.secundar { background: transparent; border-color: #475569; color: #e2e8f0; }
.eroare { color: #f87171; margin: 8px 0; }
.lista-clienti { list-style: none; padding: 0; }
.lista-clienti li {
  padding: 10px;
  border-bottom: 1px solid #334155;
  cursor: pointer;
}
.lista-clienti li:hover { background: #273449; }
.top-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
pre.log {
  background: #020617;
  padding: 10px;
  border-radius: 6px;
  max-height: 320px;
  overflow-y: auto;
  white-space: pre-wrap;
  font-size: 13px;
}
.status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  margin-left: 8px;
}
.statistici-global {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.conturi-lista {
  list-style: none;
  margin: 14px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid #334155;
}
.cont-linie {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 14px;
}
.cont-linie strong { color: #60a5fa; }
.cont-curent { background: #273449; }
.cont-curent::after { content: "tu"; font-size: 11px; color: #94a3b8; }
.cont-neatribuit { color: #94a3b8; }
.cont-neatribuit strong { color: #94a3b8; }
.cont-suma { color: #94a3b8; }
.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat-valoare {
  font-size: 26px;
  font-weight: 600;
  color: #60a5fa;
  line-height: 1.1;
}
.stat-eticheta {
  font-size: 12px;
  color: #94a3b8;
}
.status-in_curs, .status-in_asteptare { background: #78350f; color: #fde68a; }
.status-succes { background: #14532d; color: #bbf7d0; }
.status-eroare { background: #7f1d1d; color: #fecaca; }
