body {
  margin: 0;
}

/* ===============================
   PROJECT WIZARD – ISOLATED ONLY
   =============================== */
.pw-plugin-wrapper {
  background: #1f2428;
  color: #ffffff;
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 16px;
  position: relative;
  overflow: visible;
  isolation: isolate;
  box-sizing: border-box;
}



.pw-plugin-wrapper * {
  box-sizing: border-box;
}

.pw-plugin-wrapper::before {
  content: none;
}

.pw-plugin-wrapper::after {
  content: none;
}

.pw-plugin-wrapper #wizard {
  position: relative;
  z-index: 0;
  height: 100%;
}

/* Keep Lottie animations within 85vh layout (override inline sizes) */
#wizard lottie-player {
  max-width: 100% !important;
  height: min(34vh, 320px) !important;
  margin: 12px auto !important;
  display: block;
}

@keyframes meshMove {
  0% { background-position: 0 0, 200px 0, 200px 200px, 0 200px; }
  50% { background-position: 100px 100px, 300px 100px, 300px 300px, 100px 300px; }
  100% { background-position: 0 0, 200px 0, 200px 200px, 0 200px; }
}

@keyframes pulseGlow {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

#wizard .step {
  display: none;
  min-height: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 24px;
}

#wizard .step.active {
  display: block;
  animation: fadeIn 0.5s ease-in;
}

/* Step 2 specific layout */
#wizard .step[data-step="2"] {
  display: none;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 24px;
  min-height: 100%;
  position: relative;
  width: 100%;
}

#wizard .step[data-step="2"].active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.5s ease-in;
  text-align: center;
}

#wizard .step[data-step="2"] .cards {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Step 3 specific layout */
#wizard .step[data-step="3"] {
  display: none;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 24px;
  min-height: 100%;
  position: relative;
  width: 100%;
}

#wizard .step[data-step="3"].active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.5s ease-in;
}

@media (max-width: 768px) {
  #wizard .step[data-step="3"].active {
    justify-content: flex-start;
    padding-top: 40px;
  }
}

@media (max-width: 480px) {
  #wizard .step[data-step="3"].active {
    justify-content: flex-start;
    padding-top: 20px;
  }
}

#wizard .step[data-step="3"] .cards {
  grid-template-columns: repeat(4, 1fr);
  gap: 72px;
  max-width: 1000px;
  width: 100%;
}

#wizard .cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  margin-top: 24px;
  justify-items: stretch;
  align-items: stretch;
}

#wizard .card {
  background: rgba(12, 12, 12, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 28px 24px;
  cursor: pointer;
  text-align: center;
  transition: all 0.25s ease-out;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#wizard .card::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: radial-gradient(circle at top, rgba(154, 199, 44, 0.3), transparent 60%);
  border-radius: 18px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.25s ease-out;
}

#wizard .card:hover::after {
  opacity: 1;
}

#wizard .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.6s ease;
  z-index: 1;
}

#wizard .card:hover::before {
  left: 100%;
}

@keyframes holographic {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

#wizard .card-content {
  position: relative;
  z-index: 2;
}

#wizard .card:hover {
  transform: translateY(-8px);
  border-color: #9AC72C;
  box-shadow: 0 20px 40px rgba(154, 199, 44, 0.3);
  background: #2a2a2a;
}

#wizard .card-icon {
  font-size: 48px;
  margin-bottom: 12px;
  display: block;
}

#wizard .card-label {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#wizard h2 {
  font-size: clamp(24px, 5vw, 42px);
  font-weight: 700;
  text-align: center;
  margin-top: 0;
  margin-bottom: clamp(16px, 3vw, 32px);
  background: linear-gradient(135deg, #9AC72C 0%, #7ba023 50%, #b5d960 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 8px rgba(154, 199, 44, 0.2);
  position: relative;
  animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% { filter: brightness(1); }
  100% { filter: brightness(1.2); }
}

#wizard h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(60px, 15vw, 120px);
  height: 3px;
  background: linear-gradient(90deg, transparent, #9AC72C, transparent);
  border-radius: 2px;
  animation: linePulse 2s ease-in-out infinite;
}

@keyframes linePulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scaleX(0.8); }
  50% { opacity: 1; transform: translateX(-50%) scaleX(1); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

#wizard .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(154, 199, 44, 0.2),
    transparent
  );
  transition: left 0.5s;
}

