body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #7b9ddd, #456bab);
  color: #fff;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.container {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  text-align: center;
  width: 90%;
  max-width: 400px;
}

h1 {
  margin-bottom: 20px;
  font-size: 24px;
}

.password-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 15px;
}

.password-wrapper input {
  width: 100%;
  padding: 10px 40px 10px 10px; /* Chừa khoảng bên phải cho icon 👁 */
  border: none;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
  box-sizing: border-box;
}

.eye-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

button {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background-color: #ffb400;
  color: #222;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

button:hover {
  background-color: #ffd56b;
}

.result {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.5;
}

#score {
  font-weight: bold;
  font-size: 18px;
}

#suggestions {
  margin-top: 10px;
  color: #eee;
}
.password-wrapper {
  position: relative;
  width: 100%;
}

.password-wrapper input {
  width: 100%;
  padding-right: 40px; /* để chừa chỗ cho icon 👁 */
}

.password-wrapper span {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 20px;
  color: #555;
}
.hub-icon {
  position: absolute;
  top: 15px;
  left: 20px;  /* Đổi từ right: 20px sang left: 20px */
  text-decoration: none;
  font-size: 24px;
  color: #fff;
  transition: transform 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.hub-icon:hover {
  transform: scale(1.2);
  color: #ffcc00;
}

.container {
  position: relative; /* Cho phép .hub-icon định vị bên trong */
}

