/* Halaman Feedback (hub, instrumen, modul) */
.fi-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 18px 64px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #0a1628;
}
.fi-hero {
  margin-bottom: 24px;
}
.fi-hero--center {
  text-align: center;
}
.fi-hero h1 {
  font-size: clamp(26px, 4.5vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  color: #0a1628;
}
.fi-lead {
  font-size: 16px;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 10px;
}
.fi-note {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 20px;
}

/* Tautan kembali ke hub */
.fi-backlink {
  margin: 0 0 16px;
  font-size: 13px;
}
.fi-backlink a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(10, 22, 40, 0.06);
  border-radius: 999px;
  color: #475569;
  text-decoration: none;
  font-weight: 600;
  transition: border-color 0.15s, color 0.15s;
}
.fi-backlink a:hover {
  color: #125aa6;
}

/* Kartu di halaman hub */
.fi-hub {
  display: grid;
  gap: 14px;
}
.fi-hub-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.15s;
}
.fi-hub-card:hover {
  border-color: #125aa6;
}
.fi-hub-title {
  font-size: 16px;
  font-weight: 700;
  color: #0a1628;
}
.fi-hub-arrow {
  color: #125aa6;
  font-size: 16px;
  font-weight: 700;
}

/* Petunjuk nama instrumen */
.fi-help {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.fi-help-title {
  font-size: 14px;
  font-weight: 700;
  color: #0a1628;
  margin: 0 0 4px;
}
.fi-help-text {
  font-size: 13px;
  line-height: 1.55;
  color: #475569;
  margin: 0 0 10px;
}
.fi-help img {
  display: block;
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
}

/* Bar identitas tersimpan */
.fi-idbar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
}
.fi-idbar[hidden],
.fi-done[hidden] {
  display: none;
}
.fi-idbar-text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  color: #475569;
  margin: 0;
}
.fi-idbar .fi-btn {
  flex: none;
}
.fi-idbar-text strong {
  color: #0a1628;
}

/* Panel setelah kirim */
.fi-done {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px 20px;
  margin-bottom: 16px;
  text-align: center;
}
.fi-done-title {
  font-size: 18px;
  font-weight: 800;
  color: #0a1628;
  margin: 0 0 6px;
}
.fi-done-sub {
  font-size: 14px;
  color: #475569;
  margin: 0 0 16px;
}

/* Tombol */
.fi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s, border-color 0.2s;
}
.fi-btn--primary {
  background: #125aa6;
  color: #fff;
}
.fi-btn--primary:hover {
  background: #0f4c8d;
}
.fi-btn--ghost {
  background: #fff;
  color: #0a1628;
  border: 1.5px solid #cbd5e1;
  padding: 8px 16px;
  font-size: 14px;
}
.fi-btn--ghost:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

/* Embed */
.fi-embed iframe {
  display: block;
  width: 100%;
  height: 900px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}

/* Fallback */
.fi-fallback {
  font-size: 13px;
  color: #475569;
  margin: 14px 0 0;
  text-align: center;
}
.fi-fallback a {
  color: #125aa6;
}

@media (max-width: 480px) {
  .fi-wrap { padding: 36px 16px 48px; }
}