#wizard .card:hover::before {
  left: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .pw-plugin-wrapper {
    padding: 12px;
  }
  
  #wizard .step {
    padding: 20px 12px;
  }
  
  #wizard .cards {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-top: 20px;
  }
  
  #wizard .card {
    padding: 20px 16px;
    border-radius: 12px;
  }
  
  #wizard .card-icon {
    font-size: 36px;
    margin-bottom: 8px;
  }
  
  #wizard .card-label {
    font-size: 14px;
  }
  
  #wizard lottie-player {
    width: 100% !important;
    max-width: 400px !important;
    height: auto !important;
    aspect-ratio: 16/9;
  }
}

@media (max-width: 480px) {
  .pw-plugin-wrapper {
    padding: 8px;
  }
  
  #wizard .step {
    padding: 16px 8px;
  }
  
  #wizard .cards {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
  }
  
  #wizard .card {
    padding: 16px 12px;
    border-radius: 10px;
  }
  
  #wizard .card-icon {
    font-size: 32px;
    margin-bottom: 6px;
  }
  
  #wizard .card-label {
    font-size: 12px;
    letter-spacing: 0.3px;
  }
  
  #wizard lottie-player {
    max-width: 320px !important;
    margin: 16px auto !important;
  }
}

@media (max-width: 360px) {
  #wizard .cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  #wizard .card {
    padding: 14px 10px;
  }
  
  #wizard .card-icon {
    font-size: 28px;
  }
  
  #wizard .card-label {
    font-size: 11px;
  }
}

/* Sport Cards Styling - Clean Modern Design */
#wizard .court-types-intro {
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(14px, 2.2vw, 16px);
  margin-bottom: 28px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

#wizard .sport-card {
  position: relative;
  background: radial-gradient(circle at top, rgba(154, 199, 44, 0.08), rgba(5, 5, 5, 0.96));
  border-radius: 18px;
  padding: 28px 24px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, background 0.25s ease-out, border-color 0.2s ease-out;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.75);
  width: 100%;
  height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#wizard .sport-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(154, 199, 44, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-out;
}

#wizard .sport-card:hover::before {
  opacity: 1;
}

#wizard .sport-card:hover {
  transform: translateY(-6px) scale(1.02);
  background: radial-gradient(circle at top, rgba(154, 199, 44, 0.14), rgba(5, 5, 5, 0.98));
  border-color: rgba(154, 199, 44, 0.8);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.85);
}

#wizard .sport-card .card-glow {
  display: none;
}

#wizard .sport-card .card-icon {
  font-size: clamp(48px, 6.5vw, 64px);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 18px;
  background: radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.12), transparent 65%),
              linear-gradient(145deg, rgba(32, 32, 32, 0.98), rgba(10, 10, 10, 0.98));
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.7);
  transition: transform 0.22s ease-out, box-shadow 0.22s ease-out, background 0.22s ease-out;
}

#wizard .sport-card:hover .card-icon {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.85);
  background: radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.16), transparent 65%),
              linear-gradient(145deg, rgba(40, 40, 40, 1), rgba(18, 18, 18, 1));
}

#wizard .sport-card .card-label {
  font-size: clamp(12px, 2.2vw, 14px);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.86);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: color 0.22s ease-out, transform 0.22s ease-out;
  line-height: 1.3;
}

#wizard .sport-card:hover .card-label {
  color: #d8f58a;
  transform: translateY(1px);
}

/* Clean sport-specific accents */
#wizard .sport-card[data-value="basketball"]:hover::before {
  background: linear-gradient(90deg, #FF6B35, #FF8C42);
}

#wizard .sport-card[data-value="basketball"]:hover .card-label {
  color: #FF6B35;
}

#wizard .sport-card[data-value="tennis"]:hover::before {
  background: linear-gradient(90deg, #C7F464, #D4FF8A);
}

#wizard .sport-card[data-value="tennis"]:hover .card-label {
  color: #C7F464;
}

#wizard .sport-card[data-value="football"]:hover::before {
  background: linear-gradient(90deg, #4ECDC4, #6FE6DE);
}

#wizard .sport-card[data-value="football"]:hover .card-label {
  color: #4ECDC4;
}

#wizard .sport-card[data-value="cricket"]:hover::before {
  background: linear-gradient(90deg, #FFD93D, #FFE66D);
}

#wizard .sport-card[data-value="cricket"]:hover .card-label {
  color: #FFD93D;
}

