/**************************************************
        ---------استایل های  صفحه ورود و ثبت نام -------
        **************************************************/

.tansa-auth-card {
  background: white;
  border-radius: 3.5rem;
  box-shadow: 0 40px 100px -20px rgba(45, 62, 94, 0.12);
  width: 100%;
  max-width: 460px;
  padding: 3.5rem 2.5rem;
  position: relative;
}

.input-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
}

.tansa-input {
  width: 100%;
  background-color: #f8f9fa;
  border-radius: 1.8rem;
  padding: 1.25rem 3.5rem 1.25rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  border: 2px solid transparent;
  outline: none;
  transition: all 0.3s ease;
}

.tansa-input:focus {
  border-color: #d4a373;
  background-color: white;
  box-shadow: 0 10px 20px -10px rgba(212, 163, 115, 0.3);
}

.input-icon {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: #9ca3af;
}

.otp-box {
  width: 3.8rem;
  height: 4.5rem;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 900;
  border-radius: 1.5rem;
  background-color: #f8f9fa;
  border: 2px solid #eee;
}

.tansa-btn {
  width: 100%;
  background-color: #2d3e5e;
  color: white;
  padding: 1.25rem;
  border-radius: 2rem;
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 15px 30px -10px rgba(45, 62, 94, 0.4);
  cursor: pointer;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 900;
  color: #9ca3af;
  margin-bottom: 1.5rem;
  cursor: pointer;
}

.back-link:hover {
  color: #d4a373;
}

.toast {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 1rem 2rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 1000;
  display: none;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-8px);
  }

  75% {
    transform: translateX(8px);
  }
}

.shake {
  animation: shake 0.3s ease;
}
