.register-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  padding: 20px;
  background: linear-gradient(to right, #e0f0ff, #ffffff);
}

.register-form {
  background: #ffffff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 420px;
  text-align: center;
  transition: transform 0.3s ease;
}

.register-form:hover {
  transform: translateY(-3px);
}

.register-form h2 {
  color: #003087;
  margin-bottom: 28px;
  font-size: 28px;
  font-weight: 700;
}

.register-form input[type="text"],
.register-form input[type="email"],
.register-form input[type="tel"],
.register-form input[type="password"] {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 18px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

.register-form select {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 18px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 15px;
  color: #333;
  background-color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

.register-form input:hover,
.register-form select:hover {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

.register-form input:focus,
.register-form select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

.password-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 16px;
}

.password-wrapper input {
  width: 100%;
  padding: 12px 40px 12px 12px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 20px;
  color: #888;
  user-select: none;
}

.toggle-password:hover {
  color: #007bff;
}

.terms {
  display: flex;
  align-items: flex-start;
  font-size: 13px;
  margin-bottom: 20px;
  text-align: left;
  line-height: 1.5;
}

.terms input {
  margin: 2px 8px 0 0;
  transform: scale(1.1);
  accent-color: #007bff;
}

.terms a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.register-form button {
  width: 100%;
  padding: 14px;
  background-color: #007bff;
  border: none;
  color: white;
  font-weight: 600;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.register-form button:hover {
  transform: translateY(-1px);
  background: linear-gradient(to right, #0056d2, #004bbf);
}

.login-link {
  font-size: 13px;
  margin-top: 16px;
}

.login-link a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.login-link a:hover {
  color: #0056b3;
  text-decoration: underline;
}

@media (max-width: 480px) {
  .register-form {
    padding: 24px 20px;
    border-radius: 10px;
  }

  .register-form h2 {
    font-size: 22px;
  }

  .register-form button {
    font-size: 14px;
  }
}
