/* ============================================================
   SUGGEST A TOPIC PAGE
   Loaded by web-lab/suggest-topic.blade.php
============================================================ */

/* ── Hero additions ────────────────────────────────────────── */
.st-hero { text-align: center; }
.st-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #00C2FF;
  margin-bottom: 16px;
}
.st-hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: 0 0 16px;
}
.st-hero-title span { color: #00C2FF; }
.st-hero-desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 28px;
}
.st-hero-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.st-hero-pills span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  font-size: .8125rem;
  color: rgba(255,255,255,.65);
  font-family: 'Space Grotesk', sans-serif;
}
.st-hero-pills span i { color: #00C2FF; font-size: .75rem; }

/* ── Body layout ───────────────────────────────────────────── */
.st-body {
  background: #f2f4f8;
  padding: 56px 0 80px;
}
.st-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}

/* ── Success banner ────────────────────────────────────────── */
.st-success {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: .9375rem;
  color: #166534;
  line-height: 1.6;
}
.st-success i { font-size: 1.25rem; color: #22c55e; flex-shrink: 0; margin-top: 1px; }

/* ── Form wrap ─────────────────────────────────────────────── */
.st-form-wrap {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(10,22,40,.07);
  padding: 36px 40px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

/* ── Form fields ───────────────────────────────────────────── */
.st-form { display: flex; flex-direction: column; gap: 22px; }

.st-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.st-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.st-field { display: flex; flex-direction: column; gap: 6px; }

.st-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .8125rem;
  font-weight: 600;
  color: #374151;
  letter-spacing: .01em;
}
.st-req { color: #ef4444; }

.st-input {
  padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  background: #fafbfc;
  font-family: 'Inter', sans-serif;
  font-size: .9375rem;
  color: #0f172a;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  width: 100%;
}
.st-input:focus {
  border-color: #6C47FF;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(108,71,255,.1);
}
.st-input.is-error { border-color: #ef4444; }
.st-input.is-error:focus { box-shadow: 0 0 0 3px rgba(239,68,68,.1); }
.st-textarea { resize: vertical; min-height: 120px; line-height: 1.65; }

/* Select */
.st-select-wrap { position: relative; }
.st-select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 11px 36px 11px 14px;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  background: #fafbfc;
  font-family: 'Inter', sans-serif;
  font-size: .9375rem;
  color: #0f172a;
  outline: none;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.st-select:focus {
  border-color: #6C47FF;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(108,71,255,.1);
}
.st-select.is-error { border-color: #ef4444; }
.st-select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: .75rem;
  color: #94a3b8;
  pointer-events: none;
}

.st-error {
  font-size: .8rem;
  color: #ef4444;
  margin: 0;
}

/* Checkbox ─────────────────────────────────────────────────── */
.st-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.st-checkbox input { position: absolute; opacity: 0; width: 0; height: 0; }
.st-checkbox-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid #d1d5db;
  background: #fafbfc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color .15s, background .15s;
}
.st-checkbox-box i { font-size: .75rem; color: #fff; opacity: 0; transition: opacity .15s; }
.st-checkbox input:checked ~ .st-checkbox-box {
  background: #6C47FF;
  border-color: #6C47FF;
}
.st-checkbox input:checked ~ .st-checkbox-box i { opacity: 1; }
.st-checkbox-label { font-size: .9rem; color: #475569; }

/* Submit button ────────────────────────────────────────────── */
.st-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6C47FF, #00C2FF);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .9375rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: opacity .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(108,71,255,.3);
  align-self: flex-start;
}
.st-submit:hover {
  opacity: .92;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(108,71,255,.4);
}

/* ── Aside cards ───────────────────────────────────────────── */
.st-aside { display: flex; flex-direction: column; gap: 20px; }

.st-aside-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(10,22,40,.07);
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.st-aside-card-dark {
  background: #0A1628;
  border-color: rgba(255,255,255,.07);
}
.st-aside-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(108,71,255,.12), rgba(0,194,255,.08));
  border: 1px solid rgba(108,71,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: #6C47FF;
  margin-bottom: 14px;
}
.st-aside-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .9375rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px;
}
.st-aside-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.st-aside-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  color: #475569;
}
.st-aside-steps li span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6C47FF, #00C2FF);
  color: #fff;
  font-size: .6875rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.st-aside-formats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.st-aside-fmt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  font-size: .8125rem;
  color: rgba(255,255,255,.7);
}
.st-aside-fmt i { color: #00C2FF; font-size: .875rem; }
.st-aside-note {
  font-size: .8125rem;
  color: rgba(255,255,255,.4);
  line-height: 1.6;
  margin: 0;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .st-layout { grid-template-columns: 1fr; }
  .st-aside { flex-direction: row; }
  .st-aside-card { flex: 1; }
}
@media (max-width: 640px) {
  .st-form-wrap { padding: 24px 20px; }
  .st-row-2, .st-row-3 { grid-template-columns: 1fr; }
  .st-aside { flex-direction: column; }
}
