/* Step bar styling */
.step-progress-bar {
	max-width: 500px;
  margin: 20px auto;
  padding: 0;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  counter-reset: step;
  position: relative;
}

.step-progress-bar .step-item {
  list-style-type: none;
  flex-grow: 1;
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-progress-bar .step-item .step-count {
  width: 100%;
  height: 4px;
  display: block;
  margin: 0;
  background-color: #e0e0e0;
  font-size: 0;
  font-weight: bold;
	border-radius: 50px;
}

.step-progress-bar .step-item.active .step-count {
  background-color: #000;
	height: 6px;
	margin-top: -1px;
}

.step-progress-bar .step-item.completed .step-count {
  background-color: #000;
  position: relative;
}

.step-progress-bar .progress {
  position: absolute;
  top: 14px;
  left: 0;
  height: 2px;
  background: #4caf50;
  transition: width 0.3s ease;
  z-index: 1;
  display: none;
}

.user-wizard-form {
  --form-height: 60vh;
  --form-dynamicheight: 60dvh;
  min-height: var(--form-height);
  min-height: var(--form-dynamicheight);
  overflow: hidden;
  margin-block: 1rem;
}

.step {
  padding: 20px;
  border-radius: 10px;
  min-height: var(--form-height);
  min-height: var(--form-dynamicheight);
  overflow: hidden;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-body {
	padding-top: 4px;
  --gap: 0.75rem 1rem;
  height: 80%;
  width: 100%;
  overflow-y: auto;
  flex-grow: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  justify-content: center;
  gap: var(--gap);
}

.user-wizard-form .field-option input {
  display: none;
}

.user-wizard-form .field-option label {
  background-color: var(--e-global-color-5afbcf7a);
  border-radius: 50px;
  padding: 12px 24px;
  cursor: pointer;
	font-size: 21px;
	font-weight: 500;
	
}

.user-wizard-form .field-option label:hover {
	box-shadow: 0 0 0 1px var(--e-global-color-primary);
}
.user-wizard-form .field-option input:checked ~ label {
  background-color: var(--e-global-color-primary);
  color: white;
}

.step-footer button {
  padding: 12px 36px;
  border-radius: 5px;
  border: 1px solid;
  line-height: 1;
}
.step-footer .next-btn,
.step-footer .submit-btn {
  background-color: var(--e-global-color-primary);
  color: white;
  border-color: var(--e-global-color-primary);
	border-radius: 50px;
}

.step-footer .next-btn:hover,
.step-footer .next-btn:focus,
.step-footer .submit-btn:hover,
.step-footer .submit-btn:focus {
  color: var(--e-global-color-primary);
  background-color: white;
	border-radius: 50px;
}

.step-footer .prev-btn {
  color: var(--e-global-color-primary);
 border-radius: 50px;
  border-color: var(--e-global-color-primary);
}

.step-footer .prev-btn:hover,
.step-footer .prev-btn:focus {
  background-color: var(--e-global-color-primary);
  color: white;
	border-radius: 50px;
}

.form-message {
  text-align: center;
  font-weight: bold;
  margin-top: 20px;
}

.step-header {
  text-align: center;
}

.step-title {
  font-size: 36px;
  font-weight: bold;
  line-height: 1.2;
}

.step-subtitle{
	font-size: 21px;
	margin-bottom: 10px!important;
}
.field-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.step-footer {
  display: flex;
  align-items: center;
  gap: 4%;
}
.step-footer > button {
  flex: 0 0 48%;
}

/* Add these styles to your wizard-style.css file */

/* Login/Register container */
.user-wizard-form .login-container {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 8px;
  background-color: #f8f8f8;
}

/* Tab navigation */
.user-wizard-form .login-tabs {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.user-wizard-form .tab-btn {
  flex: 1;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  border-radius: 0;
  transition: all 0.3s ease;
  background-color: transparent;
}

.user-wizard-form .tab-btn.active {
  color: var(--e-global-color-primary);
  border-bottom: 2px solid var(--e-global-color-primary);
  background-color: transparent;
  border-radius: 0;
}

.user-wizard-form .tab-btn:hover {
  background-color: transparent;
  color: var(--e-global-color-primary);
}

/* Form fields */
.user-wizard-form .login-container .field-group {
  margin-bottom: 15px;
}

.user-wizard-form .login-container .field-group label {
  display: block;
  margin-bottom: 3px;
  font-weight: 500;
  font-size: 12px;
}

.user-wizard-form .login-container .field-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

/* Login/Register buttons */
.user-wizard-form .login-container .login-btn,
.user-wizard-form .login-container .register-btn {
  width: 100%;
  padding: 12px;
  background-color: var(--e-global-color-primary);
  color: white;
  border: 1px solid var(--e-global-color-primary);
  border-radius: 0px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.user-wizard-form .login-container .login-btn:hover,
.user-wizard-form .login-container .register-btn:hover {
  background-color: var(--e-global-color-primary);
  color: white;
}

.user-wizard-form .login-container .login-btn:disabled,
.user-wizard-form .login-container .register-btn:disabled {
  background-color: #95a5a6;
  cursor: not-allowed;
}

@media (max-width: 767px) {
	.step-title{
		font-size: 24px;
	}
  .step-progress-bar {
    margin: 0;
  }

  .user-wizard-form {
    --wizard-height: 70vh;
    height: auto;
    min-height: var(--wizard-height);
  }

  .step {
    padding: 0;
    min-height: var(--wizard-height);
  }

  .field-option {
    margin-bottom: 0;
    font-size: 16px;
  }
  .user-wizard-form .field-option label {
    text-align: center;
	  font-size: 18px;
  }

  .step-footer {
    margin-top: 1rem;
  }
}







/* Animation for Steps */
.step {
  opacity: 1;
  transform: translateX(0);
}

.step.is-animating {
  pointer-events: none;
}

.step.step-exit-right {
  animation: stepExitRight 0.35s ease forwards;
}

.step.step-enter-left {
  animation: stepEnterLeft 0.35s ease forwards;
}

@keyframes stepExitRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(24px);
  }
}

@keyframes stepEnterLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
