:root {
  --bg: #f6f8fb;
  --text: #1f2937;
  --muted: #6b7280;
  --card: #fff;
  --border: #e5e7eb;
  --primary: #2563eb;
  --success: #16a34a;
  --secondary: #6b7280;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.app-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 1rem;
}

.app-main { max-width: 520px; margin: 2rem auto; padding: 0 1rem; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}

h1,h2 { margin: 0 0 .5rem; }
.muted { color: var(--muted); margin: .25rem 0 1rem; }

.form-group { margin: .75rem 0 1rem; }
label { display: block; font-weight: 600; margin-bottom: .35rem; }
input {
  width: 100%;
  padding: .75rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
}
input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}

.actions { display: flex; gap: .5rem; margin-top: .5rem; }
.btn {
  padding: .7rem 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
.btn-primary { background: var(--primary); }
.btn-success { background: var(--success); }
.btn-secondary { background: var(--secondary); }

.details {
  background: #f3f4f6;
  border: 1px solid var(--border);
  padding: .75rem;
  border-radius: 8px;
  margin: .25rem 0 1rem;
  font-size: .95rem;
}

.toast {
  background: #dc2626;
  color: #fff;
  padding: .6rem .9rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
  background: #dc2626;
  color: #fff;
  padding: .6rem .9rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
  transform: translateX(-50%);
  background: #dc2626;
  color: #fff;
  padding: .6rem .9rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
