/* ==========================================================================
   Bnetfit Live Coverage & Sales Form Plugin — Scoped Styles (.bfp-* / .bfd-*)
   100% Mobile-Responsive (360px+) | Zero Conflicts with WP FSE Themes
   ========================================================================== */
.bfp-root, .bfp-root * { box-sizing: border-box; }
.bfp-req { color: #dc2626; }
.bfp-label {
  display: block; font-size: 0.84rem; font-weight: 800; color: #000668; margin-bottom: 8px;
}

/* Coverage Checker Stage */
.bfp-stage {
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 22px; align-items: stretch;
}
.bfp-stage > * { min-width: 0; }
.bfp-panel {
  background: #fff; border: 1.5px solid rgba(0,6,104,0.1); border-radius: 24px;
  padding: 26px; box-shadow: 0 20px 50px rgba(2,4,43,0.18); color: #0f172a;
  display: flex; flex-direction: column; min-width: 0;
}
.bfp-panel__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.bfp-panel__ico {
  width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(135deg, #000668 0%, #1118a8 100%);
  color: #00e9aa; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0; box-shadow: 0 8px 18px rgba(0,6,104,0.2);
}
.bfp-panel__head h2 { margin: 0; font-size: 1.15rem; font-weight: 800; color: #000668; }
.bfp-panel__head p { margin: 2px 0 0; font-size: 0.8rem; color: #64748b; }

.bfp-input-lg {
  width: 100%; padding: 15px 16px; border-radius: 14px; border: 2px solid #cbd5e1;
  background: #f8fafc; color: #0f172a; font-size: 0.95rem; font-weight: 600;
  outline: none; transition: all 0.2s; font-family: inherit;
}
.bfp-input-lg:focus {
  border-color: #060887; background: #fff; box-shadow: 0 0 0 4px rgba(0,233,170,0.22);
}
.bfp-btn-pair {
  display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; margin-top: 12px;
}
.bfp-btn-pair > * { min-width: 0; }
.bfp-guide-pills {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px;
}
.bfp-guide-pill {
  background: #f3f6ff; border: 1px solid #e0e7ff; border-radius: 12px;
  padding: 10px; font-size: 0.74rem; color: #334155; line-height: 1.4;
}
.bfp-guide-pill strong { display: block; color: #000668; margin-bottom: 2px; font-size: 0.76rem; }
.bfp-tip-bar {
  margin-top: auto; padding-top: 14px; border-top: 1px dashed #e2e8f0;
  font-size: 0.78rem; color: #64748b; line-height: 1.5;
}
.bfp-gps-help {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fffbeb;
  border: 1.5px solid #fcd34d;
  color: #78350f;
  font-size: 0.8rem;
  line-height: 1.55;
}
.bfp-gps-help.is-info {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1e3a8a;
}
.bfp-gps-help strong {
  display: block;
  margin-bottom: 3px;
}

#bfp-map {
  width: 100%; height: 390px; border-radius: 16px; border: 1.5px solid #e2e8f0; z-index: 1;
}
.bfp-map-foot {
  margin-top: 10px; font-size: 0.8rem; color: #64748b;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px;
}
.bfp-map-foot strong { color: #000668; }

/* 3-Tier Coverage Result Spotlight Cards */
.bfp-result-wrap { margin-top: 26px; display: none; animation: bfpFadeUp 0.35s ease; }
.bfp-result-wrap.is-visible { display: block; }
@keyframes bfpFadeUp { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:translateY(0); } }

.bfp-win-card {
  position: relative; overflow: hidden; border-radius: 28px;
  background:
    radial-gradient(circle at 88% 12%, rgba(0,233,170,0.34) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(16,185,129,0.28) 0%, transparent 45%),
    linear-gradient(135deg, #022c22 0%, #043e33 48%, #021c38 100%);
  border: 2px solid #00e9aa; padding: 32px; color: #fff;
  box-shadow: 0 24px 64px rgba(0,233,170,0.24), 0 0 0 6px rgba(0,233,170,0.08);
}
.bfp-confirm-card {
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 15%, rgba(250,204,21,0.28) 0%, transparent 45%),
    linear-gradient(135deg, #2b1d02 0%, #4a3004 52%, #13164d 100%);
  border: 2px solid #facc15; padding: 30px; color: #fff;
  box-shadow: 0 22px 54px rgba(234,179,8,0.25);
}
.bfp-miss-card {
  border-radius: 26px;
  background:
    radial-gradient(circle at 90% 15%, rgba(251,146,60,0.28) 0%, transparent 45%),
    linear-gradient(135deg, #2d1204 0%, #4a1d06 55%, #1e1b4b 100%);
  border: 2px solid rgba(251,146,60,0.65); padding: 30px; color: #fff;
  box-shadow: 0 20px 50px rgba(124,45,18,0.35);
}

.bfp-win-top { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
.bfp-win-orb {
  width: 68px; height: 68px; border-radius: 20px;
  background: linear-gradient(135deg, #00e9aa 0%, #00c98f 100%);
  color: #000668; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 0 0 8px rgba(0,233,170,0.22), 0 12px 28px rgba(0,233,170,0.45);
  animation: bfpPulse 2.1s infinite;
}
@keyframes bfpPulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(0,233,170,0.22), 0 12px 28px rgba(0,233,170,0.45); }
  50% { box-shadow: 0 0 0 14px rgba(0,233,170,0.1), 0 12px 32px rgba(0,233,170,0.55); }
}
.bfp-confirm-orb {
  width: 66px; height: 66px; border-radius: 18px;
  background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
  color: #1e1b4b; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 0 0 8px rgba(250,204,21,0.22);
}
.bfp-miss-orb {
  width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
  color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 0 0 8px rgba(251,146,60,0.2);
}

.bfp-win-pill, .bfp-confirm-pill, .bfp-miss-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px;
}
.bfp-win-pill { background: rgba(0,233,170,0.2); border: 1px solid rgba(0,233,170,0.5); color: #00e9aa; }
.bfp-confirm-pill { background: rgba(250,204,21,0.2); border: 1px solid rgba(250,204,21,0.55); color: #fde047; }
.bfp-miss-pill { background: rgba(251,146,60,0.22); border: 1px solid rgba(251,146,60,0.5); color: #fed7aa; }

.bfp-win-title { margin: 0 0 8px; font-size: clamp(1.38rem, 2.5vw, 2rem); font-weight: 800; line-height: 1.2; color: #fff; }
.bfp-win-title span { color: #00e9aa; }
.bfp-win-sub { margin: 0; font-size: 0.95rem; color: rgba(255,255,255,0.88); max-width: 740px; }

.bfp-win-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.bfp-win-metric { background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.16); border-radius: 16px; padding: 14px 16px; min-width: 0; }
.bfp-win-metric span { display: block; font-size: 0.74rem; color: #a7f3d0; font-weight: 600; }
.bfp-win-metric strong { display: block; font-size: 0.98rem; color: #fff; margin-top: 3px; word-break: break-word; }

.bfp-mini-pkgs-title { font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: #00e9aa; margin-bottom: 10px; }
.bfp-mini-pkgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.bfp-mini-pkg {
  display: flex; flex-direction: column; background: rgba(2,4,43,0.45);
  border: 1.5px solid rgba(255,255,255,0.18); border-radius: 16px; padding: 15px 16px;
  transition: all 0.2s; color: #fff !important; text-decoration: none !important;
}
.bfp-mini-pkg:hover { border-color: #00e9aa; background: rgba(0,233,170,0.15); transform: translateY(-3px); }
.bfp-mini-pkg.is-hot { border-color: #00e9aa; background: rgba(0,233,170,0.12); }
.bfp-mini-pkg__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.bfp-mini-pkg__spd { font-size: 1.2rem; font-weight: 800; color: #fff; }
.bfp-mini-pkg__tag { font-size: 0.68rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: #00e9aa; color: #000668; }
.bfp-mini-pkg__price { font-size: 1.06rem; font-weight: 800; color: #00e9aa; }
.bfp-mini-pkg__meta { font-size: 0.75rem; color: rgba(255,255,255,0.75); margin: 4px 0 10px; }
.bfp-mini-pkg__go { margin-top: auto; font-size: 0.78rem; font-weight: 800; color: #fff; }

.bfp-win-actions { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 14px; align-items: center; }
.bfp-cta-glow {
  background: linear-gradient(135deg, #00e9aa 0%, #00c98f 100%);
  color: #000668 !important; padding: 17px 22px; border-radius: 16px;
  font-size: 1.02rem; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 14px 34px rgba(0,233,170,0.42); transition: transform 0.2s, box-shadow 0.2s; text-align: center; text-decoration: none !important;
}
.bfp-cta-glow:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(0,233,170,0.56); }
.bfp-cta-wa {
  background: rgba(255,255,255,0.1); color: #fff !important; border: 1.5px solid rgba(255,255,255,0.32);
  padding: 16px 18px; border-radius: 16px; font-size: 0.92rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s;
  text-align: center; text-decoration: none !important; cursor: pointer;
}
.bfp-cta-wa:hover { background: rgba(255,255,255,0.18); border-color: #00e9aa; }
.bfp-win-trust { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; font-size: 0.8rem; color: rgba(255,255,255,0.82); }
.bfp-miss-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0 22px; }
.bfp-miss-point { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: 14px; padding: 13px 15px; font-size: 0.85rem; color: rgba(255,255,255,0.88); }
.bfp-miss-point strong { display: block; color: #fed7aa; margin-bottom: 3px; }

/* Covered Product Badges & Full Real-Time Server Detail Panel */
.bfp-covered-badges { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.bfp-cov-chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px;
  font-size: 0.74rem; font-weight: 800; background: rgba(0,233,170,0.18);
  border: 1px solid rgba(0,233,170,0.48); color: #00e9aa;
}
.bfp-detail-wrap { margin-top: 20px; display: flex; flex-direction: column; gap: 18px; }
.bfp-detail-block {
  background: #fff; border: 1.5px solid rgba(0,6,104,0.1); border-radius: 22px;
  padding: 22px; box-shadow: 0 12px 32px rgba(2,4,43,0.1); color: #0f172a;
}
.bfp-detail-head {
  display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap;
  gap: 8px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #e2e8f0;
}
.bfp-detail-head h3 { margin: 0; font-size: 1.04rem; font-weight: 800; color: #000668; }
.bfp-detail-head span { font-size: 0.78rem; color: #64748b; }

.bfp-matrix-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
.bfp-prod-card {
  position: relative; overflow: hidden; background: #f8fafc;
  border: 1.5px solid #e2e8f0; border-radius: 16px; padding: 14px 15px;
  display: flex; flex-direction: column; gap: 10px; min-width: 0;
}
.bfp-prod-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3.5px;
  background: var(--bfp-accent, #060887); opacity: 0.75;
}
.bfp-prod-card.is-cov { background: #f0fdf9; border-color: rgba(0,201,143,0.45); }
.bfp-prod-card.is-cov::before { opacity: 1; }
.bfp-prod-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.bfp-prod-card__name { font-size: 0.92rem; font-weight: 800; color: #000668; line-height: 1.25; }
.bfp-prod-card__sub { font-size: 0.72rem; color: #64748b; margin-top: 2px; }
.bfp-prod-pill {
  flex-shrink: 0; font-size: 0.68rem; font-weight: 800; padding: 3px 9px;
  border-radius: 999px; text-transform: uppercase; letter-spacing: 0.04em;
}
.bfp-prod-pill.is-cov { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.bfp-prod-pill.is-no { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.bfp-prod-metrics {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 11px;
  padding: 9px 11px; display: flex; flex-direction: column; gap: 5px; font-size: 0.77rem;
}
.bfp-prod-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.bfp-prod-row span { color: #64748b; flex-shrink: 0; }
.bfp-prod-row strong { color: #0f172a; font-weight: 700; text-align: right; word-break: break-word; }
.bfp-prod-note {
  margin-top: 3px; padding-top: 5px; border-top: 1px dashed #e2e8f0;
  font-size: 0.73rem; line-height: 1.45;
}

.bfp-pts-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
}
.bfp-pt-card {
  background: #f8fafc; border: 1.5px solid #e2e8f0; border-radius: 16px; padding: 15px;
  display: flex; flex-direction: column; gap: 9px; min-width: 0;
}
.bfp-pt-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.bfp-pt-name { font-size: 0.92rem; font-weight: 800; color: #000668; word-break: break-word; }
.bfp-pt-site { font-size: 0.74rem; color: #64748b; margin-top: 2px; word-break: break-word; }
.bfp-pt-dist {
  flex-shrink: 0; background: #e6fdf5; color: #047857; border: 1px solid #6ee7b7;
  border-radius: 999px; padding: 3px 9px; font-size: 0.72rem; font-weight: 800; white-space: nowrap;
}
.bfp-pt-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.bfp-pt-tag {
  font-size: 0.66rem; font-weight: 800; padding: 2px 7px; border-radius: 6px;
  border: 1px solid #cbd5e1; color: #0f172a; text-transform: uppercase;
}
.bfp-pt-focus {
  margin-top: auto; width: 100%; padding: 9px 12px; border-radius: 10px;
  border: 1.5px solid #cbd5e1; background: #fff; color: #000668;
  font-size: 0.8rem; font-weight: 700; cursor: pointer; transition: all 0.16s; font-family: inherit;
}
.bfp-pt-focus:hover { background: #000668; color: #00e9aa; border-color: #000668; }

.bfp-checks-details {
  background: #fff; border: 1.5px solid #e2e8f0; border-radius: 16px; padding: 14px 18px; color: #0f172a;
}
.bfp-checks-details summary {
  cursor: pointer; font-size: 0.86rem; font-weight: 800; color: #000668; list-style: none;
}
.bfp-chk-list {
  list-style: none; padding: 12px 0 0; margin: 10px 0 0; border-top: 1px solid #e2e8f0;
  display: flex; flex-direction: column; gap: 7px; font-size: 0.8rem;
}
.bfp-chk-item { display: flex; align-items: flex-start; gap: 8px; color: #334155; }
.bfp-chk-item strong { color: #0f172a; }
.bfp-nowrap { white-space: nowrap; }

/* Map Street / Satellite Layer Switcher */
.bfp-map-switch {
  display: inline-flex; background: rgba(255,255,255,0.95); padding: 3px;
  border-radius: 10px; border: 1.5px solid rgba(0,6,104,0.16);
  box-shadow: 0 4px 14px rgba(2,4,43,0.18); gap: 2px;
}
.bfp-map-switch__btn {
  border: none; background: transparent; color: #334155; padding: 5px 9px;
  border-radius: 7px; font-size: 0.72rem; font-weight: 800; cursor: pointer;
  font-family: inherit; transition: all 0.15s; white-space: nowrap;
}
.bfp-map-switch__btn:hover { color: #000668; background: #f1f5f9; }
.bfp-map-switch__btn.is-active { background: #000668; color: #00e9aa; }

/* Responsive Collapsible Technical Detail Accordion */
.bfp-tech-accordion { margin-top: 18px; }
.bfp-tech-summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #fff; border: 1.5px solid rgba(0,6,104,0.14); border-radius: 18px;
  padding: 15px 20px; cursor: pointer; list-style: none;
  box-shadow: 0 8px 24px rgba(2,4,43,0.08); transition: border-color 0.16s, background 0.16s;
}
.bfp-tech-summary::-webkit-details-marker { display: none; }
.bfp-tech-summary:hover { border-color: #000668; background: #f8fafc; }
.bfp-tech-summary strong { display: block; font-size: 0.94rem; font-weight: 800; color: #000668; }
.bfp-tech-summary span { display: block; font-size: 0.76rem; color: #64748b; margin-top: 2px; }
.bfp-tech-chevron {
  width: 30px; height: 30px; border-radius: 999px; background: #eef2ff; color: #000668;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1rem;
  font-weight: 800; flex-shrink: 0; transition: transform 0.2s ease;
}
.bfp-tech-accordion[open] > .bfp-tech-summary .bfp-tech-chevron { transform: rotate(180deg); }
.bfp-tech-accordion > .bfp-detail-wrap { margin-top: 14px; }

/* Standalone Form Styles (.bfd-*) */
.bfd-wrap { max-width: 940px; margin: 0 auto; }
.bfd-cov-banner {
  display: none; margin-bottom: 18px; padding: 16px 20px; border-radius: 18px;
  background: linear-gradient(135deg, #022c22 0%, #065f46 100%);
  border: 1.5px solid #00e9aa; color: #fff; box-shadow: 0 12px 30px rgba(0,201,143,0.2);
  align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.bfd-cov-banner.is-visible { display: flex; }
.bfd-cov-banner.is-warn { background: linear-gradient(135deg, #451a03 0%, #7c2d12 100%); border-color: #facc15; }
.bfd-cov-banner strong { display: block; font-size: 0.98rem; }
.bfd-cov-banner span { font-size: 0.84rem; color: rgba(255,255,255,0.88); }
.bfd-cov-pill { padding: 5px 12px; border-radius: 999px; font-size: 0.74rem; font-weight: 800; background: rgba(0,233,170,0.2); color: #00e9aa; }

.bfd-card {
  background: #fff; border: 1.5px solid #e2e8f0; border-radius: 22px;
  padding: 26px; margin-bottom: 18px; box-shadow: 0 2px 8px rgba(0,6,104,0.05);
}
.bfd-card__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-wrap: wrap; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid #f1f5f9;
}
.bfd-card__head h2 { margin: 0; font-size: 1.12rem; font-weight: 800; color: #000668; display: flex; align-items: center; gap: 10px; }
.bfd-num {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, #000668, #1118a8); color: #00e9aa;
  font-size: 0.84rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.bfd-loc-box { background: #f3f6ff; border: 1.5px solid #c7d2fe; border-radius: 16px; padding: 18px; margin-bottom: 18px; }
.bfd-loc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.bfd-loc-top strong { font-size: 0.92rem; color: #000668; }
.bfd-loc-top span { font-size: 0.75rem; color: #475569; }
.bfd-loc-bar { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; margin-bottom: 12px; align-items: stretch; }
.bfd-loc-bar > * { min-width: 0; }
.bfd-loc-bar .bf-input { height: 44px; padding: 0 14px; }
.bfd-loc-bar .bf-btn { height: 44px; padding: 0 16px; border-radius: 12px; }
#bfd-mini-map { width: 100%; height: 240px; border-radius: 12px; border: 1.5px solid #cbd5e1; z-index: 1; }
.bfd-loc-status { margin-top: 10px; font-size: 0.82rem; font-weight: 700; color: #000668; }

.bfd-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bfd-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bfd-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bfd-field--full { grid-column: 1 / -1; }
.bfd-field label { font-size: 0.82rem; font-weight: 700; color: #000668; }
.bfd-field small { font-size: 0.74rem; color: #64748b; }
.bfd-textarea {
  width: 100%; padding: 11px 14px; border-radius: 12px; border: 1.5px solid #e2e8f0;
  background: #f6f8fc; color: #0f172a; font-size: 0.9rem; font-family: inherit;
  resize: vertical; min-height: 74px; outline: none;
}
.bfd-textarea:focus { border-color: #060887; background: #fff; }

.bfd-pkg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bfd-pkg-opt {
  position: relative;
  border: 1.5px solid #e2e8f0; border-radius: 14px; padding: 14px 15px; background: #f8fafc;
  cursor: pointer; transition: all 0.16s; text-align: left; font-family: inherit;
}
.bfd-pkg-opt:hover { border-color: #060887; background: #fff; }
.bfd-pkg-opt.is-selected {
  border: 2px solid #000668; background: #f0fdf9;
  box-shadow: 0 8px 22px rgba(0,201,143,0.18), 0 0 0 3px rgba(0,233,170,0.22);
}
.bfd-pkg-opt.is-selected::after {
  content: "✓ Dipilih";
  position: absolute; top: 10px; right: 10px;
  font-size: 0.66rem; font-weight: 800; padding: 3px 8px; border-radius: 999px;
  background: #000668; color: #00e9aa;
}
.bfd-pkg-opt__cat { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; color: #00a374; letter-spacing: 0.04em; }
.bfd-pkg-opt__name { font-size: 0.92rem; font-weight: 800; color: #000668; margin: 2px 0; }
.bfd-pkg-opt__price { font-size: 0.86rem; font-weight: 800; color: #060887; }
.bfd-pkg-opt__sub { font-size: 0.72rem; color: #64748b; margin-top: 2px; }

.bfd-upload {
  border: 2px dashed #cbd5e1; border-radius: 16px; padding: 18px; text-align: center;
  background: #f8fafc; cursor: pointer; position: relative; transition: all 0.2s;
}
.bfd-upload:hover { border-color: #060887; background: #f3f6ff; }
.bfd-upload.has-file { border-color: #00c98f; background: #e6fdf5; }
.bfd-upload input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.bfd-upload img { display: none; max-width: 100%; max-height: 160px; border-radius: 10px; margin: 10px auto 6px; object-fit: cover; border: 1px solid rgba(0,6,104,0.16); }
.bfd-upload.has-file img { display: block; }

.bfd-alert-err {
  background: #fef2f2; border: 1.5px solid #fca5a5; color: #b91c1c;
  padding: 13px 16px; border-radius: 14px; margin-bottom: 16px; font-size: 0.88rem; font-weight: 700;
}
.bfd-success {
  background: linear-gradient(145deg, #022c22 0%, #000668 100%);
  color: #fff; border: 2px solid #00e9aa; border-radius: 24px;
  padding: 36px 24px; text-align: center; box-shadow: 0 20px 54px rgba(0,6,104,0.28);
}
.bfd-success h3 { margin: 0 0 10px; font-size: 1.5rem; font-weight: 800; color: #00e9aa; }
.bfd-success p { margin: 0 auto 12px; max-width: 600px; font-size: 0.94rem; color: rgba(255,255,255,0.88); }

.bfp-spinner {
  display: inline-block; width: 16px; height: 16px;
  border: 2.5px solid rgba(0,6,104,0.25); border-top-color: #000668;
  border-radius: 50%; animation: bfpSpin 0.7s linear infinite; vertical-align: middle;
}
@keyframes bfpSpin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .bfp-stage, .bfp-win-metrics, .bfp-mini-pkgs, .bfp-win-actions, .bfp-miss-points, .bfp-pts-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .bfp-matrix-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bfp-win-top { flex-direction: column; gap: 14px; }
  .bfd-pkg-grid, .bfd-loc-bar { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .bfp-panel, .bfp-win-card, .bfp-confirm-card, .bfp-miss-card, .bfd-card, .bfp-detail-block { padding: 18px 14px; }
  .bfp-btn-pair, .bfp-guide-pills, .bfd-grid-2, .bfd-grid-3, .bfp-matrix-grid { grid-template-columns: minmax(0, 1fr); }
  #bfp-map { height: 280px; }
  #bfd-mini-map { height: 210px; }
}
