
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* =========================
   Redo – New Brand Tokens
========================= */
:root{
  --redo-orange: #ff6b35;
  --redo-orange-hover: #ff5520;

  --redo-ink: #0f172a;
  --redo-muted: #64748b;

  --redo-border: #e5e7eb;
  --redo-surface: #ffffff;

  --redo-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

/* =========================
   Base + Background
========================= */
body {
  font-family: Arial, sans-serif;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  background: url('my-background.jpg') no-repeat center center;
  background-size: cover;
  background-position: center;

  align-items: center;
  min-height: 100vh;
  margin: 0;
  position: relative;
  z-index: 0;
}

/* Warm orange + dark hero overlay */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(255,107,53,0.28),
      rgba(2,6,23,0.55)
    );
  pointer-events: none;
  z-index: -1; /* 🔑 prevents dimming of timer + UI */
}

/* Lift content above overlay */
.navbar,
h1,
p,
.container,
.processing-container,
#consentPage {
  position: relative;
  z-index: 1;
}

/* =========================
   Navbar
========================= */
.navbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 24px;
  background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 100%);
  border-bottom: 1px solid rgba(229,231,235,0.9);
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  z-index: 1000;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(15,23,42,0.06);
}

.navbar img {
  width: 170px;
  padding-left: 24px;
}

/* =========================
   Hero Text
========================= */
h1 {
  color: #ffffff;
  text-align: center;
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-top: 120px;
  margin-bottom: 10px;
  text-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

p {
  font-size: 1.35rem;
  color: rgba(255,255,255,0.92);
  text-align: center;
  line-height: 1.6;
  margin: 0 10px 22px;
  text-shadow: 0 8px 26px rgba(0,0,0,0.35);
}

/* =========================
   Card Container
========================= */
.container {
  width: 100%;
  max-width: 720px;
  background: var(--redo-surface);
  padding: 28px;
  border-radius: 14px;
  border: 1px solid rgba(229,231,235,0.9);
  box-shadow: var(--redo-shadow);
  margin-top: 70px;
}

.step { display: none; }
.step.active { display: block; }

.container h2 {
  color: var(redo-ink--);
  margin-bottom: 14px;
}


/* =========================
   Buttons
========================= */
.buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  gap: 12px;
}

.buttons button,
.grid button,
#options-container button,
.consent,
.submit-address {
  background: var(--redo-orange);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
}

.buttons button:hover,
.grid button:hover,
#options-container button:hover,
.consent:hover,
.submit-address:hover {
  background: var(--redo-orange-hover);
}

.buttons .previous {
  background: #f1f5f9;
  color: var(--redo-ink);
  border: 1px solid var(--redo-border);
}

.buttons .previous:hover {
  background: #eaf0f7;
}

button:disabled {
  background: #e5e7eb !important;
  color: #94a3b8 !important;
  cursor: not-allowed;
}
/* =========================
   FIX: Dynamic option buttons
========================= */

/* Ensure options container lays out buttons vertically */
#options-container{
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-top: 12px !important;
}

/* Make each option button a normal full-width button */
#options-container button{
  width: 100% !important;
  display: block !important;

  padding: 14px 16px !important;
  border-radius: 12px !important;

  background: #fff !important;
  color: var(--redo-ink) !important;

  border: 1px solid var(--redo-border) !important;

  font-weight: 700 !important;
  font-size: 14px !important;

  box-shadow: 0 2px 10px rgba(15,23,42,0.06) !important;

  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease !important;
}

/* Hover state */
#options-container button:hover{
  border-color: rgba(255,107,53,0.55) !important;
  background: rgba(255,107,53,0.06) !important;
  box-shadow: 0 10px 24px rgba(15,23,42,0.12) !important;
  transform: translateY(-1px) !important;
}

/* Active click state */
#options-container button:active{
  transform: translateY(0) !important;
  box-shadow: 0 6px 18px rgba(15,23,42,0.10) !important;
}

/* =========================
   FIX: Prev/Next buttons sizing
========================= */
.buttons{
  align-items: center !important;
}

.buttons .previous,
.buttons .next,
.buttons .submit,
.submit-address,
.consent{
  min-width: 110px !important;
  height: 40px !important;
  padding: 10px 16px !important;
  border-radius: 10px !important;
}

/* Keep Next orange, Previous neutral */
.buttons .next,
.buttons .submit,
.submit-address,
.consent{
  background: var(--redo-orange) !important;
  color: #fff !important;
}

