
/* ---------------------------- Form related css ---------------------------- */
.phone-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.verify-button {
  position: absolute !important;
  right: 3px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--primary-bg-color, #4a90e2);
  color: var(--primary-color, #fff);
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  width: auto !important;
  transition: background-color 0.2s;
}

.verify-button:hover {
   filter: brightness(90%);
}

.verify-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}


.verify-button:hover:not(:disabled) {
   filter: brightness(90%);
}

.edit-button {
  position: absolute !important;
  right: 3px;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  color: var(--primary-bg-color, #4a90e2);
  border: 1px solid var(--primary-bg-color, #4a90e2);
  border-radius: 6px;
  height: 32px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px !important;
}

.edit-button:hover {
  background-color: #f0f7ff;
}

.edit-icon {
  font-size: 16px;
}

.verified-badge {
  display: none;
  color: #4CAF50;
  font-weight: 600;
  margin-left: 8px;
  position: absolute;
  right: 40px;
  font-size: 13px;
}

.otp-container {
  display: none;
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-top: 8px;
  background-color: #f9f9f9;
}

.otp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.otp-title {
  font-weight: 600;
  margin: 0;
}

.otp-resend {
  color: var(--primary-bg-color, #4a90e2);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  width: auto !important;
}

.otp-resend:disabled{
  opacity: 0.5;
  cursor: not-allowed;
}
.otp-group {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}


.otp-timer {
  font-size: 14px;
  color: #666;
  margin-right: 8px;
}

.otp-input {
  width: 40px;
  height: 40px;
  text-align: center;
  font-size: 18px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.verify-otp-button {
  background-color: var(--primary-bg-color, #4a90e2);
  color: var(--primary-color, #fff);
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.2s;
}


.verify-otp-button:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

.verify-otp-button:hover:not(:disabled) {
  filter: brightness(90%);
}



input[readonly] {
  background-color: #f5f5f5;
  color: #666;
}

.iti__country-list{
  z-index: 99999;
}
.button-loader {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid var(--primary-bg-color, #4a90e2);
  border-radius: 50%;
  border-top-color: var(--primary-color, #fff);
  animation: spin 1s ease-in-out infinite;
  margin-left: 8px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}