/* ============================================================
   SIGNUP WIZARD STYLES - NATURAL PAGE SCROLL (NO INTERNAL SCROLLBARS)
   ============================================================ */

/* Disable internal scrolling containers; allow main window body scroll to handle page layout */
html,
body {
  height: auto !important;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto !important;
}

/* Main Outer Wizard Container Wrapper */
.wizard-wrapper {
  min-height: 100vh;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  overflow-y: visible !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
  background: #f4f6f8;
}

/* Glass Panel Layout Box */
.wizard-layout {
  width: 100%;
  max-width: 1120px;
  min-height: auto;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  overflow-y: visible !important;
  display: flex;
  flex-direction: row;
  background: #ffffff;
  border: 1px solid rgba(229, 229, 229, 0.8);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(30, 30, 30, 0.08);
}

@media (max-width: 991.98px) {
  .wizard-layout {
    flex-direction: column;
  }
}

/* Left Sidebar Layout */
.wizard-sidebar {
  width: 340px;
  flex-shrink: 0;
  background: linear-gradient(145deg, #1e1e1e 0%, #2b2b2b 100%);
  color: #ffffff;
  padding: 40px 32px;
  border-top-left-radius: 24px;
  border-bottom-left-radius: 24px;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  display: flex;
  flex-direction: column;
}

@media (max-width: 991.98px) {
  .wizard-sidebar {
    width: 100%;
    border-radius: 24px 24px 0 0;
  }
}

.wizard-sidebar .text-primary-dark {
  color: #ae935c !important;
}

.wizard-sidebar .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Sidebar Progress Step Indicators */
.step-indicator {
  position: relative;
  z-index: 2;
}

.step-indicator .step-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.25);
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
}

.step-indicator.active .step-icon {
  background: #ae935c;
  color: #ffffff;
  border-color: #ae935c;
  box-shadow: 0 0 15px rgba(174, 147, 92, 0.4);
}

.step-indicator.completed .step-icon {
  background: #2e7d32;
  color: #ffffff;
  border-color: #2e7d32;
}

.step-indicator .step-subtitle {
  color: rgba(255, 255, 255, 0.5) !important;
}

.step-indicator.active .step-subtitle {
  color: #ae935c !important;
}

.step-indicator .step-title {
  color: rgba(255, 255, 255, 0.8);
}

.step-indicator.active .step-title {
  color: #ffffff;
}

.step-connector {
  position: absolute;
  left: 18px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 1;
}

/* Right Main Content Box */
.wizard-main {
  flex: 1;
  min-width: 0;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  overflow-y: visible !important;
  display: flex;
  flex-direction: column;
}

/* Individual Form Step Contents */
.step-content {
  display: none;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  overflow-y: visible !important;
}

.step-content.active {
  display: block;
}

/* Mobile Step Indicator Dots */
.mobile-step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e5e5e5;
  transition: all 0.3s ease;
}

.mobile-step-dot.active {
  background: #ae935c;
  width: 24px;
  border-radius: 12px;
}

/* Custom Interactive Cards */
.custom-card-option {
  border: 2px solid #e5e5e5;
  border-radius: 14px;
  padding: 18px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  background: #ffffff;
}

.custom-card-option:hover {
  border-color: #ae935c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.custom-card-option.selected-card {
  border-color: #ae935c !important;
  background-color: rgba(174, 147, 92, 0.08) !important;
}

/* Universal Reset to disable any child element internal scrollbars inside the wizard */
.wizard-wrapper *,
.wizard-layout *,
.wizard-main *,
.wizard-sidebar *,
.step-content *,
#signupWizardForm * {
  max-height: none !important;
  overflow-y: visible !important;
}

/* ============================================================
   THEME COLOR OVERRIDES - REPLACING BOOTSTRAP PRIMARY BLUE
   ============================================================ */

/* Root Variables */
:root {
  --bs-primary: #ae935c;
  --bs-primary-rgb: #ae935c;
}

/* Utilities */
.text-primary {
  color: #ae935c !important;
}

a.text-primary:hover,
a.text-primary:focus {
  color: #8c764a !important;
}

.bg-primary {
  background-color: #ae935c !important;
}

.bg-primary-soft {
  background-color: rgba(174, 147, 92, 0.08) !important;
}

.border-primary {
  border-color: #ae935c !important;
}

.alert-primary {
  background-color: rgba(174, 147, 92, 0.1) !important;
  border-color: rgba(174, 147, 92, 0.2) !important;
  color: #ae935c !important;
}

/* Buttons */
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #ae935c;
    --bs-btn-border-color: #ae935c;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #967d4d;
    --bs-btn-hover-border-color: #967d4d;
    --bs-btn-focus-shadow-rgb: 174, 147, 92;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #967d4d;
    --bs-btn-active-border-color: #967d4d;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #ae935c;
    --bs-btn-disabled-border-color: #ae935c;
    transition: all 0.3s ease;
}

.btn-outline-primary {
    --bs-btn-color: #ae935c;
    --bs-btn-border-color: #ae935c;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #ae935c;
    --bs-btn-hover-border-color: #ae935c;
    --bs-btn-focus-shadow-rgb: 174, 147, 92;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #ae935c;
    --bs-btn-active-border-color: #ae935c;
    transition: all 0.3s ease;
}

/* Form Controls (Inputs, Checkboxes, Radios) */
.form-control:focus,
.form-select:focus {
  border-color: #ae935c !important;
  box-shadow: 0 0 0 0.25rem rgba(174, 147, 92, 0.25) !important;
}

.form-check-input:checked {
  background-color: #ae935c !important;
  border-color: #ae935c !important;
}

.form-check-input:focus {
  border-color: #ae935c !important;
  box-shadow: 0 0 0 0.25rem rgba(174, 147, 92, 0.25) !important;
}

/* Custom Selection Cards */
.selection-card input:checked~.selection-icon {
  color: #ae935c !important;
}

.selection-card input:checked~.custom-radio-check {
  background-color: #ae935c !important;
  border-color: #ae935c !important;
  color: #ffffff !important;
}