:root {
  --bg: #0b1220;
  --card: #111a2e;
  --text: #e8eefc;
  --muted: #a6b2d7;
  --border: rgba(255, 255, 255, 0.12);
  --accent: #68d2ff;
  --danger: #ff6b6b;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: radial-gradient(1200px 600px at 50% -10%, rgba(104, 210, 255, 0.25), transparent),
    var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 8px 0 18px;
}

.title {
  font-size: 22px;
  font-weight: 700;
}

.subtitle {
  color: var(--muted);
  margin-top: 4px;
}

.card {
  background: rgba(17, 26, 46, 0.9);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  margin: 12px 0;
  backdrop-filter: blur(8px);
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 14px;
}

input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.18);
  color: var(--text);
}

button {
  background: var(--accent);
  color: #00111a;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 700;
}

button.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.muted {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}

.hidden {
  display: none !important;
}

.error {
  color: var(--danger);
  font-size: 13px;
  margin-top: 10px;
}

.progress-wrap {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  overflow: hidden;
  margin-top: 12px;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), rgba(104, 210, 255, 0.4));
  transition: width 120ms linear;
}

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

.table th,
.table td {
  text-align: right;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 6px;
  font-size: 14px;
}

@media (max-width: 720px) {
  .grid {
    grid-template-columns: 1fr;
  }
}


