/* ── BOT ONBOARDING FORM PLUGIN STYLES ── */

.bof-wrap {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 16px 60px;
  color: #f5f3ee;
}

/* GOOGLE FONT IMPORT */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* PROGRESS BAR */
.bof-progress-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: #1a1a1a;
  border-radius: 10px;
  margin-bottom: 24px;
  border: 1px solid #2a2a2a;
}
.bof-progress-label { font-size: 12px; color: #777; white-space: nowrap; min-width: 60px; }
.bof-progress-track { flex: 1; height: 4px; background: #2a2a2a; border-radius: 2px; overflow: hidden; }
.bof-progress-fill  { height: 100%; background: #00c896; border-radius: 2px; width: 0%; transition: width .4s ease; }
.bof-progress-pct   { font-size: 12px; color: #00c896; font-weight: 600; min-width: 34px; text-align: right; }

/* SECTION */
.bof-section {
  background: #111111;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 16px;
}
.bof-sec-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #2a2a2a;
}
.bof-sec-num {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(0,200,150,.1);
  border: 1px solid rgba(0,200,150,.2);
  color: #00c896;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  flex-shrink: 0;
}
.bof-sec-title { font-size: 17px; font-weight: 700; color: #f5f3ee; margin-bottom: 3px; }
.bof-sec-sub   { font-size: 13px; color: #777; }

/* FIELD */
.bof-field { margin-bottom: 20px; }
.bof-field:last-child { margin-bottom: 0; }
.bof-label {
  display: block;
  font-size: 13px; font-weight: 600;
  color: #d1d5db;
  margin-bottom: 8px;
  line-height: 1.4;
}
.bof-req     { color: #00c896; margin-left: 2px; }
.bof-opt-tag {
  font-size: 10px; color: #555;
  background: #1e1e1e; border: 1px solid #333;
  padding: 2px 7px; border-radius: 4px;
  font-weight: 500; margin-left: 6px;
  vertical-align: middle;
}

/* INPUTS */
.bof-wrap input[type="text"],
.bof-wrap input[type="email"],
.bof-wrap input[type="tel"],
.bof-wrap input[type="url"],
.bof-wrap input[type="number"],
.bof-wrap textarea {
  width: 100%;
  background: #0d0d0d;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  color: #f5f3ee;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  padding: 11px 14px;
  transition: border-color .2s;
  outline: none;
  box-sizing: border-box;
  -webkit-appearance: none;
}
.bof-wrap input:focus,
.bof-wrap textarea:focus { border-color: #00c896; }
.bof-wrap input::placeholder,
.bof-wrap textarea::placeholder { color: #444; }
.bof-wrap textarea { resize: vertical; min-height: 100px; line-height: 1.65; }

/* OPTIONS */
.bof-options { display: flex; flex-direction: column; gap: 8px; }
.bof-options.bof-horizontal { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.bof-opt {
  display: flex; align-items: center; gap: 10px;
  background: #0d0d0d;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: #d1d5db;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  user-select: none;
}
.bof-opt:hover { border-color: #444; }
.bof-opt input[type="radio"],
.bof-opt input[type="checkbox"] {
  width: 15px; height: 15px;
  accent-color: #00c896;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  min-height: unset !important;
}

/* TWO COLUMNS */
.bof-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* SUBMIT */
.bof-submit-wrap {
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  margin-top: 8px;
}
.bof-submit-wrap h3 { font-size: 18px; font-weight: 700; color: #f5f3ee; margin-bottom: 8px; }
.bof-submit-wrap p  { font-size: 14px; color: #777; margin-bottom: 20px; line-height: 1.6; }
.bof-submit-btn {
  background: #00c896;
  color: #0a0a0a;
  border: none;
  border-radius: 100px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 15px 48px;
  cursor: pointer;
  width: 100%;
  transition: opacity .2s, transform .2s;
  display: block;
}
.bof-submit-btn:hover { opacity: .88; transform: translateY(-2px); }
.bof-submit-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.bof-submit-note { font-size: 12px; color: #555; margin-top: 14px !important; margin-bottom: 0 !important; }

/* SUCCESS */
.bof-success {
  text-align: center;
  padding: 60px 24px;
}
.bof-success-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(0,200,150,.12);
  border: 1px solid rgba(0,200,150,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin: 0 auto 20px;
  color: #00c896;
}
.bof-success h2 { font-size: 26px; font-weight: 800; color: #f5f3ee; margin-bottom: 12px; }
.bof-success p  { font-size: 15px; color: #777; line-height: 1.8; max-width: 440px; margin: 0 auto; }

/* ERROR */
.bof-error {
  background: rgba(220,38,38,.1);
  border: 1px solid rgba(220,38,38,.3);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #f87171;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .bof-two-col { grid-template-columns: 1fr; }
  .bof-options.bof-horizontal { flex-direction: column; }
  .bof-section { padding: 18px; }
}
