body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: linear-gradient(135deg, #e2e8f0, #f8fafc);
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
  min-height: 100vh;
}

form {
  margin-bottom: 30px;
  display: flex;
  gap: 10px;
}

.inp-recherche {
  padding: 12px 16px;
  border: 2px solid #d1d5db;
  border-radius: 10px;
  outline: none;
  font-size: 16px;
  transition: 0.3s;
  width: 250px;
}

.inp-recherche:focus {
  border-color: #0366d6;
  box-shadow: 0 0 8px rgba(3, 102, 214, 0.3);
}

button {
  padding: 12px 20px;
  background: #0366d6;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #024ea2;
}

.affichage {
  width: 100%;
  max-width: 450px;
}

.containers {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.containers:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.img_container img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 4px solid #0366d6;
  margin-bottom: 15px;
}

.nom {
  margin: 8px 0 3px;
  font-size: 24px;
  font-weight: bold;
  color: #24292e;
}

.username {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 10px;
}

.description {
  font-size: 15px;
  color: #4b5563;
  margin: 12px 0;
}

.stats {
  display: flex;
  justify-content: space-around;
  margin: 15px 0;
  font-size: 14px;
}

.stats div {
  background: #f3f4f6;
  padding: 10px;
  border-radius: 10px;
  flex: 1;
  margin: 0 5px;
}

.stats div strong {
  display: block;
  font-size: 16px;
  color: #0366d6;
}

.location {
  margin-top: 10px;
  font-size: 14px;
  color: #374151;
}

.link-profile {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 18px;
  background: #0366d6;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  transition: 0.3s;
}

.link-profile:hover {
  background: #024ea2;
}

.error {
  color: red;
  font-weight: bold;
  text-align: center;
  margin-top: 20px;
}