/* OTP Input Widget */
.inapem-otp-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  font-family: "Poppins", Sans-serif;
}

.elementor-align-center .inapem-otp-wrapper {
  align-items: center;
}

.elementor-align-right .inapem-otp-wrapper {
  align-items: flex-end;
}

.inapem-otp-label {
  display: block;
}

.inapem-otp-squares-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.inapem-otp-square {
  flex: 1;
  min-width: 0;
  max-width: 64px;
  width: 54px;
  height: 64px;
  padding: 0;
  text-align: center;
  font-family: "Poppins", Sans-serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid var(--color-subtle-grey);
  background-color: var(--color-white);
  color: var(--color-primary);
  outline: none;
  transition: all 0.2s ease-in-out;
  box-shadow: none;
}

.inapem-otp-square:hover {
  border-color: var(--color-dark-grey);
}

.inapem-otp-square:focus {
  border-color: var(--e-global-color-primary, var(--color-primary));
  box-shadow: 0 0 0 2px rgba(37, 53, 92, 0.1);
}

/* Dark Mode Variants */
.inapem-otp-mode--dark .inapem-otp-label {
  color: var(--color-white);
}

.inapem-otp-mode--dark .inapem-otp-square {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--color-white);
}

.inapem-otp-mode--dark .inapem-otp-square:hover {
  border-color: rgba(255, 255, 255, 0.9);
}

.inapem-otp-mode--dark .inapem-otp-square:focus {
  border-color: var(--color-white);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}