* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #f6f8fb;
  height: 100vh;
}

.register-container {
  display: flex;
  height: 100vh;
}

.register-image {
  width: 60%;
}

.register-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.register-form {
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
}

.form-box {
  width: 85%;
  max-width: 450px;
}

h2 {
  font-size: 28px;
  color: #333;
}

.subtitle {
  font-size: 14px;
  color: #777;
  margin-bottom: 25px;
}

/* Form Steps */
.form-step {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.form-step.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.input-group {
  margin-bottom: 18px;
  position: relative;
}

label {
  font-size: 14px;
  color: #333;
  display: block;
  margin-bottom: 6px;
}

input {
  width: 100%;
  padding: 12px 40px 12px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  transition: 0.3s;
}

input:focus {
  border-color: #0066cc;
  box-shadow: 0 0 4px rgba(0, 102, 204, 0.3);
  outline: none;
}

/* Dropdown */
.dropdown-container {
  position: relative;
}

.dropdown-arrow {
  position: absolute;
  right: 12px;
  top: 38px;
  color: #777;
  pointer-events: none;
}

.dropdown-menu {
  position: absolute;
  top: 105%;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: none;
  z-index: 100;
  max-height: 150px;
  overflow-y: auto;
}

.dropdown-menu.active {
  display: block;
}

.dropdown-menu li {
  padding: 10px 15px;
  cursor: pointer;
  transition: 0.2s;
}

.dropdown-menu li:hover {
  background: #f0f0f0;
}

/* Password Toggle */
.password-group i {
  position: absolute;
  right: 12px;
  top: 38px;
  cursor: pointer;
  color: #777;
}

/* Buttons */
.btn-next,
.btn-prev,
.btn-register {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-next {
  background-color: #0066cc;
  color: white;
}

.btn-next:hover {
  background-color: #004c99;
}

.btn-prev {
  background-color: #ccc;
  color: #333;
}

.btn-prev:hover {
  background-color: #bbb;
}

.btn-register {
  background-color: #0066cc;
  color: white;
}

.btn-register:hover {
  background-color: #004c99;
}

.button-group {
  display: flex;
  gap: 10px;
}

.login-link {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
}

.login-link a {
  color: #0066cc;
  text-decoration: none;
}

.login-link a:hover {
  text-decoration: underline;
}

/* Responsive */
@media screen and (max-width: 900px) {
  .register-container {
    flex-direction: column;
  }

  .register-image {
    width: 100%;
    height: 35vh;
  }

  .register-form {
    width: 100%;
    height: 65vh;
  }

  .form-box {
    width: 90%;
  }
}