/* Base Cards Styling - Modern & Innovative */
#wizard .base-types-intro {
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(14px, 2.2vw, 16px);
  margin-bottom: 28px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

#wizard .base-card {
  position: relative;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(10, 10, 10, 0.98));
  border-radius: 20px;
  padding: 32px 28px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  width: 100%;
  height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#wizard .base-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(154, 199, 44, 0.15) 0%,
    transparent 40%,
    transparent 60%,
    rgba(154, 199, 44, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

#wizard .base-card:hover::before {
  opacity: 1;
}

#wizard .base-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(154, 199, 44, 0.6);
  box-shadow: 
    0 20px 40px rgba(154, 199, 44, 0.3),
    0 10px 25px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  background: linear-gradient(
    135deg,
    rgba(25, 25, 25, 0.98),
    rgba(15, 15, 15, 1)
  );
}

#wizard .base-card .card-glow {
  display: none;
}

#wizard .base-card .card-icon {
  font-size: clamp(42px, 6vw, 56px);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 24px;
  background: linear-gradient(
    145deg,
    rgba(40, 40, 40, 0.95),
    rgba(20, 20, 20, 0.98)
  );
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

#wizard .base-card .card-icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

#wizard .base-card:hover .card-icon::after {
  left: 100%;
}

#wizard .base-card:hover .card-icon {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 
    0 12px 30px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  background: linear-gradient(
    145deg,
    rgba(50, 50, 50, 1),
    rgba(30, 30, 30, 1)
  );
}

#wizard .base-card .card-label {
  font-size: clamp(13px, 2.3vw, 16px);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  line-height: 1.3;
  position: relative;
}

#wizard .base-card:hover .card-label {
  color: #d8f58a;
  transform: translateY(2px);
  text-shadow: 0 2px 8px rgba(154, 199, 44, 0.4);
}

/* Base-specific color themes */
#wizard .base-card[data-value="asphalt"]:hover {
  border-color: rgba(70, 70, 70, 0.8);
  box-shadow: 
    0 20px 40px rgba(70, 70, 70, 0.3),
    0 10px 25px rgba(0, 0, 0, 0.7);
}

#wizard .base-card[data-value="asphalt"]:hover .card-label {
  color: #b0b0b0;
}

#wizard .base-card[data-value="concrete"]:hover {
  border-color: rgba(150, 150, 150, 0.8);
  box-shadow: 
    0 20px 40px rgba(150, 150, 150, 0.3),
    0 10px 25px rgba(0, 0, 0, 0.7);
}

#wizard .base-card[data-value="concrete"]:hover .card-label {
  color: #e0e0e0;
}

#wizard .base-card[data-value="bitumen"]:hover {
  border-color: rgba(40, 40, 40, 0.8);
  box-shadow: 
    0 20px 40px rgba(40, 40, 40, 0.3),
    0 10px 25px rgba(0, 0, 0, 0.7);
}

#wizard .base-card[data-value="bitumen"]:hover .card-label {
  color: #606060;
}

#wizard .base-card[data-value="no-base"]:hover {
  border-color: rgba(100, 180, 100, 0.8);
  box-shadow: 
    0 20px 40px rgba(100, 180, 100, 0.3),
    0 10px 25px rgba(0, 0, 0, 0.7);
}

#wizard .base-card[data-value="no-base"]:hover .card-label {
  color: #90f090;
}

/* Step 3 specific grid layout */
#wizard .step[data-step="3"] .cards {
  grid-template-columns: repeat(4, 1fr);
  gap: 64px;
}

/* Layer Cards */
#wizard .step[data-step="5"] .cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  max-width: 700px;
  margin: 20px auto;
  padding: 20px 0;
}

#wizard .layer-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 30px 20px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#wizard .layer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(154, 199, 44, 0.2),
    transparent
  );
  transition: left 0.6s ease;
  z-index: 1;
}

#wizard .layer-card:hover::before {
  left: 100%;
}

#wizard .layer-card:hover {
  transform: translateY(-8px);
  border-color: #9AC72C;
  box-shadow: 0 20px 40px rgba(154, 199, 44, 0.3);
  background: rgba(154, 199, 44, 0.1);
}

#wizard .layer-card.active {
  background: rgba(154, 199, 44, 0.2);
  border-color: #9AC72C;
  box-shadow: 0 0 30px rgba(154, 199, 44, 0.5);
}

