/* ===========================
   Page Layout
   =========================== */
.page-content {
  background-image: url('../images/bg.jpg');
  background-size: cover;
  background-position: center;
}

.page-content > div {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 40px 10px;
}

/* ===========================
   Card / Form Container
   =========================== */
.form-card {
  background: #fff;
  padding: 54px 38px 38px;
  border-radius: 18px;
  width: 580px;
  max-width: calc(100vw - 28px);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

/* ===========================
   Wizard Header
   =========================== */
.wizard-header {
  /* inherits from existing class */
}

.wizard-header .heading {
  /* h3 inside wizard-header */
}

/* ===========================
   Progress Bar
   =========================== */
#progress-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 34px;
}

#step-progress-1,
#step-progress-2,
#step-progress-3,
#step-progress-4,
#step-progress-5,
#step-progress-6 {
  flex: 1;
  height: 8px;
  border-radius: 3px;
}

#step-progress-1 {
  background: #4CAF50;
}

#step-progress-2,
#step-progress-3,
#step-progress-4,
#step-progress-5,
#step-progress-6 {
  background: #ddd;
}

/* ===========================
   Steps
   =========================== */
#step-1 {
  display: block;
}

#step-2,
#step-3,
#step-4,
#step-5,
#step-6 {
  display: none;
}

/* ===========================
   Option Boxes
   =========================== */
.option-box-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

/* Style .option-box as needed — add your own styling here */
.option-box {
  cursor: pointer;
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  transition: background 0.2s, border-color 0.2s;
}

.option-box:hover {
  background: #f0f8ff;
  border-color: #4CAF50;
}

/* ===========================
   Step Navigation Rows
   =========================== */
.step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ===========================
   Inputs (Step 3)
   =========================== */
#step-6 h3 {
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 24px;
}

.details-step .detail-field {
  width: 100%;
  max-width: 506px;
  min-height: 66px;
  display: flex !important;
  align-items: stretch !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: 2px solid #dce2ec !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: none !important;
}

.details-step .detail-icon {
  width: 62px;
  min-width: 62px;
  height: 66px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-right: 2px solid #dce2ec !important;
  background: #f5f7fb !important;
  color: #9cabbd !important;
  font-size: 22px !important;
  line-height: 1 !important;
}

.details-step .detail-icon i {
  color: inherit;
}

.details-step .detail-control {
  flex: 1 1 auto;
  min-width: 0;
  width: auto !important;
  height: 66px !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  background: transparent !important;
  color: #111 !important;
  font-size: 18px !important;
  line-height: 66px !important;
  outline: none !important;
  font-family: Arial, sans-serif !important;
}

.details-step .detail-control::placeholder {
  color: #9cabbd;
  opacity: 1;
}

#step-6.details-step .phone-prefix {
  height: 66px;
  display: flex;
  align-items: center;
  padding-left: 16px;
  color: #222 !important;
  font-size: 18px !important;
  white-space: nowrap;
}

#step-6.details-step .phone-input #phone {
  padding-left: 22px !important;
}

.details-step .select-field {
  position: relative;
}

.details-step .select-field select {
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer;
  padding-right: 48px !important;
}

.details-step .select-field::after {
  content: "";
  position: absolute;
  right: 18px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid #9cabbd;
  pointer-events: none;
}

/* ===========================
   Privacy Notice
   =========================== */
.privacy-notice {
  font-size: 16px;
  color: #555;
  text-align: center;
  margin: 4px 0 18px;
}

.privacy-notice a {
  color: #007BFF;
  text-decoration: none;
}

/* ===========================
   Buttons
   =========================== */
.prev-btn,
.next-btn {
  /* Add your button styles here */
  min-width: 118px;
  padding: 11px 22px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 20px;
}

.prev-btn {
  background: #e8ebef;
  color: #263747;
}

.next-btn {
  background: #4CAF50;
  color: #fff;
}

@media (max-width: 575px) {
  .form-card {
    width: 100%;
    padding: 32px 20px 26px;
    border-radius: 14px;
  }
  .page-content > div{
    width: 100%;
  }

  .details-step .detail-field {
    min-height: 58px;
  }

  .details-step .detail-icon {
    width: 54px;
    min-width: 54px;
    height: 58px;
  }

  .details-step .detail-control,
  #step-6.details-step .phone-prefix {
    height: 58px !important;
    line-height: 58px !important;
  }

  .details-step .detail-control,
  #step-6.details-step .phone-prefix {
    font-size: 16px !important;
  }

  .prev-btn,
  .next-btn {
    min-width: 100px;
    font-size: 17px;
  }
}
