.luman-container {
  width: 100%;
  max-width: 410px;
  margin: auto;
}

.luman-form-card {
  background-color: #fff;
  padding: 42px 32px;
  border-radius: 15px;
  box-shadow: 0px 33px 126px 20px rgba(154, 168, 188, 0.06);
  text-align: center;
  position: relative;
}

.luman-logo-container {
  margin-bottom: 50px;
  text-align: center;
}
img.luman-icon-back {
  width: 20px;
}

.luman-logo {
  width: 180px;
  height: auto;
  display: block;
}

.luman-form-page {
}

.luman-form-page h2 {
  margin-bottom: 15px;
  color: #333;
  font-size: 19px;
  font-weight: 700;
  text-align: right;
}

.luman-form-page p {
  margin-bottom: 25px;
  color: #666;
  font-size: 12px;
  text-align: right;
  line-height: 1.5em;
}

.luman-input-group {
  margin-bottom: 20px;
  position: relative;
  text-align: right;
}

.luman-input-group input[type="text"],
.luman-input-group input[type="email"],
.luman-input-group input[type="password"] {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #e6eaf2;
  border-radius: 12px;
  font-size: 12px;
  text-align: right;
  transition: border-color 0.3s ease;
}

#luman-phone-number {
  direction: ltr;
  text-align: left;
  letter-spacing: 10px;
}

#luman-full-name,
#luman-email {
  padding-left: 50px;
}

#luman-full-name + .luman-input-icon,
#luman-email + .luman-input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  z-index: 2;
}

.luman-input-group input:focus {
  outline: none;
  border-color: #e80645;
}

.luman-input-group input::placeholder {
  color: #aaa;
}

.luman-otp-input-container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 25px;
  direction: ltr;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.luman-otp-input-container .luman-otp-input {
  width: 53px;
  height: 50px;
  text-align: center;
  font-size: 1.4em;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: border-color 0.3s ease;
}
.luman-otp-input-container .luman-otp-input:focus {
  outline: none;
  border-color: #e80645;
}

.luman-input-group .password-toggle-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #666;
  font-size: 1.2em;
  z-index: 2;
}

.luman-input-group.password-toggle-group input[type="text"],
.luman-input-group.password-toggle-group input[type="password"] {
  padding-left: 40px;
}

.luman-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, opacity 0.3s ease;
  text-align: center;
}

.luman-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.luman-btn.luman-primary {
  background-color: #e80645;
  color: #fff;
}

.luman-btn.luman-primary:hover:not(:disabled) {
  background-color: #c7053b;
}

.luman-btn.luman-link {
  display: flex;
  background: none;
  color: #212121;
  padding: 0px;
  font-size: 13px;
  font-weight: normal;
  width: auto;
  align-items: center;
  gap: 5px;
  min-height: 0px;
}

.luman-btn.luman-link:hover:not(:disabled) {
  color: #212121;
}

.luman-button-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.luman-button-group .luman-btn {
  width: 100%;
  margin-bottom: 10px;
}

#luman-page-otp .luman-button-group {
  justify-content: space-between;
}

#luman-page-otp .luman-button-group .luman-btn.luman-primary {
  width: 100%;
  margin-bottom: 0;
}
button#luman-btn-resend-otp .luman-input-icon,
button#luman-btn-password-login-from-otp .luman-input-icon {
  width: 20px;
  height: 20px;
}
button#luman-btn-resend-otp {
  display: flex;
  width: 100%;
  justify-content: center;
}
.luman-button-group-forget-password {
  display: flex;
  align-content: center;
  justify-content: flex-start;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
  align-items: flex-start;
}
.luman-btn.luman-link .luman-input-icon {
  width: 14px;
  height: 14px;
}
span.password-security {
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
span.password-security .luman-input-icon {
  width: 20px;
  height: 20px;
}
button#luman-btn-skip-register {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
#luman-page-otp .luman-button-group .luman-btn.luman-link {
  width: 35%;
  margin-left: 0;
  margin-bottom: 0;
  text-align: right;
}
.luman-button-group-password {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
button#luman-btn-password-login-from-otp {
  color: #212121;
  padding: 0px;
  display: flex;
  align-content: center;
  align-items: center;
  gap: 8px;
}
.luman-back-button {
  position: absolute;
  width: 32px;
  height: 32px;
  display: flex;
  top: 45px;
  margin: 0;
  left: 25px;
  right: auto;
  font-size: 1.8em;
  color: #666;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 10;
  align-content: center;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 10px 10px 5px rgb(199 199 199 / 10%);
  border-radius: 6px;
}
.luman-back-button:hover {
  color: #333;
}

.luman-password-strength-container {
  margin-top: 15px;
  margin-bottom: 20px;
}

.luman-password-strength-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.9em;
  color: #555;
}

.luman-strength-level {
  font-weight: bold;
}

.luman-password-strength-bar {
  width: 100%;
  height: 8px;
  background-color: #eee;
  border-radius: 4px;
  overflow: hidden;
}

.luman-password-strength-bar .luman-strength-bar {
  height: 100%;
  width: 0;
  background-color: red;
  transition: width 0.4s ease, background-color 0.4s ease;
  border-radius: 4px;
}

.luman-btn-generate-password {
  display: flex;
  width: auto;
  margin-top: 10px;
  padding: 8px 16px;
  border-radius: 10px;
  background: none;
  color: #212121;
  font-size: 0.9em;
  font-weight: normal;
  text-align: left;
  border: 1px solid #e6eaf2;
  cursor: pointer;
  align-content: center;
  align-items: center;
  gap: 5px;
  transition: background 0.3s ease-in-out;
}
button.luman-btn-generate-password .luman-input-icon {
  width: 18px;
  height: 18px;
}
.luman-btn-generate-password:hover {
  background: #f9f9f9;
}

#luman-otp-timer {
  font-size: 12px;
  font-weight: 500;
  color: #212121;
  margin-bottom: 15px;
  text-align: center;
}

#luman-otp-timer #luman-otp-timer-value {
  margin-left: 2px;
}

.luman-disclaimer-text {
  margin-top: 20px;
  font-size: 11px;
  font-weight: 500;
  color: #888;
  text-align: center;
}

@media (max-width: 480px) {
    body{
        padding: 0;
    }
  .luman-form-card {
    padding: 25px;
  }

  .luman-logo {
    width: 150px;
  }

  .luman-form-page h2 {
    font-size: 18px;
  }

  .luman-button-group {
    flex-direction: column;
    align-items: stretch;
    margin-top: 20px;
  }

  .luman-button-group .luman-btn,
  #luman-page-otp .luman-button-group .luman-btn.luman-primary,
  #luman-page-otp .luman-button-group .luman-btn.luman-link {
    width: 100%;
    margin-bottom: 10px;
    margin-left: 0;
    text-align: center;
  }

  .luman-back-button {
    top: 15px;
    left: 15px;
    right: auto;
    font-size: 1.5em;
  }
}

.luman-form-card.loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  z-index: 100;
}

@keyframes luman-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.luman-input-group .luman-input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #666;
  z-index: 2;
}

.luman-input-group input[type="email"],
.luman-input-group input[type="password"] {
  padding-left: 50px;
}
.luman-input-group input[type="text"] {
  padding-left: 50px;
}
