* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url("https://images.pexels.com/photos/1103970/pexels-photo-1103970.jpeg")
    no-repeat center center/cover;
}
/* Glass Card */
.register-box {
  width: 420px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 25px;
  padding: 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.register-box h2 {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
}

/* User Type Radio */
.user-type {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 14px;
}

.user-type label {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Inputs */
.input-box {
  margin-bottom: 18px;
  position: relative;
}
.input-box label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}
.input-box input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgb(255, 255, 255);
  color: #4d4949;
  outline: none;
}

.input-box input::placeholder {
  color: #4d4c4c;
}

/* Password Toggle */
.password-box span {
  position: absolute;
  right: 12px;
  top: 65%;
  font-size: 25px;
  transform: translateY(-50%);
  cursor: pointer;
}

/* Button */
.register-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: #0e3da2;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
}

.register-btn:hover {
  background: #0c8c7f;
}

.login-link {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
}

.login-link a {
  color: #fff;
  text-decoration: none;
}

.login-link a:hover {
  text-decoration: underline;
}

@media (max-width: 400px) {
  .register-box {
    width: 90%;
  }
}