.buttons .previous{
  background: #f1f5f9 !important;
  color: var(--redo-ink) !important;
  border: 1px solid var(--redo-border) !important;
}

/* Disabled state looking clean */
button:disabled{
  background: #e5e7eb !important;
  color: #94a3b8 !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: none !important;
}


/* =========================
   Inputs
========================= */
input,
textarea {
  border: 1px solid var(--redo-border) !important;
  border-radius: 10px !important;
  padding: 12px 14px !important;
  font-size: 16px !important;
}

input:focus,
textarea:focus {
  border-color: rgba(255,107,53,0.55) !important;
  box-shadow: 0 0 0 4px rgba(255,107,53,0.18) !important;
}

/* =========================
   Error Messages
========================= */
.error-message {
  color: #ef4444;
  font-size: 14px;
  font-weight: 600;
  display: none;
  margin-top: 6px;
}

/* =========================
   Timer Banner Fix + Restyle
========================= */
/* Lift injected timer above overlay */
#formContainer + div {
  position: relative !important;
  z-index: 10 !important;

  opacity: 1 !important;
  -webkit-filter: none !important;
          filter: none !important;
  -webkit-backdrop-filter: none !important;
          backdrop-filter: none !important;

  background: #ffffff !important;
  border: 1px solid rgba(255,107,53,0.22) !important;
  box-shadow: 0 10px 26px rgba(0,0,0,0.14) !important;
  border-radius: 14px !important;
}

/* Timer text */
#formContainer + div span {
  color: #0f172a !important;
  font-weight: 600 !important;
}

/* Countdown pill */
#formContainer + div div {
  background: linear-gradient(135deg, #ff6b35, #ff8a5c) !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  font-weight: 800 !important;
}

/* =========================
   Processing Spinner
========================= */
.spinner {
  border: 4px solid #f3f4f6;
  border-top: 4px solid var(--redo-orange);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  -webkit-animation: spin 2s linear infinite;
          animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =========================
   Utilities
========================= */
body.noscroll {
  overflow: hidden !important;
}

/* =========================
   Responsive
========================= */
@media (max-width: 600px) {
  h1 {
    font-size: 2.1rem;
    margin-top: 80px;
  }

  p {
    font-size: 1.05rem;
  }

  .icon-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    justify-items: center;

  }

  .container {
    padding: 16px;
    width: 95%;
  }
}
.processing-container {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}


#timerDisplay {
  display: flex;
  align-items: center;
  justify-content: space-between;

  max-width: 600px;
  margin: 20px auto;
  padding: 10px 20px;

  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#timerDisplay span:first-child {
  flex: 1;
  padding-right: 10px;

  font-size: 15px;
  color: #2E3B4E;
}

#countdownDisplay {
  min-width: 80px;
  padding: 10px 15px;

  font-size: 24px;
  font-weight: bold;
  text-align: center;

  color: #ffffff;
  background: #ff8a5c;
  border-radius: 8px;
}
.consentPage {
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin-top: 0;
}
#consentPage {
  display: none;
}

.step-submit {
  min-width: 110px;
  height: 40px;
  padding: 10px 16px;
  border-radius: 10px;

  background: #ff6b35; /* redo-orange */
  color: #fff;
  border: none;
  font-weight: 700;
  cursor: pointer;

  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.step-submit:hover {
  background: #ff5520; /* redo-orange-hover */
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15,23,42,0.12);
}

.step-submit:disabled {
  background: #e5e7eb;
  color: #94a3b8;
  cursor: not-allowed;
  box-shadow: none;
}

.buttons .step-submit {
  margin-left: auto;
}

#idConsent {
  min-width: 110px;
  height: 40px;
  padding: 10px 16px;
  border-radius: 10px;

  background: var(--redo-orange);
  color: #fff;
  border: none;
  font-weight: 700;
  cursor: pointer;

  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

#idConsent:hover {
  background: var(--redo-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15,23,42,0.12);
}

#idConsent:disabled {
  background: #e5e7eb;
  color: #94a3b8;
  cursor: not-allowed;
  box-shadow: none;
}


.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 18px;
}


.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}

.icon-item:hover {
  background: rgba(255,107,53,0.08);
  transform: translateY(-1px);
}

.icon-item i {
  font-size: 40px;
  color: var(--redo-orange);
}
.icon-item span {
  text-align: center;
  width: 100%;
}
.icon-item span {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--redo-ink);
}

.icon-item[data-value="Sinks"] {
  grid-column: 2;
}