/* ========= Diesel Designs Form — Bold, Colorful, Table-like ========= */
:root{
  --bg:#000; --text:#fff; --muted:#cfcfcf; --border:#1c1c1c;
  --panel:#0b0b0b; --row:#0f0f10; --rowAlt:#101219;
  --pink:#fe8ed3; --teal:#65e2e3; --purple:#936aed; --white:#ffffff;
  --shadow:0 12px 28px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html,body{
  margin:0; padding:0; background:var(--bg); color:var(--text);
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}

/* Container */
.container{max-width:980px;margin:0 auto;padding:24px}

/* Buttons */
.btn{
  display:inline-block; border-radius:12px; padding:10px 16px; font-weight:900;
  color:#000; background:var(--teal); border:1px solid transparent; box-shadow:var(--shadow);
}
.btn:hover{filter:brightness(1.06)}
.btn.grad{background:linear-gradient(90deg,var(--pink),var(--teal));}
.btn.secondary{background:#141414;color:#fff;border-color:#222}

/* Intro Card */
.card{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:18px;
  padding:20px;
  box-shadow:var(--shadow);
  margin-bottom:18px;
}
.intro h1{
  margin:0 0 8px;
  font-size:28px;
  background:linear-gradient(90deg,var(--pink),var(--teal),var(--purple));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.intro h2{margin:14px 0 6px; color:var(--teal); font-size:18px}
.intro p,.intro li{color:#e9e9e9; line-height:1.5}
.intro ul{margin:8px 0 0 18px}
.intro .actions{margin-top:12px}

/* Section Card */
.section{
  background:#0c0c0f; border:1px solid var(--border); border-radius:18px; padding:0; box-shadow:var(--shadow);
  overflow:hidden; margin-bottom:20px;
}
.section .header{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:16px 18px; border-bottom:1px solid var(--border);
  background:linear-gradient(90deg, rgba(254,142,211,.08), rgba(101,226,227,.08));
}
.section .header h3{margin:0; font-size:20px; color:var(--pink)}
.section .header small{color:var(--muted)}

/* ===================== TABLE-LIKE QUESTION ROWS ===================== */
/* Each question is a "row" with a left label and right field area */
#form-root{padding:14px}
.q{
  display:grid;
  grid-template-columns: 260px 1fr;
  gap:0;
  border:1px solid var(--border);
  border-radius:14px;
  overflow:hidden;
  background:var(--row);
  margin-bottom:12px;
  box-shadow: 0 0 0 1px #000 inset;
  position:relative;
}
.q::before{
  /* colorful accent strip on the left */
  content:"";
  position:absolute; left:0; top:0; bottom:0; width:6px;
  background:linear-gradient(180deg,var(--pink),var(--teal),var(--purple));
}

/* alternate row background for gentle zebra effect */
.q:nth-child(2n){ background:var(--rowAlt); }

.label{
  padding:14px 16px 14px 20px;
  border-right:1px solid var(--border);
  background:linear-gradient(180deg, rgba(254,142,211,.06), rgba(101,226,227,.02));
}
.label .question{
  display:block;
  font-weight:900;
  color:var(--teal);
  margin-bottom:4px;
}
.label .req{ color:var(--pink); margin-left:4px; }
.label .helper{ color:var(--muted); font-size:12px; margin-top:6px }

/* Right "cell" */
.q > .field{
  padding:14px 16px;
}

/* Inputs (right cell) */
.input, textarea, select, input[type="text"], input[type="email"]{
  width:100%;
  background:#0a0a0a;
  color:#fff;
  border:1px solid #2a2a2a;
  border-radius:10px;
  padding:12px;
  outline: none;
  transition: box-shadow .15s, border-color .15s, transform .05s;
}
.input::placeholder, textarea::placeholder{ color:#8a8a8a }
.input:focus, textarea:focus, select:focus, input[type="text"]:focus, input[type="email"]:focus{
  box-shadow:0 0 0 3px rgba(101,226,227,.35);
  border-color:transparent;
}

/* Checkbox pills for multi-select */
.checkbox-group{
  display:flex; flex-wrap:wrap; gap:10px;
}
.checkbox{
  display:inline-flex; align-items:center; gap:8px;
  padding:9px 12px;
  background:#0a0a0a;
  border:1px solid #2a2a2a;
  border-radius:999px;
  font-size:14px;
}
.checkbox input{ accent-color: var(--teal); }

/* File input helper */
.helper{ color:var(--muted); font-size:12px; margin-top:6px }

/* Responsive: stack label/field on narrow screens */
@media (max-width: 780px){
  .q{ grid-template-columns: 1fr; }
  .label{ border-right:0; border-bottom:1px solid var(--border); }
}

/* ===================== TERMS GATE ===================== */
.terms-wrap{ padding:14px; }
.terms{
  height:220px; overflow:auto; background:#0a0a0a; border:1px solid #2a2a2a;
  border-radius:12px; padding:12px; color:#ddd;
}
.agree{
  display:flex; align-items:center; gap:10px; padding:12px 14px 6px 14px;
}
.submit{
  display:flex; gap:12px; align-items:center; padding:0 14px 16px 14px;
}
.status{ font-size:12px; color:var(--muted) }
