/* ═══ LBAC Campaign Widget ═══ */
.lbac-w {
  --lbac-blue: #14365d;
  --lbac-green: #1a9a5c;
  --lbac-grey: #f4f5f7;
  --lbac-border: #e4e7ec;
  --lbac-text: #1d2939;
  --lbac-muted: #667085;
  --lbac-radius: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  line-height: 1.55;
  color: var(--lbac-text);
}
.lbac-w * { box-sizing: border-box; margin: 0; padding: 0; }

.lbac-w-closed {
  background: var(--lbac-grey);
  border-radius: var(--lbac-radius);
  padding: 20px;
  text-align: center;
  color: var(--lbac-muted);
  font-size: 14px;
}

/* Club header */
.lbac-w-club {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.lbac-w-club-logo { height: 40px; width: auto; border-radius: 6px; }
.lbac-w-club-name { font-size: 15px; font-weight: 700; color: var(--lbac-blue); }
.lbac-w-club-sub { font-size: 12px; color: var(--lbac-muted); margin-top: 1px; }

/* Stats */
.lbac-w-stats { display: flex; gap: 10px; margin-bottom: 14px; }
.lbac-w-stat {
  flex: 1;
  background: var(--lbac-grey);
  border-radius: var(--lbac-radius);
  padding: 14px 12px;
  text-align: center;
}
.lbac-w-stat-val { font-size: 24px; font-weight: 800; color: var(--lbac-blue); letter-spacing: -0.5px; }
.lbac-w-stat-lbl { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--lbac-muted); margin-top: 2px; }

/* Progress */
.lbac-w-prog { margin-bottom: 14px; }
.lbac-w-prog-top { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--lbac-muted); margin-bottom: 5px; }
.lbac-w-prog-bar { height: 8px; background: #e8ecf1; border-radius: 4px; overflow: hidden; }
.lbac-w-prog-fill { height: 100%; background: var(--lbac-green); border-radius: 4px; transition: width 0.6s cubic-bezier(.4,0,.2,1); }
.lbac-w-prog-txt { font-size: 12px; color: var(--lbac-muted); margin-top: 4px; }
.lbac-w-prog-ok { color: var(--lbac-green); font-weight: 600; }

/* Engraving toggle */
.lbac-w-eng {
  border: 1.5px solid var(--lbac-border);
  border-radius: var(--lbac-radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.lbac-w-eng.lbac-w-eng--active { border-color: var(--lbac-blue); }
.lbac-w-eng-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  cursor: pointer;
  user-select: none;
}
.lbac-w-eng-left { display: flex; align-items: center; gap: 10px; }
.lbac-w-eng-icon { font-size: 20px; }
.lbac-w-eng-title { font-size: 14px; font-weight: 600; color: var(--lbac-text); }
.lbac-w-eng-price { font-size: 12px; color: var(--lbac-muted); }

/* Toggle switch */
.lbac-w-toggle { position: relative; display: inline-block; }
.lbac-w-toggle input { opacity: 0; position: absolute; width: 0; height: 0; }
.lbac-w-toggle-track {
  display: block; width: 44px; height: 24px; background: #d0d5dd;
  border-radius: 12px; position: relative; transition: background 0.2s; cursor: pointer;
}
.lbac-w-toggle input:checked + .lbac-w-toggle-track { background: var(--lbac-green); }
.lbac-w-toggle-thumb {
  position: absolute; top: 2px; left: 2px; width: 20px; height: 20px;
  background: #fff; border-radius: 50%; transition: transform 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.lbac-w-toggle input:checked + .lbac-w-toggle-track .lbac-w-toggle-thumb { transform: translateX(20px); }

.lbac-w-eng-field { padding: 0 16px 14px; }
.lbac-w-eng-field input {
  width: 100%; padding: 10px 12px; border: 1.5px solid var(--lbac-border);
  border-radius: 8px; font-size: 15px; font-family: inherit; color: var(--lbac-text);
  outline: none; transition: border-color 0.2s;
}
.lbac-w-eng-field input:focus { border-color: var(--lbac-blue); }
.lbac-w-eng-hint { font-size: 11px; color: var(--lbac-muted); margin-top: 4px; text-align: right; }

/* Info box */
.lbac-w-info {
  background: var(--lbac-grey);
  border-radius: var(--lbac-radius);
  padding: 14px 16px;
  margin-bottom: 14px;
}
.lbac-w-info-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; line-height: 1.5; color: #475467; margin-bottom: 8px;
}
.lbac-w-info-row:last-child { margin-bottom: 0; }
.lbac-w-info-ic { font-size: 16px; flex-shrink: 0; line-height: 1.4; }
.lbac-w-info-row strong { color: var(--lbac-text); }

@media (max-width: 480px) {
  .lbac-w-stats { flex-direction: column; gap: 8px; }
  .lbac-w-club { flex-direction: column; text-align: center; }
}
