:root {
  --primary-green: #389b2e;
  --stepper-blue: #42a2d9;
  --bg-light: #e4f5ff;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reg-header {
  text-align: center;
  padding: 20px;
}

.logo-group img {
  width: 300px;
  margin: 0 10px;
}

.registration-card .col-md-6 {
  margin-top: 15px;
}

.registration-card .col-md-12 {
  margin-top: 15px;
}

/* Stepper positioned above the card */
.stepper-container {
  width: 100%;
  position: absolute;
  top: -16px;
}

.stepper-wrapper {
  position: relative;
  display: flex;
  justify-content: space-evenly;
  width: 100%;
}

.stepper-line {
  position: absolute;
  top: 50%;
  left: 0px;
  right: 0px;
  height: 3px;
  background-color: #42a2d94f;
  z-index: 1;
  transform: translateY(-50%);
}

.stepper-line-active {
  position: absolute;
  top: 50%;
  left: 0px;
  width: 25%;
  height: 3px;
  background-color: var(--stepper-blue);
  z-index: 2;
  transform: translateY(-50%);
  transition: width 0.4s ease-in-out;
}

.step-circle {
  width: 35px;
  height: 35px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  color: #42a2d94f;
  font-weight: 700;
  border: 1px solid #42a2d9;
}

.step-circle.active {
  background-color: var(--stepper-blue);
  color: #fff;
  border-color: #42a2d9;
}

.registration-card {
  background: #fff;
  width: 100%;
  max-width: 1000px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  min-height: 400px;
}

.step-content {
  display: none;
  width: 100%;
  padding: 40px 40px;
}

.step-content.active {
  display: block;
}

/* Animations */
.slide-out {
  animation: slideOutLeft 0.5s forwards ease-in-out;
}

.slide-in {
  animation: slideInRight 0.5s forwards ease-in-out;
}

@keyframes slideOutLeft {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(-100%);
    opacity: 0;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.section-title {
  font-weight: 700;
  font-size: 20px;
  display: inline-block;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  background-color: #389b2e;
  width: 45%;
  height: 2px;
  left: 0;
  top: 30px;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #111827;
}

.form-label span {
  color: red;
}

.account-titles {
  font-size: 13px;
}

.step-content .form-control {
  font-size: 13px !important;
  border-radius: 4px;
  padding: 8px 12px;
}

.step-content .form-select {
  font-size: 13px !important;
  border-radius: 4px;
  padding: 8px 12px;
}

.btn-next {
  background-color: var(--primary-green);
  color: white;
  border: none;
  padding: 8px 60px;
  font-weight: 700;
  border-radius: 6px;
}

.btn-next:hover {
  background-color: var(--primary-green) !important;
  color: #fff;
}

.btn-back {
  background-color: transparent;
  color: var(--stepper-blue);
  border: 1px solid var(--stepper-blue);
  padding: 8px 60px;
  font-weight: 700;
  border-radius: 6px;
}

.btn-back:hover {
  background-color: transparent;
  color: var(--stepper-blue);
  border: 1px solid var(--stepper-blue);
}

.az-text-warning {
  font-size: 13px;
  color: #e75a02;
}

/* Success Screen UI */
.success-circle {
  width: 60px;
  height: 60px;
  background-color: #389b2e;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin: 0 auto 20px;
}

.az-success-card {
  padding: 40px 40px;
  border: 1px solid #b9d5bd;
}

.az-success-card h3 {
  font-size: 20px;
  color: #111827;
}

.az-success-card p {
  font-size: 15px;
  color: #111827;
}

@media screen and (max-width: 1450px) {
  .logo-group img {
    width: 260px;
  }
  .step-content {
    padding: 30px 40px;
  }
  .section-title {
    margin-bottom: 30px;
  }
  .btn-back {
    padding: 6px 60px;
  }
  .btn-next {
    padding: 6px 60px;
  }
}
