.register-wrapper {
  max-width: 500px;
  margin: 50px auto;
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  backdrop-filter: blur(6px);
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.1);
  transition: box-shadow 0.5s ease;
}

.register-wrapper.success {
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.6); /* Green glow on success */
}

.register-wrapper h1 {
  text-align: center;
  margin-bottom: 20px;
}

.register-wrapper input,
.register-wrapper select {
  width: 100%;
  margin: 10px 0;
  padding: 12px;
  border: none;
  border-radius: 6px;
  background: #1b1b1b;
  color: white;
}

.register-wrapper button {
  width: 100%;
  padding: 12px;
  background: #ff0000;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.checkbox-group {
  margin: 15px 0;
  color: #fff;
  font-size: 14px;
}

.custom-checkbox {
  position: relative;
  padding-left: 25px;
  cursor: pointer;
  user-select: none;
  display: inline-block;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.custom-checkbox .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 18px;
  width: 18px;
  background-color: #111;
  border: 2px solid #fff;
  border-radius: 4px;
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: #ff0000;
  border-color: #ff0000;
}

.custom-checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

.custom-checkbox .checkmark:after {
  left: 6px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox a {
  font-weight: bold;
  color: #ff0000;
  text-decoration: none;
  margin-left: 4px;
}

.login-link {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #fff;
}

.login-link a {
  font-weight: bold;
  color: #ff0000;
  text-decoration: none;
  margin-left: 4px;
}

/* Password strength indicator */
.password-strength {
  height: 5px;
  width: 100%;
  background-color: #333;
  border-radius: 4px;
  margin-bottom: 15px;
  overflow: hidden;
}

.strength-bar {
  height: 100%;
  width: 0%;
  transition: width 0.3s ease-in-out;
}

/* Message box */
#register-message {
  display: none;
  margin-top: 15px;
  font-size: 14px;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
