* {
  box-sizing: border-box;
  margin: 0; padding: 0;
  font-family: 'Poppins', sans-serif;
}

body, html {
  height: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  display: flex;
  width: 900px;
  height: 600px;
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.2);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}

/* Left side illustration */
.left {
  flex: 1;
  background: url('mobile.png') center/contain no-repeat;
  background-color: #f9f9f9;
  position: relative;
}
.left .person {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  user-select: none;
}

/* Right side form */
.right {
  flex: 1;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.right img {
  margin: 0 auto 40px;
  width: 40%;
  display: block;
}

.right h2 {
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 24px;
  color: #333;
}

label {
  font-weight: 500;
  font-size: 16px;
  color: #555;
  margin-bottom: 8px;
  display: block;
}

input[type="text"] {
  padding: 12px 14px;
  font-size: 16px;
  border: 2px solid #ddd;
  border-radius: 8px;
  width: 100%;
  margin-bottom: 20px;
  transition: border-color 0.3s ease;
}
input[type="text"]:focus {
  outline: none;
  border-color: #008000;
}

button {
  padding: 14px;
  background-color: #008000;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
button:disabled {
  background-color: #a5d6a7;
  cursor: not-allowed;
}
button:hover:not(:disabled) {
  background-color: #006400;
}

/* OTP Box */
#otpBox {
  display: none;
  margin-top: 20px;
}

/* Popup overlay */
#otpPopup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  width: 320px;
  max-width: 90vw;
  padding: 24px 30px;
  display: none;
  z-index: 1000;
  user-select: none;
}
#otpPopup .close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 22px;
  font-weight: 700;
  color: #888;
  cursor: pointer;
  transition: color 0.3s ease;
}
#otpPopup .close-btn:hover {
  color: #000;
}
#otpPopup p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #333;
}
#otpPopup button {
  background-color: #008000;
  width: 100%;
  padding: 14px;
  font-size: 16px;
  border-radius: 10px;
}

@media (max-width: 768px) {
  body, html {
    height: auto;
    align-items: flex-start;
    padding: 0;
    margin: 0;
  }

  .container {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none; /* Mobile pe shadow hatake clean view */
  }

  /* ✅ Left image full width */
  .left {
    width: 100%;
    height: 250px; /* Mobile ke liye fix height */
    background-size: cover; /* full fill kare */
    background-position: center;
  }

  /* Right form neeche full width */
  .right {
    padding: 25px 20px;
    width: 100%;
    background: #fff;
  }

  .right img {
    width: 120px;
    margin: 0 auto 20px;
    display: block;
  }

  .right h2 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 15px;
  }

  label {
    font-size: 14px;
  }

  input[type="text"] {
    font-size: 15px;
  }

  button {
    width: 100%;
    font-size: 15px;
  }

  #otpPopup {
    width: 90%;
    padding: 20px;
  }
}

