body.configurator-body {
  background: radial-gradient(circle at top, #111, #000);
  font-family: "Poppins", sans-serif;
}

.configurator-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.configurator-modal {
  width: min(92%, 700px);
  background: linear-gradient(180deg, #111, #000);
  border-radius: 22px;
  padding: 40px;
  box-shadow: 0 0 80px rgba(255,215,0,0.15);
  border: 1px solid rgba(255,215,0,0.25);
  text-align: center;
}

.configurator-modal h2 {
  color: #ffd700;
  font-size: clamp(22px, 3vw, 32px);
  margin-bottom: 28px;
}
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}












.option-card {
  background: #111;
  border-radius: 16px;
  padding: 18px;
  cursor: pointer;
  border: 1px solid #333;
  transition: all 0.35s ease;
  color: #ffd700;        /* GOLD TEXT */
  font-weight: 600;
  font-size: 15px;
}

.option-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(255,215,0,0.2);
}

.option-card.selected {
  border-color: #ffd700;
  box-shadow: 0 0 25px rgba(255,215,0,0.45);
}

.option-card img {
  width: 100%;
  border-radius: 12px;
}

.option-card p {
  margin-top: 12px;
  color: #ffd700;
  font-weight: 600;
}


.animate-in {
  animation: modalIn 0.6s cubic-bezier(.22,.61,.36,1);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}




/* ================================
   MOBILE CONFIGURATOR FIXES
================================ */
@media (max-width: 768px) {

  /* Modal sizing */
  .configurator-modal {
    width: 94%;
    max-height: 88vh;
    padding: 22px 18px 26px;
    border-radius: 18px;
    overflow-y: auto;
  }

  /* Hide scroll bar but keep scroll */
  .configurator-modal::-webkit-scrollbar {
    display: none;
  }

  /* Question heading */
  .configurator-modal h2 {
    font-size: 20px;
    line-height: 1.35;
    margin-bottom: 18px;
    letter-spacing: 0.6px;
  }

  /* Options grid → 2 columns */
  .option-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  /* Option cards */
  .option-card {
    padding: 14px 10px;
    border-radius: 14px;
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .option-card p {
    font-size: 14px;
    line-height: 1.3;
    text-align: center;
  }

  /* Selected state (stronger on mobile) */
  .option-card.selected {
    transform: scale(1.03);
    box-shadow: 0 0 18px rgba(255,215,0,0.55);
  }

  /* Next button */
  .config-actions {
    margin-top: 22px;
  }

  #nextBtn {
    width: 100%;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 600;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffd700, #b8962e);
    color: #000;
    border: none;
  }

  #nextBtn:disabled {
    opacity: 0.4;
  }

  /* Entry animation (lighter on mobile) */
  .animate-in {
    animation: modalInMobile 0.5s cubic-bezier(.22,.61,.36,1);
  }

  @keyframes modalInMobile {
    from {
      opacity: 0;
      transform: translateY(40px) scale(0.97);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
}











/* ================================
   BACK BUTTON
================================ */

.back-btn {
  background: transparent;
  border: 1px solid rgba(255,215,0,0.4);
  color: #ffd700;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background: rgba(255,215,0,0.1);
}

/* Disabled state */
.back-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Mobile full-width (optional) */
@media (max-width: 768px) {
  .back-btn {
    width: 100%;
    margin-bottom: 10px;
  }
}



/* ================================
   BACK BUTTON TOP-LEFT POSITION
================================ */

.configurator-modal {
  position: relative; /* REQUIRED for absolute positioning */
}

.back-btn {
  position: absolute;
  top: 16px;
  left: 16px;

  padding: 8px 16px;
  font-size: 13px;
  border-radius: 999px;

  background: transparent;
  border: 1px solid rgba(255,215,0,0.45);
  color: #ffd700;

  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

/* Hover effect */
.back-btn:hover {
  background: rgba(255,215,0,0.12);
}

/* Disabled state */
.back-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .back-btn {
    top: 12px;
    left: 12px;
    padding: 7px 14px;
    font-size: 12px;
  }
}



.final-form input,
.final-form textarea {
  width: 100%;
  background: #111;
  border: 1px solid #333;
  color: #ffd700;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.form-row {
  display: flex;
  gap: 10px;
}
.checkbox-group {
  display: flex;
  flex-direction: column;
  color: #eae6e6;
  gap: 8px;
  margin-bottom: 16px;
}
.submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #ffd700, #b8962e);
  color: #000;
  border-radius: 999px;
  font-weight: 700;
}
.checkbox{
  color: #eae6e6;
  margin-bottom: 20px;
}
.success-message {
  text-align: center;
  padding: 40px 20px;
  animation: fadeInUp 0.6s ease forwards;
}

.success-message h2 {
  color: #00ff6a;
  font-size: 32px;
  margin-bottom: 12px;
}

.success-message p {
  color: #cfcfcf;
  font-size: 16px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}









.back-home-btn {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;

  color: #000;
  background: linear-gradient(135deg, #ffd700, #b8962e);
  border-radius: 30px;

  box-shadow:
    0 8px 25px rgba(255, 215, 0, 0.35),
    inset 0 1px 1px rgba(255,255,255,0.4);

  transition: all 0.35s ease;
}

.back-home-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 14px 35px rgba(255, 215, 0, 0.5);
}

/* Mobile */
@media (max-width: 768px) {
  .back-home-btn {
    width: 100%;
    max-width: 260px;
    text-align: center;
    padding: 14px 20px;
  }
}

/* ===============================
   MOBILE BACK BUTTON FIX
================================ */
@media (max-width: 768px) {

  .configurator-modal {
    position: relative;
    padding-top: 56px; /* space for back button */
  }

  .config-actions {
    position: absolute;
    top: 12px;
    left: 12px;
    margin: 0;
    padding: 0;
    justify-content: flex-start;
  }

  .back-btn {
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 999px;
    min-width: auto;
    height: auto;
    line-height: 1;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid #ffd700;
    color: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.25);
  }
}



/* Mobile floating back button */
@media (max-width: 768px) {
  .mobile-back {
    position: fixed;
    top: 12px;
    left: 12px;
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 20px;
    background: #000;
    color: #ffd700;
    border: 1px solid #ffd700;
    z-index: 9999;
    width: auto;
  }
}

/* ================================
   FORM TEXT COLOR FIX (WHITE)
================================ */

/* Input & textarea text */
.config-form input,
.config-form textarea {
  color: #ffffff;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,215,0,0.35);
}

/* Placeholder text */
.config-form input::placeholder,
.config-form textarea::placeholder {
  color: rgba(255,255,255,0.55);
}

/* Labels & helper text */
.config-form label,
.config-form .form-label,
.config-form p,
.config-form span {
  color: #ffffff;
}

/* Checkbox / radio text */
.config-form .option-label {
  color: #ffffff;
}

/* Focus state */
.config-form input:focus,
.config-form textarea:focus {
  outline: none;
  border-color: #ffd700;
  box-shadow: 0 0 0 2px rgba(255,215,0,0.25);
}

@media (max-width: 768px) {
input[type="checkbox"] {
margin: 0 auto;
display: block;
}
}
