/* ─── Connect button (rendered inline by block) ──────────────── */
.wes-wc { display: inline-flex; gap: 8px; align-items: center; }
.wes-wc-btn {
  border: 0; cursor: pointer; padding: 8px 16px; border-radius: 8px;
  font-family: inherit; font-weight: 700; font-size: 14px;
  transition: background 200ms ease, box-shadow 200ms ease;
}
.wes-wc-cta {
  background: #E2000C; color: #fff;
  box-shadow: 0 2px 8px rgba(226,0,12,0.25);
}
.wes-wc-cta:hover { background: #b8000a; }
.wes-wc-connected {
  background: #f4f6fa; color: #1a1a1a; display: inline-flex; align-items: center; gap: 8px;
}
.wes-wc-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #19c37d;
}
.wes-wc-disconnect {
  background: transparent; color: #888; padding: 4px 10px;
}
.wes-wc-disconnect:hover { color: #E2000C; }

/* ─── Inline panes — hidden in page, Colorbox clones into popup ──── */
.wes-wc-pane { display: none; }
#cboxLoadedContent .wes-wc-pane { display: block; }
/* Colorbox theme overrides — match WES brand */
#colorbox, #cboxOverlay { z-index: 99999 !important; }
#cboxOverlay { background: rgba(0,0,0,0.55) !important; }
#cboxContent { background: #fff !important; border-radius: 24px !important; }
#cboxLoadedContent { padding: 28px !important; }
#cboxClose {
  background: none !important; color: #aaa !important;
  font-size: 22px !important; right: 12px !important; top: 12px !important;
}
#cboxClose:hover { color: #E2000C !important; }
.wes-wc-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.wes-wc-logo { height: 44px; width: 44px; border-radius: 50%; background: #fff; }
.wes-wc-title { font-size: 15px; font-weight: 700; color: #1a1a1a; }
.wes-wc-title .wes-wc-brand { color: #E2000C; font-weight: 800; }
.wes-wc-sub   { font-size: 11px; color: #888; margin-top: 2px; }
.wes-wc-list  { display: flex; flex-direction: column; gap: 10px; }
.wes-wc-pill {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; border: 1px solid #e6e9f0;
  border-radius: 12px; background: #fff; cursor: pointer;
  transition: border-color 200ms, transform 100ms, background 200ms;
  text-align: left; width: 100%;
}
.wes-wc-pill:hover { border-color: #E2000C; background: #fff8f8; }
.wes-wc-pill:active { transform: scale(.98); }
.wes-wc-pill-icon {
  flex: 0 0 auto;
  width: 40px; height: 40px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
}
.wes-wc-pill-text { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wes-wc-pill-name { font-weight: 700; font-size: 14px; color: #1a1a1a; }
.wes-wc-pill-sub  { font-size: 12px; color: #888; }
.wes-wc-pill-arrow { flex: 0 0 auto; color: #ccc; font-size: 22px; line-height: 1; }
.wes-wc-pill:hover .wes-wc-pill-arrow { color: #E2000C; }
.wes-wc-qr-section {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; margin-top: 8px; gap: 14px;
}
.wes-wc-qr-header {
  text-align: center; margin-bottom: 4px; width: 100%;
}
.wes-wc-qr-titles { width: 100%; }
.wes-wc-qr-title { font-size: 16px; font-weight: 700; color: #1a1a1a; line-height: 1.35; text-align: center; }
.wes-wc-qr-line1 { display: block; }
.wes-wc-qr-line2 { display: block; margin-top: 2px; }
.wes-wc-qr-sub   { font-size: 11px; color: #888; margin-top: 2px; }
.wes-wc-brand    { color: #E2000C; font-weight: 800; }
.wes-wc-qr-canvas {
  display: flex; align-items: center; justify-content: center;
  padding: 12px; border: 1px solid rgba(226, 0, 12, 0.18);
  border-radius: 14px; background: #fff;
  align-self: center;
}
.wes-wc-qr-canvas canvas { display: block; }
.wes-wc-back {
  margin-top: 12px; background: none; border: 0; color: #E2000C;
  cursor: pointer; font-size: 12px; text-decoration: underline;
}
.wes-wc-status { margin-top: 12px; font-size: 12px; color: #888; min-height: 16px; }
.wes-wc-status.error { color: #c00; }
