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

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #ffffff, #fff1e8);
}

.forgot-container {
  width: 90%;
  max-width: 550px;
  padding: 40px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 45px;
}

.logo img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.logo h1 {
  font-size: 38px;
  color: #000;
}

.logo h1 span {
  color: #ff5a0a;
}

.forgot-content {
  text-align: center;
}

.forgot-content h2 {
  font-size: 30px;
  margin-bottom: 25px;
  color: #111;
}

.description {
  color: #777;
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 35px;
}

.input-box {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid #ddd;
  border-radius: 9px;
  padding: 15px;
  margin-bottom: 22px;
  transition: 0.3s;
}

.input-box:focus-within {
  border-color: #ff5a0a;
  box-shadow: 0 0 5px rgba(255, 90, 10, 0.2);
}

.input-box span {
  font-size: 20px;
}

.input-box input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 17px;
  background: transparent;
  color: #333;
}

.input-box input::placeholder {
  color: #999;
}

/* Hide OTP textbox initially */
#otpBox[hidden] {
  display: none !important;
}

/* Display OTP textbox after OTP request */
#otpBox:not([hidden]) {
  display: flex !important;
}

button {
  width: 100%;
  padding: 15px;
  background: #ff5a0a;
  color: white;
  border: none;
  border-radius: 9px;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #e94b00;
}

button:disabled {
  background: #aaa;
  cursor: not-allowed;
}

#message {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.5;
}

.back-login {
  margin-top: 30px;
  font-size: 17px;
}

.back-login a {
  color: #ff5a0a;
  text-decoration: none;
  font-weight: bold;
}

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

@media (max-width: 600px) {
  .forgot-container {
    padding: 25px 20px;
  }

  .logo h1 {
    font-size: 32px;
  }

  .forgot-content h2 {
    font-size: 25px;
  }

  .description {
    font-size: 15px;
  }

  .input-box input {
    font-size: 15px;
  }
}
