* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #f7f7f7;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.5;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  max-width: 420px;
  width: 100%;
  padding: 32px;
}

h1 {
  margin: 0 0 16px 0;
  font-size: 20px;
  font-weight: 600;
}

.status {
  margin: 0 0 16px 0;
  color: #444;
  font-size: 14px;
}

.status.error { color: #b00020; }

.form { display: flex; flex-direction: column; }

label {
  margin-top: 12px;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 500;
  color: #333;
}

input[type="password"] {
  font-size: 16px;
  padding: 10px 12px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  outline: none;
}

input[type="password"]:focus {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.hint {
  margin: 8px 0 16px 0;
  font-size: 12px;
  color: #666;
}

button {
  margin-top: 8px;
  padding: 10px 16px;
  background: #111;
  color: #fff;
  border: 0;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.done {
  color: #0a6a2a;
  font-size: 15px;
  margin: 16px 0;
}

.footer {
  margin-top: 24px;
  text-align: center;
  font-size: 11px;
  color: #888;
}