#wizard .layer-card .card-icon {
  font-size: 48px;
  margin-bottom: 12px;
  display: block;
  transition: transform 0.3s ease;
}

#wizard .layer-card:hover .card-icon {
  transform: scale(1.1);
}

#wizard .layer-card .card-label {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

#wizard .layer-card .card-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: radial-gradient(circle at center, rgba(154, 199, 44, 0.3), transparent 60%);
  border-radius: 16px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

#wizard .layer-card:hover .card-glow {
  opacity: 1;
}

/* Personal Details Step (Step 5) */
#wizard .step[data-step="5"] {
  display: none;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  min-height: 100%;
  position: relative;
  width: 100%;
}

#wizard .step[data-step="5"].active {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  animation: fadeIn 0.5s ease-in;
  padding-bottom: 20px;
}

#wizard .step[data-step="5"] lottie-player {
  max-width: 100%;
}

#wizard .personal-details-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  justify-content: space-between;
}

/* Progress Steps */
#wizard .progress-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  position: relative;
  padding: 0 40px;
}

#wizard .progress-steps::before {
  content: '';
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

#wizard .step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 120px;
}

#wizard .step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(154, 199, 44, 0.1);
  border: 2px solid #9AC72C;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #9AC72C;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

#wizard .step-indicator.active .step-number {
  background: #9AC72C;
  color: #000;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(154, 199, 44, 0.5);
}

#wizard .step-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin-top: 8px;
  transition: all 0.3s ease;
}

#wizard .step-indicator.active .step-label {
  color: #fff;
  font-weight: 600;
}

/* Form Content */
#wizard .form-content {
  padding: 20px 0;
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#wizard .form-step {
  display: none;
  animation: fadeIn 0.5s ease-in;
}

#wizard .form-step.active {
  display: block;
}

#wizard .form-group {
  margin-bottom: 20px;
  max-width: 400px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#wizard .form-input, #wizard .form-select {
  width: 100%;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

#wizard .form-input:focus, #wizard .form-select:focus {
  outline: none;
  border-color: #9AC72C;
  box-shadow: 0 0 0 2px rgba(154, 199, 44, 0.3);
}

#wizard .form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Navigation Buttons */
#wizard .form-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  bottom: 0;
  z-index: 10;
  background: rgba(31, 36, 40, 0.92);
  backdrop-filter: blur(10px);
}

#wizard .btn {
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
}

#wizard .btn-prev {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

#wizard .btn-next {
  background: #9AC72C;
  color: #000;
}

#wizard .btn-prev:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

#wizard .btn-next:hover {
  background: #a8d84f;
  box-shadow: 0 5px 15px rgba(154, 199, 44, 0.4);
}

#wizard .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Step Indicators */
#wizard .step-indicators {
  display: flex;
  gap: 10px;
}

#wizard .step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

#wizard .step-dot.active {
  background: #9AC72C;
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 900px) {
  #wizard .step[data-step="5"] {
    padding: 32px 16px;
  }

  #wizard .personal-details-container {
    max-width: 90vw;
  }

  #wizard .progress-steps {
    padding: 0 10px;
  }

  #wizard .step[data-step="5"] .cards {
    max-width: 600px;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  #wizard .progress-steps {
    padding: 0 20px;
  }
  
  #wizard .step-number {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  
  #wizard .step-label {
    font-size: 12px;
  }
  
  #wizard .form-content {
    padding: 20px 15px;
  }
  
  #wizard .btn {
    padding: 10px 20px;
    font-size: 13px;
  }
  
  #wizard .form-input, #wizard .form-select {
    padding: 12px 15px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  #wizard .progress-steps {
    padding: 0 10px;
  }
  
  #wizard .step-number {
    width: 36px;
    height: 36px;
  }
  
  #wizard .step-label {
    font-size: 10px;
  }
  
  #wizard .form-content {
    padding: 10px;
  }
  
  #wizard .btn {
    padding: 8px 15px;
    font-size: 12px;
  }
}

/* Step 4 specific layout */
#wizard .step[data-step="4"] {
  display: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px;
  min-height: 100%;
  position: relative;
  width: 100%;
}

#wizard .step[data-step="4"].active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.5s ease-in;
  text-align: center;
}

#wizard .step[data-step="4"] .cards {
  display: flex;
  justify-content: center;
  gap: 80px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Responsive design for Step 4 */
