
/* Base wrapper */
.gcq-wrap {
  --gcq-bg: #0b0d10;
  --gcq-panel: #11151a;
  --gcq-text: #e8eef3;
  --gcq-muted: #a9b6c2;
  --gcq-primary: #79c2ff;
  --gcq-primary-contrast: #0b0d10;
  --gcq-border: #1b222b;
  --gcq-focus: #b3e1ff;
  --gcq-danger: #ff8e8e;
  display: block;
  max-width: 760px;
  margin: 0 auto;
  color: var(--gcq-text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* Start button */
.gcq-start {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, #16202a, #0f141a);
  color: var(--gcq-text);
  border: 1px solid var(--gcq-border);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
  cursor: pointer;
}
.gcq-start:hover { transform: translateY(-1px); }
.gcq-logo { height: 22px; width: auto; }

/* Form panel */
.gcq-form {
  margin-top: 16px;
  background: var(--gcq-panel);
  border: 1px solid var(--gcq-border);
  border-radius: 16px;
  padding: 18px;
  display: none;
}

/* Progress */
.gcq-progress {
  height: 8px;
  background: #0e1217;
  border: 1px solid var(--gcq-border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 16px;
}
.gcq-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #68b6ff, #5ad1ff);
}

/* Step box */
.gcq-stepbox {
  background: var(--gcq-bg);
  border: 1px solid var(--gcq-border);
  border-radius: 14px;
  padding: 16px;
}

.gcq-step h3 {
  margin: 0 0 10px;
  font-size: 18px;
}
.gcq-field {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.gcq-field label {
  font-size: 14px;
  color: var(--gcq-muted);
}
.gcq-field input[type="text"],
.gcq-field input[type="email"],
.gcq-field input[type="tel"],
.gcq-field input[type="number"],
.gcq-field input[type="file"],
.gcq-field select,
.gcq-field textarea {
  width: 100%;
  background: #0f141a;
  color: var(--gcq-text);
  border: 1px solid var(--gcq-border);
  border-radius: 10px;
  padding: 10px 12px;
}
.gcq-field .gcq-inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Choices */
.gcq-choices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gcq-choice {
  display: flex; align-items: center; gap: 8px;
  background: #0f141a;
  border: 1px solid var(--gcq-border);
  padding: 10px 12px; border-radius: 12px;
}
.gcq-choice input { accent-color: #69c0ff; }

/* Controls */
.gcq-controls {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  justify-content: space-between;
}
.gcq-prev, .gcq-next, .gcq-submit {
  border: 1px solid var(--gcq-border);
  background: #0f141a;
  color: var(--gcq-text);
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.gcq-next { background: var(--gcq-primary); color: var(--gcq-primary-contrast); border-color: #4ba9ff; }
.gcq-prev[disabled] { opacity: .5; cursor: not-allowed; }
.gcq-status { margin-top: 10px; color: var(--gcq-muted); min-height: 1.2em; }

/* Summary */
.gcq-summary {
  display: grid;
  gap: 8px;
  background: #0f141a;
  border: 1px dashed var(--gcq-border);
  border-radius: 12px;
  padding: 12px;
  font-size: 14px;
}

/* Mobile responsiveness */
@media (max-width: 900px) {
  .gcq-choices { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .gcq-start { padding: 14px; border-radius: 12px; }
  .gcq-form { padding: 14px; }
  .gcq-field .gcq-inline { grid-template-columns: 1fr; }
  .gcq-choices { grid-template-columns: 1fr; }
  .gcq-step h3 { font-size: 16px; }
  .gcq-field label { font-size: 13px; }
  .gcq-prev, .gcq-next, .gcq-submit { padding: 9px 12px; font-size: 14px; }
}

/* Safety: keep everything inside */
.gcq-wrap, .gcq-wrap * { box-sizing: border-box; }
.gcq-wrap { overflow: hidden; }
