@import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Ubuntu", sans-serif;
}

.main-container {
  max-width: 100%;
  min-height: 100vh;
  background-color: #eef5ff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}
.form-container {
  width: auto;
  box-shadow: 10px 10px 100px 0 #ddd;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  background-color: white;
}

.form-step {
  display: none;
}
.form-step.active {
  display: block;
}

.step-section {
  width: 250px;
  height: 500px;
  background-image: url("./assets/images/bg-sidebar-desktop.svg");
  background-position: center;
  border-radius: 10px;
  background-repeat: no-repeat;
  background-size: contain;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  padding-top: 30px;
}

.steps {
  color: white;
  padding-left: 30px;
  padding-block: 15px;
  display: flex;
  justify-content: flex-start;
  gap: 10px;
}

.step-count.active {
  background-color: #bee3f8;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #12386b;
  border-radius: 100%;
}

.step-count {
  border: 1px solid #bee3f8;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  border-radius: 100%;
}

.step-title {
  color: #c3c3c8;
  font-size: 12px;
}

.form-section {
  color: #12386b;
  padding-top: 30px;
  margin-inline: 50px;
  font-family: "Ubuntu", sans-serif;
}

.form-title {
  padding-top: 20px;
  padding-bottom: 10px;
}

.form-subtitle {
  color: #87878d;
  font-size: 12px;
}

.name-field,
.email-field,
.phone-field {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  margin-top: 30px;
  gap: 2px;
}

.name-field input,
.email-field input,
.phone-field input {
  padding-inline: 8px;
  padding-block: 10px;
  background-color: none;
  border: 1px solid #ccc;
  border-radius: 5px;
  color: #12386b;
  outline: none;
  font-weight: 650;
  font-family: "Ubuntu", sans-serif;
}
input::placeholder {
  color: #a5a4aa;
}
input:focus {
  border: 1px solid #595674;
}

.label-error-container {
  display: flex;
  justify-content: space-between;
}

.label-error-container span {
  color: red;
  display: none;
  font-size: 13px;
}
.button-container {
  display: flex;
  justify-content: end;
  align-items: end;
  height: 120px;
}

.next-btn {
  background-color: #174a8b;
  color: white;
  border: none;
  margin-top: 30px;
  margin-left: 30px;
  padding-block: 10px;
  padding-inline: 20px;
  border-radius: 5px;
  font-weight: 700;
  font-family: "Ubuntu", sans-serif;
  cursor: pointer;
}

/* step no 2 */
.step-no2-container {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.plan-container {
  width: 120px;
  height: 160px;
  border: 1px solid #174a8b;
  cursor: pointer;
  border-radius: 5px;
  /* position: relative; */
}

.plan-container.selected {
  background-color: #f0faff;
  border-color: #12386b;
}

.plan-container img {
  margin-left: 10px;
  margin-top: 20px;
}

.plan-container p {
  margin-left: 10px;
  margin-top: 30px;
}

/* .arcade{
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
} */
.monthly-yearly-button {
  width: 100%;
  background-color: #f8f9ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 12px;
  gap: 20px;
  margin-top: 40px;
}

.monthly-yearly-button label {
  font-weight: 500;
  color: #02295a;
}

.toggle-radio {
  width: 50px;
  height: 20px;
  background-color: #02295a;
  border-radius: 10px;
  padding: 2px 2px;
  cursor: pointer;
}

.toggle-radio div {
  width: 15px;
  height: 15px;
  background-color: #fff;
  border-radius: 50%;
}

.toggle-radio div.active {
  transform: translateX(30px);
  transition: all 0.3s ease-in-out;
}

.yearly {
  font-size: 12px;
  margin: 0 10px;
  display: none;
}

.monthly-yearly-button span {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 16px;
}

.monthly-yearly-button span .inactive {
  color: #8c8c8c;
}
.go-back {
  background: unset;
  border: none;
  margin-top: 30px;
  padding-block: 10px;
  padding-inline: 20px;
  border-radius: 5px;
  font-weight: 700;
  font-family: "Ubuntu", sans-serif;
  cursor: pointer;
  color: #12386b;
}

.error {
  padding-top: 10px;
  text-align: center;
  color: red;
  display: none;
}

/* step no 3 */

.step3-container {
  margin-block: 20px;
  border: 1px solid #695be4;
  display: flex;
  border-radius: 5px;
}

.step3-container .input-radio {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.step3-container .input-radio input {
  border: 1px solid #87878d;
}

.step3-container .ex-amount {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  color: #695be4;
  font-weight: 500;
  font-size: 13px;
}

.step3-container .ex-content {
  color: #12386b;
  padding: 10px;
  width: 100%;
}
.step3-container .ex-content span {
  color: #87878d;
  font-size: 12px;
}

/* step no 4 */

.step4-container {
  background-color: #f8f9fe;
}
.summary {
  margin-top: 30px;
  padding: 20px;
  display: flex;
  padding-bottom: 30px;
}

.summary p {
  color: #02295a;
  font-weight: 500;
}

.summary button {
  border: none;
  background: unset;
  font-weight: 600;
  cursor: pointer;
  color: #534ee7;
  border-bottom: 1px solid #534ee7;
}

.summary .summary-amount {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
}
.selected-add-ons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 20px;
  padding-block: 5px;

  padding-bottom: 15px;
  color: #8c8c8c;
}
.total-amount {
  padding-inline: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.total-amount span {
  color: #534ee7;
  font-weight: 500;
}

/* final step */

.img-container {
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: end;
}

.img-container img {
  width: 50px;
}

.final-step h2 {
  text-align: center;
  margin-block: 20px;
}

.final-step p {
  max-width: 500px;

  text-align: center;
  color: #87878d;
}


.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 500px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
  color: #000;
  text-decoration: none;
}

.print-btn {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.print-btn:hover {
  background-color: #0056b3;
}


/* responsive for mobile */
@media (max-width: 768px) {
  .form-container {
    flex-direction: column;
  }
  .form-section {
    position: absolute;
    transform: translate(-50%);
    top: 130px;
    width: 100%;
    background-color: #fff;
    padding-block: 20px;
    padding-inline: 40px;
    margin: 0;
    border-radius: 10px;
  }
  .step-section {
    position: absolute;
    left: 0;
    top: 0;
    padding: 0;
    margin: 0;
    width: 100%;
    background-image: url("./assets/images/bg-sidebar-mobile.svg");
    height: 200px;
    flex-direction: row;
    background-size: cover;
    justify-content: center;
    border-radius: unset;
  }
  .steps {
    justify-content: center;
    align-items: center;
  }

  .step-sub {
    display: none;
  }

  .step-no2-container {
    justify-content: space-between;
    flex-wrap: wrap;
  }
}