@media (max-width: 768px) {
  #wizard .step[data-step="4"].active {
    justify-content: flex-start;
    padding-top: 30px;
  }
  
  #wizard .step[data-step="4"] .cards {
    flex-direction: row;
    gap: 40px;
    max-width: 100%;
    padding: 20px;
  }
  
  #wizard .installer-card {
    padding: 32px 40px;
    height: 180px;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  #wizard .installer-card .card-icon {
    font-size: clamp(40px, 6vw, 60px);
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  #wizard .step[data-step="4"].active {
    justify-content: flex-start;
    padding-top: 20px;
  }
  
  #wizard .step[data-step="4"] .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 350px;
  }
  
  #wizard .installer-card {
    padding: 28px 30px;
    height: 160px;
    min-width: 160px;
  }
  
  #wizard .installer-card .card-icon {
    font-size: clamp(36px, 5.5vw, 52px);
    width: 70px;
    height: 70px;
  }
  
  #wizard .installer-card:hover {
    transform: translateY(-8px);
  }
}
@media (max-width: 768px) {
  #wizard .step[data-step="3"] .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 56px;
    max-width: 700px;
  }
  
  #wizard .base-card {
    padding: 28px 24px;
    height: 160px;
  }
  
  #wizard .base-card .card-icon {
    font-size: clamp(36px, 5vw, 48px);
    width: 76px;
    height: 76px;
  }
}

@media (max-width: 480px) {
  #wizard .step[data-step="3"] .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 450px;
  }
  
  #wizard .base-card {
    padding: 24px 20px;
    height: 140px;
  }
  
  #wizard .base-card .card-icon {
    font-size: clamp(32px, 4.5vw, 42px);
    width: 68px;
    height: 68px;
  }
  
  #wizard .base-card:hover {
    transform: translateY(-4px);
  }
}
@media (max-width: 768px) {
  #wizard .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 42px;
    justify-items: stretch;
    align-items: stretch;
  }
  
  #wizard .sport-card .card-icon {
    font-size: clamp(40px, 5.5vw, 52px);
    margin-bottom: 16px;
    width: 80px;
    height: 80px;
  }
  
  #wizard .sport-card {
    padding: 24px 20px;
    height: 140px;
  }
  
  #wizard .court-types-intro {
    margin-bottom: 24px;
  }
}

@media (max-width: 480px) {
  #wizard .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
    justify-items: stretch;
    align-items: stretch;
  }
  
  #wizard .sport-card .card-icon {
    font-size: clamp(36px, 4.8vw, 44px);
    margin-bottom: 14px;
    width: 68px;
    height: 68px;
  }
  
  #wizard .sport-card {
    padding: 20px 16px;
    height: 120px;
  }
  
  #wizard .sport-card:hover {
    transform: translateY(-2px);
  }
}

/* =========================================
   FINAL FIX: BLACK PLACEHOLDER (ASTRA SAFE)
   ========================================= */

/* Override Astra variables inside wizard */
#wizard {
  --ast-form-input-text: #000000;
  --ast-comment-inputs-background: #ffffff;
}

/* Force input appearance */
.pw-plugin-wrapper #wizard input.form-input {
  background-color: #ffffff !important;
  color: #000000 !important;       /* typed text */
  border: 2px solid #2a2a2a !important;
}

/* FORCE placeholder to BLACK */
.pw-plugin-wrapper #wizard input.form-input::placeholder {
  color: #000000 !important;
  opacity: 1 !important;
}

.pw-plugin-wrapper #wizard input.form-input::-webkit-input-placeholder {
  color: #000000 !important;
  opacity: 1 !important;
}

.pw-plugin-wrapper #wizard input.form-input::-moz-placeholder {
  color: #000000 !important;
  opacity: 1 !important;
}

.pw-plugin-wrapper #wizard input.form-input:-ms-input-placeholder {
  color: #000000 !important;
  opacity: 1 !important;
}

/* Autofill fix (important) */
.pw-plugin-wrapper #wizard input.form-input:-webkit-autofill,
.pw-plugin-wrapper #wizard input.form-input:-webkit-autofill:hover,
.pw-plugin-wrapper #wizard input.form-input:-webkit-autofill:focus {
  -webkit-text-fill-color: #000000 !important;
  box-shadow: 0 0 0px 1000px #ffffff inset !important;
}

