/*------------------------------------------------------------------
  Elite Appraisers — Wizard Addon Styles (Matching Lockey Template)
-------------------------------------------------------------------*/

.wizard-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.wizard-box {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(38, 57, 103, 0.08);
  border: 1px solid #e6eaef;
  padding: 40px;
  max-width: 960px;
  margin: 0 auto;
}

.wizard-steps-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 1px solid #e6eaef;
}

.wizard-step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f4f6f9;
  border: 2px solid #e6eaef;
  color: #777777;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.wizard-step-indicator.active .step-circle {
  background-color: #fed000;
  border-color: #fed000;
  color: #1b1a1a;
  box-shadow: 0 4px 15px rgba(254, 208, 0, 0.45);
}

.wizard-step-indicator.completed .step-circle {
  background-color: #263967;
  border-color: #263967;
  color: #ffffff;
}

.step-title {
  font-size: 13px;
  font-weight: 600;
  color: #777777;
  font-family: 'Heebo', sans-serif;
}

.wizard-step-indicator.active .step-title {
  color: #1b1a1a;
  font-weight: 700;
}

.wizard-step-pane {
  display: none;
}

.wizard-step-pane.active {
  display: block;
  animation: fadeInPane 0.3s ease;
}

@keyframes fadeInPane {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.wizard-choice-card {
  border: 2px solid #e6eaef;
  border-radius: 8px;
  padding: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wizard-choice-card:hover {
  border-color: #fed000;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

.wizard-choice-card.selected {
  border-color: #fed000;
  background-color: #fffde6;
}

.wizard-choice-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background-color: #f4f6f9;
  color: #263967;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wizard-choice-card.selected .wizard-choice-icon {
  background-color: #fed000;
  color: #1b1a1a;
}

.wizard-footer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e6eaef;
}

.reference-box {
  background: linear-gradient(135deg, #1b2848 0%, #263967 100%);
  color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  margin-bottom: 25px;
  border: 2px solid #fed000;
}

.reference-code-badge {
  display: inline-block;
  font-family: 'Kodchasan', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #fed000;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 24px;
  border-radius: 6px;
  letter-spacing: 2px;
  margin: 12px 0;
  border: 1px dashed #fed000;
}

.sticky-whatsapp-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.sticky-whatsapp-btn:hover {
  background-color: #1ebd5b;
  transform: translateY(-3px);
  color: #ffffff;
}

@media (max-width: 768px) {
  .wizard-options-grid {
    grid-template-columns: 1fr;
  }
  .wizard-box {
    padding: 20px;
  }
}

/*------------------------------------------------------------------
  Elite Appraisers — Brand Logo Display Sizing & Visibility
-------------------------------------------------------------------*/

.header .navbar-brand {
  height: 80px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
  margin-right: 30px !important;
}

.header .navbar-brand .logo {
  width: auto !important;
  height: 60px !important;
  max-height: 60px !important;
  max-width: none !important;
  object-fit: contain !important;
  transition: all 0.3s ease;
}

/* DESKTOP RULES (min-width: 992px) */
@media screen and (min-width: 992px) {
  /* Never show mobile logos on desktop */
  .header .navbar-brand .logo-mobile {
    display: none !important;
  }

  /* Transparent header (default un-scrolled) */
  .header.header-transparent .navbar:not(.navbar-fixed) .navbar-brand .logo-light {
    display: inline-block !important;
  }
  .header.header-transparent .navbar:not(.navbar-fixed) .navbar-brand .logo-dark {
    display: none !important;
  }

  /* Fixed / sticky header on scroll */
  .header.header-transparent .navbar.navbar-fixed .navbar-brand .logo-light {
    display: none !important;
  }
  .header.header-transparent .navbar.navbar-fixed .navbar-brand .logo-dark {
    display: inline-block !important;
  }

  /* Regular solid headers (e.g. inner pages) */
  .header:not(.header-transparent) .navbar-brand .logo-light {
    display: none !important;
  }
  .header:not(.header-transparent) .navbar-brand .logo-dark {
    display: inline-block !important;
  }
}

/* MOBILE & TABLET RULES (max-width: 991.98px) */
@media screen and (max-width: 991.98px) {
  .header .navbar-brand {
    height: 65px !important;
  }
  .header .navbar-brand .logo {
    height: 48px !important;
    max-height: 48px !important;
  }

  /* Hide desktop logos on mobile */
  .header .navbar-brand .logo-light,
  .header .navbar-brand .logo-dark {
    display: none !important;
  }

  /* Transparent header on mobile */
  .header.header-transparent .navbar:not(.navbar-fixed) .navbar-brand .logo-mobile-white {
    display: inline-block !important;
  }
  .header.header-transparent .navbar:not(.navbar-fixed) .navbar-brand .logo-mobile-dark {
    display: none !important;
  }

  /* Fixed / sticky header on mobile */
  .header.header-transparent .navbar.navbar-fixed .navbar-brand .logo-mobile-white {
    display: none !important;
  }
  .header.header-transparent .navbar.navbar-fixed .navbar-brand .logo-mobile-dark {
    display: inline-block !important;
  }

  /* Solid white header on mobile */
  .header:not(.header-transparent) .navbar-brand .logo-mobile-white {
    display: none !important;
  }
  .header:not(.header-transparent) .navbar-brand .logo-mobile-dark {
    display: inline-block !important;
  }
}

/* Brand Text styling next to logo */
.brand-title-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-title-main {
  font-family: 'Kodchasan', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.navbar-fixed .brand-title-main,
.header-white .brand-title-main {
  color: #263967 !important;
}

.brand-title-sub {
  font-family: 'Heebo', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #fed000;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 2px;
}

/*------------------------------------------------------------------
  Navbar Polish & Spacing (Prevent wrapping and ensure sleek sticky bar)
-------------------------------------------------------------------*/

@media screen and (min-width: 992px) {
  .header .navbar .navbar-nav > li {
    margin-right: 16px !important;
  }
  .header .navbar .navbar-nav > li:last-child {
    margin-right: 0 !important;
  }
  .header .navbar .navbar-nav > li > a {
    white-space: nowrap !important;
    font-size: 14px !important;
  }
  .header .navbar .navbar-nav > li > a span {
    white-space: nowrap !important;
  }
  .header .navbar.navbar-fixed {
    height: 80px !important;
  }
  .header .navbar.navbar-fixed .navbar-nav > li > a {
    line-height: 80px !important;
  }
  .header .navbar.navbar-fixed .module-phone,
  .header .navbar.navbar-fixed .module-search {
    line-height: 80px !important;
  }
  .header .navbar.navbar-fixed .navbar-brand {
    height: 80px !important;
  }
}
