:root {
  --bg: #0d1117;
  --text: #c9d1d9;
  --card: #161b22;
  --accent: #58a6ff;
  --danger: #f85149;
  --success: #2ea043;
  --input-bg: #0d1117;
  --input-border: #30363d;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container {
  max-width: 600px;
  margin: 40px auto;
  background: var(--card);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

h1 {
  margin-top: 0;
  font-weight: 600;
}

.tip {
  font-size: 14px;
  color: #8b949e;
  margin: 10px 0 20px;
}

.input-group input[type="password"],
.input-group input[type="text"] {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 6px;
  color: var(--text);
}

label {
  font-size: 14px;
  color: #999;
}

#strength-bar {
  width: 100%;
  height: 12px;
  background: #30363d;
  border-radius: 6px;
  margin-top: 10px;
}

#strength-fill {
  height: 100%;
  width: 0%;
  background-color: var(--danger);
  transition: width 0.3s ease-in-out, background-color 0.3s;
}

#strength-text {
  margin-top: 8px;
  font-weight: bold;
}

.checklist span {
  display: inline-block;
  margin: 10px 10px 0 0;
  font-size: 14px;
}

footer {
  margin-top: 30px;
  font-size: 13px;
  color: #8b949e;
}

.credit {
  text-align: center;
  font-size: 14px;
  margin-top: 20px;
  color: #8b949e;
}

.credit a {
  color: var(--accent);
  text-decoration: none;
  margin: 0 5px;
}

.credit a:hover {
  text-decoration: underline;
}
