body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto;
  background: #f4f6f5;
}

.bg {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(rgba(255,255,255,.55), rgba(255,255,255,.55));
}

.card {
  width: min(720px, 100%);
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
}

.hdr {
  text-align: center;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.row {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

input {
  flex: 1;
  padding: 14px;
  font-size: 16px;
}

button {
  padding: 14px;
  font-weight: bold;
  cursor: pointer;
}

.msg {
  text-align: center;
  font-weight: bold;
}

.msg.err { color: red; }
.msg.ok { color: green; }

.badge {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
  margin-bottom: 10px;
}

.badge.ok {
  background: #e6f4ea;
  color: #0a7a2f;
}

.badge.err {
  background: #fdeaea;
  color: #c01414;
}
