body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: #0d1117;
  color: #c9d1d9;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 50px;
  margin: 0;
}
.container {
  width: 90%;
  max-width: 450px;
  text-align: center;
}
h1 {
  color: #f0f6fc;
  margin-bottom: 25px;
}

.search-box {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}
input {
  flex: 1;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #30363d;
  background-color: #161b22;
  color: white;
  outline: none;
}
input:focus {
  border-color: #58a6ff;
}

button {
  padding: 10px 20px;
  background-color: #238636;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}
button:hover {
  background-color: #2ea043;
}

#result {
  background-color: #161b22;
  border: 1px solid #30363d;
  border-radius: 12px;
  padding: 25px;
  display: none;
  transition: all 0.3s ease;
}
.avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid #30363d;
  margin-bottom: 15px;
}
h2 {
  margin: 10px 0 5px;
  color: #58a6ff;
}
.bio {
  color: #8b949e;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid #30363d;
  padding-top: 20px;
}
.stats div:not(:first-child) {
  margin-top: 10px;
}
.stat-item strong {
  display: block;
  color: white;
  font-size: 1.2rem;
}
.stat-item span {
  color: #8b949e;
  font-size: 0.8rem;
}
#repos-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
  justify-content: center;
}
#repos-list a {
  background-color: #21262d;
  color: #58a6ff;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid #30363d;
  text-decoration: none;
  font-size: 0.8rem;
  transition: 0.3s;
}

#repos-list a:hover {
  background-color: #30363d;
  border-color: #8b949e;
}

#error-msg {
  color: #f85149;
  margin-top: 10px;
  display: none;
}