/* Focus state */
.pw-plugin-wrapper #wizard input.form-input:focus {
  border-color: #6aff00 !important;
  outline: none !important;
}

/* Additional responsive fixes for wizard */
@media (max-width: 1024px) {
  #wizard .step[data-step="2"] .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  
  #wizard .step[data-step="1"] .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  #wizard .step[data-step="1"] .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  #wizard .step[data-step="2"] .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  #wizard .step[data-step="3"] .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 480px) {
  #wizard .step[data-step="1"] .cards,
  #wizard .step[data-step="2"] .cards,
  #wizard .step[data-step="3"] .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 420px;
    margin: 0 auto;
  }

  /* Layer System cards (Step 5 form-step 2) */
  #wizard .step[data-step="5"] .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-width: 420px;
    margin: 16px auto 0;
    padding: 12px 0;
  }

  #wizard .layer-card {
    height: auto;
    min-height: 120px;
    padding: 20px 14px;
  }
  
  #wizard .card {
    height: auto;
    min-height: 100px;
  }
  
  #wizard .card .card-icon {
    font-size: 32px;
    width: 60px;
    height: 60px;
  }
  
  #wizard .card .card-label {
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  #wizard .step[data-step="5"] .cards {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   THANK YOU (STEP 6)
   =============================== */
#wizard .step[data-step="6"] {
  display: none;
  max-width: 980px;
  margin: 0 auto;
  padding: 44px 24px;
  position: relative;
  width: 100%;
}

#wizard .step[data-step="6"].active {
  display: block;
  animation: fadeIn 0.5s ease-in;
}

#wizard .thank-you-container {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

#wizard .thank-you-container h2 {
  font-size: clamp(30px, 4.4vw, 54px);
  margin: 0 0 10px;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #b7ea39 0%, #9AC72C 45%, #e2ff8d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 14px 40px rgba(154, 199, 44, 0.14);
}

#wizard .thank-you-message {
  font-size: clamp(15px, 2.1vw, 18px);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  margin: 0 auto 28px;
  max-width: 60ch;
}

#wizard .next-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
}

#wizard a.option-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

#wizard .option-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 26px 22px;
  min-height: 190px;
  background: radial-gradient(120% 120% at 0% 0%, rgba(154, 199, 44, 0.12), transparent 55%),
              linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
  transform: translateZ(0);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

#wizard .option-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(60% 60% at 20% 10%, rgba(154, 199, 44, 0.65), transparent 55%),
              radial-gradient(60% 60% at 80% 70%, rgba(255, 255, 255, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

#wizard .option-card:hover {
  transform: translateY(-4px);
  border-color: rgba(154, 199, 44, 0.45);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.55);
}

#wizard .option-card:hover::before {
  opacity: 1;
}

#wizard .option-card .card-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px 16px;
  align-items: center;
  text-align: left;
}

#wizard .option-card .card-icon {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 38px;
  background: radial-gradient(70% 70% at 25% 10%, rgba(255, 255, 255, 0.16), transparent 55%),
              linear-gradient(145deg, rgba(10, 10, 10, 0.9), rgba(24, 24, 24, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.45);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

#wizard .option-card:hover .card-icon {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.6);
}

#wizard .option-card .card-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

#wizard .option-card .card-description {
  grid-column: 2 / 3;
  margin: -6px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

#wizard .thank-you-actions {
  margin-top: 26px;
}

#wizard .btn.btn-primary {
  background: linear-gradient(135deg, #9AC72C 0%, #7FA024 100%);
  color: #0b0f12;
  border: none;
  padding: 12px 26px;
  font-size: 14px;
  font-weight: 800;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
  box-shadow: 0 14px 36px rgba(154, 199, 44, 0.22);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

#wizard .btn.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 18px 44px rgba(154, 199, 44, 0.28);
}

@media (max-width: 768px) {
  #wizard .step[data-step="6"] {
    padding: 36px 16px;
  }

  #wizard .next-options {
    grid-template-columns: 1fr;
  }

  #wizard .option-card .card-content {
    grid-template-columns: 64px 1fr;
  }

  #wizard .option-card .card-icon {
    width: 64px;
    height: 64px;
    font-size: 32px;
    border-radius: 16px;
  }
}

@media (max-width: 360px) {
  #wizard .step[data-step="1"] .cards,
  #wizard .step[data-step="2"] .cards,
  #wizard .step[data-step="3"] .cards {
    grid-template-columns: 1fr;
  }
}
