/**
 * Bon Cadeau Fenua — Espace partenaires
 * Palette : bleu #1A4FD1, lime #80FF00, violet #B577E1
 */

/* Force le dashboard à prendre toute la page — override Elementor (page construite avec Elementor) */
.elementor-element:has(.bcf-partner-layout),
.elementor-widget-shortcode:has(.bcf-partner-layout),
.elementor-shortcode:has(.bcf-partner-layout),
.e-con:has(.bcf-partner-layout),
.elementor-section:has(.bcf-partner-layout),
.elementor-container:has(.bcf-partner-layout),
.elementor-widget-wrap:has(.bcf-partner-layout) {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Ancêtres Elementor (sections, colonnes) — remonter toute la hiérarchie */
.elementor-section:has(.bcf-partner-layout) .elementor-container,
.elementor-column:has(.bcf-partner-layout),
.elementor-column-wrap:has(.bcf-partner-layout) {
  max-width: none !important;
  width: 100% !important;
}

/* Force le dashboard à prendre toute la page (override thème classique) */
body.bcf-partner-page .site-content,
body.bcf-partner-page .content-area,
body.bcf-partner-page .site-main,
body.bcf-partner-page .page-content,
body.bcf-partner-page .gz-row,
body.bcf-partner-page .site-content-container,
body.bcf-partner-page .container,
body.bcf-partner-page .container-xxl,
body.bcf-partner-page .container-fluid,
body.bcf-partner-page .clearfix,
body.bcf-partner-page #site-content > div {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.bcf-partner-page .site-content {
  padding-top: 0;
  padding-bottom: 0;
}

/* Masquer la sidebar du thème pour libérer toute la largeur */
body.bcf-partner-page .widget-area,
body.bcf-partner-page .primary-sidebar,
body.bcf-partner-page aside.widget-area {
  display: none !important;
}

/* S'assurer que le contenu occupe toute la largeur jusqu'au bord */
body.bcf-partner-page #page,
body.bcf-partner-page #site-content {
  max-width: none !important;
  width: 100% !important;
}

body.bcf-partner-page .bcf-partner-layout {
  margin-left: 0;
  margin-right: 0;
}

/* Wrapper : pleine largeur pour layout sidebar */
.bcf-partner-page-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Layout principal : sidebar + zone de contenu — pleine page */
.bcf-partner-layout {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  font-family: var(--bcf-font);
  color: var(--bcf-text);
}

/* Sidebar wrapper + mobile toggle */
.bcf-sidebar-wrap {
  position: relative;
}

.bcf-sidebar-mobile-toggle {
  display: none;
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  left: max(12px, env(safe-area-inset-left));
  z-index: 10002;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: #1a3a7a;
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  transition: transform .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}

.bcf-sidebar-mobile-toggle:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 24px rgba(0,0,0,.3);
}

.bcf-sidebar-mobile-toggle:active {
  transform: scale(0.98);
}

.bcf-sidebar-hamburger {
  display: block;
  width: 22px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

.bcf-sidebar-open .bcf-sidebar-mobile-toggle .bcf-sidebar-hamburger:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.bcf-sidebar-open .bcf-sidebar-mobile-toggle .bcf-sidebar-hamburger:nth-child(2) {
  opacity: 0;
}

.bcf-sidebar-open .bcf-sidebar-mobile-toggle .bcf-sidebar-hamburger:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

.bcf-sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.5);
  opacity: 0;
  transition: opacity .25s ease;
  backdrop-filter: blur(2px);
}

.bcf-sidebar-open .bcf-sidebar-backdrop {
  opacity: 1;
}

/* Sidebar — bleu uni, fixe, pleine hauteur (desktop) */
.bcf-sidebar {
  width: 260px;
  min-width: 260px;
  min-height: 100vh;
  min-height: 100dvh;
  background: #1a3a7a;
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  align-self: stretch;
}

@media (min-width: 769px) {
  .bcf-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    z-index: 1000;
  }
  .bcf-main {
    margin-left: 260px;
  }
  .bcf-sidebar-mobile-toggle {
    display: none !important;
  }
}

.bcf-sidebar-header {
  padding: 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.bcf-sidebar-logo {
  display: flex;
  flex-direction: column;
  align-items:center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  width:100%;
  text-decoration: none;
  padding:20px 0px;
}

a.bcf-sidebar-logo:hover {
  color: #fff;
  opacity: 0.95;
}

.bcf-sidebar-logo-img {
  width:80%;
  max-width: 120px;
  height: auto;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.bcf-sidebar-logo-text {
  line-height: 1.3;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.bcf-sidebar-nav-title {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.6);
  padding: 16px 20px 8px;
}

.bcf-sidebar-nav-group {
  margin-bottom: 8px;
}

.bcf-sidebar-nav-group:first-child .bcf-sidebar-nav-title {
  padding-top: 12px;
}

.bcf-sidebar-nav {
  flex: 1;
  padding: 16px 0;
}

.bcf-sidebar-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bcf-sidebar-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s, background .2s;
}

.bcf-sidebar-nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
}

.bcf-sidebar-nav-link.bcf-sidebar-nav-active {
  color: #80FF00;
  background: linear-gradient(90deg, rgba(128, 255, 0, 0.15) 0%, rgba(26, 79, 209, 0.4) 100%);
  border-left: 3px solid #80FF00;
  padding-left: 17px;
}

.bcf-sidebar-nav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: .9;
}
.bcf-sidebar-nav-icon svg {
  width: 100%;
  height: 100%;
}

/* Badge nombre bons en attente — design compact et moderne */
.bcf-sidebar-nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: #0d2e00;
  background: #80FF00;
  border-radius: 10px;
  letter-spacing: -0.02em;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.bcf-sidebar-nav-link.bcf-sidebar-nav-active .bcf-sidebar-nav-badge {
  background: rgba(255, 255, 255, 0.95);
  color: #0d2e00;
  box-shadow: 0 0 0 1px rgba(128, 255, 0, 0.5);
}

.bcf-sidebar-footer {
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.bcf-sidebar-partner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bcf-sidebar-partner-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #80FF00 0%, #5cc000 100%);
  color: #0d2e00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
}

.bcf-sidebar-partner-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.bcf-sidebar-partner-name {
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bcf-sidebar-partner-role {
  font-size: 12px;
  color: #94a3b8;
}

.bcf-sidebar-logout {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  transition: color .2s, background .2s;
}

.bcf-sidebar-logout:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.bcf-sidebar-logout-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
}
.bcf-sidebar-logout-icon svg {
  width: 100%;
  height: 100%;
}

/* Dropdown "Changer de compte" (custom, évite les bugs du select natif sur certaines pages) */
.bcf-view-as-dropdown-wrap {
  position: relative;
}
.bcf-view-as-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background .2s, border-color .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.bcf-view-as-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
}
.bcf-view-as-btn:focus-visible {
  outline: 2px solid rgba(255,255,255,0.6);
  outline-offset: 2px;
}
.bcf-view-as-dropdown-wrap[data-open="true"] .bcf-view-as-btn {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.35);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1);
}
.bcf-view-as-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bcf-view-as-arrow {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  opacity: 0.9;
  transition: transform .2s ease;
}
.bcf-view-as-arrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-bottom: 3px;
}
.bcf-view-as-dropdown-wrap[data-open="true"] .bcf-view-as-arrow::before {
  transform: rotate(-135deg);
  margin-bottom: -3px;
}
.bcf-view-as-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 6px;
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  background: #152a50;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
  z-index: 1001;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.3) transparent;
}
.bcf-view-as-panel::-webkit-scrollbar {
  width: 6px;
}
.bcf-view-as-panel::-webkit-scrollbar-track {
  background: transparent;
}
.bcf-view-as-panel::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.25);
  border-radius: 3px;
}
.bcf-view-as-panel::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.4);
}
.bcf-view-as-panel[hidden] {
  display: none !important;
}
.bcf-view-as-option {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 13px;
  transition: background .15s, color .15s;
  border: none;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.bcf-view-as-option:first-child {
  border-radius: 12px 12px 0 0;
}
.bcf-view-as-option:first-child:not(.bcf-view-as-option-current) {
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.bcf-view-as-option:last-child {
  border-bottom: none;
  border-radius: 0 0 12px 12px;
}
.bcf-view-as-option:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.bcf-view-as-option-current {
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-weight: 600;
  position: relative;
}
.bcf-view-as-option-current::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  min-height: 14px;
  background: rgba(255,255,255,0.7);
  border-radius: 0 2px 2px 0;
}
.bcf-view-as-option-current:hover {
  background: rgba(255,255,255,0.16);
}

/* Page Admin : Recherche de bon */
.bcf-lookup-header {
  margin-bottom: 24px;
}
.bcf-lookup-title {
  margin: 0 0 4px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bcf-text);
}
.bcf-lookup-subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: var(--bcf-text-muted);
}
.bcf-lookup-form-wrap {
  margin-bottom: 20px;
}
.bcf-lookup-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  max-width: 560px;
}
.bcf-lookup-input {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border: 1px solid var(--bcf-border, #e5e7eb);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
}
.bcf-lookup-input:focus {
  outline: 2px solid var(--bcf-primary, #1A4FD1);
  outline-offset: 2px;
  border-color: var(--bcf-primary, #1A4FD1);
}
.bcf-lookup-status {
  margin-bottom: 16px;
  min-height: 1em;
}
.bcf-lookup-result {
  margin-top: 20px;
}
.bcf-lookup-card {
  background: #fff;
  border: 1px solid var(--bcf-border, #e5e7eb);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.bcf-lookup-card-title {
  margin: 0 0 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bcf-text);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bcf-border, #e5e7eb);
}
.bcf-lookup-dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px 24px;
  margin: 0 0 24px;
  font-size: 0.95rem;
}
.bcf-lookup-dl dt {
  color: var(--bcf-text-muted);
  font-weight: 500;
}
.bcf-lookup-dl dd {
  margin: 0;
  color: var(--bcf-text);
}
.bcf-lookup-section-title {
  margin: 20px 0 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--bcf-text);
}
.bcf-lookup-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.bcf-lookup-table th,
.bcf-lookup-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--bcf-border, #e5e7eb);
}
.bcf-lookup-table th {
  font-weight: 600;
  color: var(--bcf-text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.bcf-lookup-table tr:last-child td {
  border-bottom: none;
}

/* Zone principale — contenu aligné à gauche */
.bcf-main {
  flex: 1;
  min-height: 0; /* permet overflow/scroll dans flex */
  background: var(--bcf-sand);
  padding: 24px 32px 180px 16px;
  min-width: 0;
  overflow-y: auto;
}

.bcf-main-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
}

.bcf-dashboard-title-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.bcf-dashboard-actions-row .bcf-btn-scanner-header {
  margin: 0 !important;
}

.bcf-btn-scanner-header {
  width: fit-content !important;
  max-width: 100%;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 24px 0;
  background: #1A4FD1 !important;
  background-color: #1A4FD1 !important;
  color: #80FF00 !important;
  border: none !important;
  border-radius: var(--bcf-radius, 10px);
  box-shadow: 0 2px 8px rgba(26, 79, 209, 0.3);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.bcf-btn-scanner-header:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 79, 209, 0.4);
  background: #1539a8 !important;
  background-color: #1539a8 !important;
  color: #6de600 !important;
}
.bcf-btn-scanner-header .bcf-btn-scan-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bcf-btn-scanner-header .bcf-btn-scan-icon svg {
  width: 20px;
  height: 20px;
}

.bcf-main-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--bcf-text);
}

.bcf-main-date {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--bcf-text-muted);
}

.bcf-main-header-right {
  flex-shrink: 0;
}

.bcf-main-time {
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 15px;
  font-weight: 500;
  color: var(--bcf-text-muted);
}

/* Palette : bleu #1A4FD1, lime #80FF00, violet #B577E1 */
:root {
  --bcf-primary: #1A4FD1;
  --bcf-primary-hover: #1539a8;
  --bcf-primary-light: rgba(26, 79, 209, 0.12);
  --bcf-accent: #80FF00;
  --bcf-accent-hover: #6de600;
  --bcf-accent-light: rgba(128, 255, 0, 0.15);
  --bcf-secondary: #B577E1;
  --bcf-secondary-hover: #9a5bc9;
  --bcf-secondary-light: rgba(181, 119, 225, 0.2);
  --bcf-sand: #f8f6f9;
  --bcf-surface: #ffffff;
  --bcf-border: #e8e4ec;
  --bcf-text: #1a1525;
  --bcf-text-muted: #5c5468;
  --bcf-success: #2d9d4a;
  --bcf-success-bg: rgba(128, 255, 0, 0.12);
  --bcf-warning: #c97a0e;
  --bcf-warning-bg: #fef8e8;
  --bcf-error: #c41e3a;
  --bcf-error-bg: #fce8ec;
  --bcf-shadow: 0 1px 3px rgba(26, 79, 209, 0.08);
  --bcf-shadow-lg: 0 10px 40px rgba(26, 79, 209, 0.15);
  --bcf-radius: 12px;
  --bcf-radius-lg: 16px;
  --bcf-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Navigation espace partenaire */
.bcf-partner-nav {
  max-width: 1100px;
  margin: 0 auto 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--bcf-border);
}

.bcf-partner-nav-inner {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.bcf-partner-nav-link {
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  color: var(--bcf-text-muted);
  background: transparent;
  transition: color .2s, background .2s;
}

.bcf-partner-nav-link:hover {
  color: var(--bcf-primary);
  background: var(--bcf-primary-light);
}

.bcf-partner-nav-link.bcf-partner-nav-active {
  color: var(--bcf-primary);
  background: var(--bcf-primary-light);
  font-weight: 600;
}

/* Portail & layout global */
.bcf-partner-space {
  font-family: var(--bcf-font);
  color: var(--bcf-text);
}

/* Bandeau connecté */
.bcf-banner {
  max-width: 1000px;
  margin: 20px auto 0;
  padding: 14px 20px;
  border: 1px solid var(--bcf-border);
  border-radius: var(--bcf-radius);
  background: var(--bcf-surface);
  font-size: 14px;
  box-shadow: var(--bcf-shadow);
  text-align: center;
}

.bcf-banner strong {
  color: var(--bcf-text-muted);
}

/* Portail — cohérent avec Paramètres et Dashboard */
.bcf-portal-welcome {
  max-width: 1000px;
  margin: 0 auto 24px;
  padding: 12px 0;
}

.bcf-portal-welcome-user {
  margin: 0;
  font-size: 14px;
  color: var(--bcf-text-muted);
}

.bcf-portal-welcome-user strong {
  color: var(--bcf-text);
}

.bcf-portal-header {
  margin-bottom: 28px;
}

.bcf-portal-title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  color: var(--bcf-text);
}

.bcf-portal-subtitle {
  margin: 0;
  font-size: 15px;
  color: var(--bcf-text-muted);
}

/* Cartes d'accès rapide (portail) */
.bcf-portal-cards {
  max-width: 900px;
  margin: 0 auto 48px;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.bcf-portal-card {
  width: 320px;
  border: 1px solid var(--bcf-border);
  border-radius: var(--bcf-radius-lg);
  padding: 24px;
  background: var(--bcf-surface);
  box-shadow: var(--bcf-shadow);
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.bcf-portal-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--bcf-shadow-lg);
  border-color: var(--bcf-primary);
}

.bcf-portal-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.bcf-portal-card-icon svg {
  width: 26px;
  height: 26px;
}

.bcf-portal-card:nth-child(1) .bcf-portal-card-icon {
  background: var(--bcf-primary-light);
  color: var(--bcf-primary);
}

.bcf-portal-card:nth-child(2) .bcf-portal-card-icon {
  background: var(--bcf-accent-light);
  color: var(--bcf-success);
}

.bcf-portal-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--bcf-text);
}

.bcf-portal-card p {
  margin: 0;
  color: var(--bcf-text-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Page Paramètres */
.bcf-parametres-header {
  margin-bottom: 24px;
}

.bcf-parametres-title {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 700;
  color: var(--bcf-text);
}

.bcf-parametres-subtitle {
  margin: 0;
  font-size: 15px;
  color: var(--bcf-text-muted);
}

.bcf-parametres-success {
  padding: 12px 16px;
  margin-bottom: 20px;
  background: var(--bcf-success-bg);
  border: 1px solid #a7f3d0;
  color: var(--bcf-success);
  border-radius: 10px;
  font-size: 14px;
}

.bcf-parametres-card {
  max-width: 640px;
  background: var(--bcf-surface);
  border: 1px solid var(--bcf-border);
  border-radius: var(--bcf-radius-lg);
  padding: 28px;
  box-shadow: var(--bcf-shadow);
}

.bcf-parametres-section-title {
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--bcf-text);
}

.bcf-parametres-section-title::before {
  content: '• ';
  color: var(--bcf-success);
  margin-right: 4px;
}

.bcf-parametres-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bcf-parametres-field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--bcf-text-muted);
  margin-bottom: 8px;
}

.bcf-parametres-field input {
  width: 100%;
  max-width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  border: 1px solid var(--bcf-border);
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
}

.bcf-parametres-field input:focus {
  outline: none;
  border-color: var(--bcf-primary);
  box-shadow: 0 0 0 3px rgba(26, 79, 209, 0.15);
}

.bcf-parametres-save {
  margin-top: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  background: var(--bcf-success) !important;
  border-color: var(--bcf-success) !important;
  color: #fff !important;
  align-self: flex-start;
}

.bcf-parametres-save:hover {
  filter: brightness(1.05);
}

/* Formulaire de connexion — thème sombre + glassmorphism */
.bcf-login-wrap {
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

/* Fond dégradé bleu clair — variantes de #1A4FD1 — occupe exactement 100vh, sans scroll */
.bcf-login-wrap.bcf-login-dark {
  position: fixed;
  inset: 0;
  z-index: 9999;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
}

.bcf-login-wrap.bcf-login-dark::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #1a2d5c 0%, #1e3590 40%, #1A4FD1 70%, #2858d4 100%);
}

.bcf-login-wrap.bcf-login-dark .bcf-login-box {
  position: relative;
  z-index: 1;
}

.bcf-login-box {
  width: 440px;
  max-width: 100%;
  text-align: center;
  background: var(--bcf-surface);
  border-radius: 20px;
  padding: 44px 40px;
  box-shadow: var(--bcf-shadow-lg);
  border: 1px solid var(--bcf-border);
}

/* Carte glassmorphism sur fond bleu — meilleure lisibilité */
.bcf-login-box.bcf-login-glass {
  background: rgba(20, 35, 75, 0.6);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.bcf-login-header {
  margin-bottom: 32px;
}

.bcf-login-logo-svg {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 auto 16px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.bcf-login-badge {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bcf-login-form-wrap {
  text-align: left;
}

.bcf-login-form-wrap .login-username,
.bcf-login-form-wrap .login-password,
.bcf-login-form-wrap .login-remember,
.bcf-login-form-wrap .login-submit {
  margin: 0 0 18px;
}

.bcf-login-form-wrap .login-remember {
  margin-top: -4px;
  margin-bottom: 12px;
}

.bcf-login-form-wrap .login-remember label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px !important;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
}

.bcf-login-glass .login-remember input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #1A4FD1;
  cursor: pointer;
}

.bcf-login-form-wrap .login-submit {
  margin-top: 8px;
  margin-bottom: 0;
}

.bcf-login-box .login-form label {
  display: block;
  text-align: left;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.4;
}

.bcf-login-glass .login-form label,
.bcf-login-wrap.bcf-login-dark .login-form label {
  color: #ffffff !important;
}

.bcf-login-box input[type="text"],
.bcf-login-box input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--bcf-border);
  border-radius: 10px;
  font-size: 15px;
  box-sizing: border-box;
  transition: border-color .2s;
}

.bcf-login-glass input[type="text"],
.bcf-login-glass input[type="password"] {
  background: rgba(10, 20, 45, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 15px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bcf-login-glass input::placeholder {
  color: rgba(255, 255, 255, 0.55) !important;
}

.bcf-login-glass input::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.55) !important;
}

.bcf-login-glass input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.55) !important;
}

.bcf-login-glass input:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.55) !important;
}

.bcf-login-box input:focus {
  outline: none;
  border-color: var(--bcf-primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}

.bcf-login-glass input:focus {
  border-color: #B577E1;
  box-shadow: 0 0 0 3px rgba(181, 119, 225, 0.25);
}

.bcf-login-box input[type="submit"] {
  width: 100%;
  padding: 14px;
  background: var(--bcf-primary);
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}

.bcf-login-glass input[type="submit"] {
  background: linear-gradient(180deg, #1A4FD1 0%, #1539a8 100%);
  color: #80FF00;
  font-weight: 600;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 12px rgba(26, 79, 209, 0.4);
}

.bcf-login-glass input[type="submit"]:hover {
  background: linear-gradient(180deg, #255de8 0%, #1A4FD1 100%);
  color: #80FF00;
  box-shadow: 0 4px 16px rgba(26, 79, 209, 0.5);
}

.bcf-login-box input[type="submit"]:hover {
  background: var(--bcf-primary-hover);
}

.bcf-login-demo {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  letter-spacing: 0.03em;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bcf-login-disclaimer {
  margin-top: 20px;
  color: var(--bcf-text-muted);
  font-size: 13px;
}

.bcf-login-error {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--bcf-error);
  border-radius: 10px;
  background: var(--bcf-error-bg);
  color: var(--bcf-error);
  font-size: 14px;
  text-align: left;
}

.bcf-login-glass .bcf-login-error {
  background: rgba(185, 28, 28, 0.4);
  border-color: rgba(248, 113, 113, 0.5);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bcf-login-error-icon {
  flex-shrink: 0;
  font-size: 16px;
}

.bcf-login-success {
  margin: 0 0 20px;
  padding: 12px 16px;
  border: 1px solid var(--bcf-success);
  border-radius: 10px;
  background: var(--bcf-success-bg);
  color: var(--bcf-success);
  font-size: 14px;
}

/* Bouton afficher/masquer mot de passe */
.bcf-login-glass .bcf-toggle-pwd {
  color: rgba(255, 255, 255, 0.6);
}

.bcf-login-glass .bcf-toggle-pwd:hover {
  color: #80FF00;
}

/* Page Scan — nouveau design 2 cartes */
.bcf-scan-header {
  margin-bottom: 24px;
}
.bcf-scan-qr-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 12px 0 24px 0;
}
.bcf-scan-qr-row .bcf-scan-standalone-wrap {
  margin: 0;
}
.bcf-pending-btn-inline {
  margin-bottom: 0 !important;
}

.bcf-scan-title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  color: var(--bcf-text);
}

.bcf-scan-subtitle {
  margin: 0;
  font-size: 15px;
  color: var(--bcf-text-muted);
}

/* Bouton Scan QR — même style que Vérifier le bon (bleu #1A4FD1 + lime) */
.bcf-btn-scan-qr,
.bcf-scan-standalone-wrap .bcf-btn-scan-qr {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 24px;
  background: #1A4FD1 !important;
  background-color: #1A4FD1 !important;
  color: #80FF00 !important;
  border: none !important;
  border-radius: var(--bcf-radius, 10px);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(26, 79, 209, 0.25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.bcf-btn-scan-qr:hover,
.bcf-scan-standalone-wrap .bcf-btn-scan-qr:hover {
  background: #1539a8 !important;
  background-color: #1539a8 !important;
  color: #6de600 !important;
  transform: translateY(-1px);
}
.bcf-btn-scan-qr .bcf-btn-icon {
  display: inline-flex;
}
.bcf-btn-scan-qr .bcf-btn-icon svg {
  width: 20px;
  height: 20px;
}

.bcf-scan-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.bcf-scan-single {
  max-width: 560px;
  margin-bottom: 24px;
  width: 100%;
}

.bcf-scan-single .bcf-scan-card {
  padding: 24px 28px;
}

.bcf-scan-single .bcf-scan-card-header {
  margin-bottom: 20px;
}

.bcf-scan-single .bcf-scan-card-title {
  font-size: 18px;
}

.bcf-scan-single .bcf-scan-manual-form {
  gap: 16px;
}

.bcf-scan-single .bcf-scan-field input {
  padding: 14px 18px;
  font-size: 16px;
  min-height: 48px;
}

.bcf-scan-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
}

.bcf-scan-buttons .bcf-btn-scan-action {
  width: fit-content !important;
  min-width: 160px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: #1A4FD1 !important;
  background-color: #1A4FD1 !important;
  color: #80FF00 !important;
  border: none !important;
  border-radius: var(--bcf-radius, 10px);
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(26, 79, 209, 0.25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.bcf-scan-buttons .bcf-btn-scan-action:hover {
  background: #1539a8 !important;
  background-color: #1539a8 !important;
  color: #6de600 !important;
  box-shadow: 0 4px 12px rgba(26, 79, 209, 0.35);
  transform: translateY(-1px);
}
.bcf-scan-buttons .bcf-btn-scan-action .bcf-btn-icon {
  margin-right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bcf-scan-buttons .bcf-btn-scan-action .bcf-btn-icon svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .bcf-scan-cards {
    grid-template-columns: 1fr;
  }
}

.bcf-scan-card {
  background: var(--bcf-surface);
  border: 1px solid var(--bcf-border);
  border-radius: var(--bcf-radius-lg);
  padding: 24px;
  box-shadow: var(--bcf-shadow);
}

.bcf-scan-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.bcf-scan-card-icon {
  font-size: 22px;
}
.bcf-scan-card-icon-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bcf-primary);
}
.bcf-scan-card-icon-svg svg {
  width: 24px;
  height: 24px;
}

.bcf-scan-card-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--bcf-text);
}

.bcf-scan-viewfinder-wrap {
  text-align: center;
  margin-bottom: 12px;
}

.bcf-scan-viewfinder {
  width: 100%;
  min-height: 220px;
  background: linear-gradient(135deg, #0f1835 0%, #1a2450 100%);
  border-radius: var(--bcf-radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.bcf-scan-viewfinder::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 8px;
  pointer-events: none;
}

.bcf-scan-viewfinder-hint {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--bcf-text-muted);
}

.bcf-scan-status-line {
  font-size: 13px;
  color: var(--bcf-primary);
  margin-bottom: 16px;
  min-height: 20px;
}

.bcf-scan-status-line:not(:empty)::before {
  content: '●';
  margin-right: 6px;
  color: var(--bcf-primary);
}

.bcf-btn-scan {
  width: 100%;
  background: var(--bcf-primary);
  border-color: var(--bcf-primary);
  color: #80FF00;
}

.bcf-btn-simulate {
  width: 100%;
  background: var(--bcf-secondary);
  border-color: var(--bcf-secondary);
  color: #fff;
}

.bcf-scan-manual-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bcf-scan-field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--bcf-text);
}

.bcf-scan-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--bcf-border);
  border-radius: 10px;
  font-size: 15px;
  box-sizing: border-box;
}

.bcf-scan-field input:focus {
  outline: none;
  border-color: var(--bcf-primary);
  box-shadow: 0 0 0 3px rgba(26, 79, 209, 0.15);
}

.bcf-required {
  color: var(--bcf-error);
}

.bcf-btn-validate {
  width: 100%;
  background: var(--bcf-secondary);
  border-color: var(--bcf-secondary);
  color: #fff;
  margin-top: 8px;
}

.bcf-btn-icon {
  margin-right: 8px;
}

/* Legacy scan wrap (si utilisé ailleurs) */
.bcf-partner-page-wrap .bcf-banner,
.bcf-partner-page-wrap .bcf-scan-wrap {
  margin-left: auto;
  margin-right: auto;
}

.bcf-scan-wrap {
  max-width: 980px;
  margin: 20px auto 120px;
  padding: 24px;
  border: 1px solid var(--bcf-border);
  border-radius: var(--bcf-radius-lg);
  background: var(--bcf-surface);
  box-shadow: var(--bcf-shadow);
  text-align: center;
}

.bcf-header {
  text-align: center;
}

.bcf-header h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
}

.bcf-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin: 16px 0;
  flex-wrap: wrap;
}

#bcf-number {
  flex: 1;
  min-width: 240px;
  padding: 12px 16px;
  border: 1px solid var(--bcf-border);
  border-radius: 10px;
  font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}

#bcf-number:focus {
  outline: none;
  border-color: var(--bcf-primary);
  box-shadow: 0 0 0 3px rgba(26, 79, 209, 0.15);
}

.bcf-btn {
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid var(--bcf-text);
  background: var(--bcf-text);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: background .2s, transform .1s;
}

.bcf-btn:hover:not([disabled]) {
  background: #1a2d4d;
}

.bcf-btn:active:not([disabled]) {
  transform: scale(.98);
}

.bcf-btn[disabled] {
  opacity: .5;
  cursor: not-allowed;
}

a.bcf-btn {
  text-decoration: none;
  display: inline-block;
}

.bcf-btn-primary {
  background: var(--bcf-primary);
  border-color: var(--bcf-primary);
  color: #80FF00;
}

.bcf-btn-primary:hover:not([disabled]) {
  background: var(--bcf-primary-hover);
  border-color: var(--bcf-primary-hover);
  color: #80FF00;
}

.bcf-btn-ghost {
  background: var(--bcf-surface);
  color: var(--bcf-text);
  border-color: var(--bcf-border);
}

.bcf-btn-ghost:hover:not([disabled]) {
  background: var(--bcf-sand);
}

.bcf-btn-secondary {
  background: var(--bcf-surface);
  border-color: var(--bcf-border);
  color: var(--bcf-text-muted);
}

.bcf-btn-secondary:hover:not([disabled]) {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.bcf-status {
  margin: 14px 0;
  min-height: 24px;
  text-align: center;
}

.bcf-scan-result {
  margin-top: 12px;
  text-align: left;
}

.bcf-scan-result + .bcf-card {
  margin-top: 12px;
}

/* Carte bon cadeau sur page scan : plus compacte, tout visible */
.bcf-scan-single .bcf-card {
  max-width: 100%;
}

.bcf-scan-single .bcf-card-top {
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  padding: 16px;
}

.bcf-scan-single .bcf-image {
  justify-content: center;
}

.bcf-scan-single .bcf-image img {
  max-width: 280px;
  width: 100%;
}

.bcf-scan-single .bcf-info {
  align-items: flex-start;
  text-align: left;
  gap: 8px;
}

.bcf-scan-single .bcf-line {
  font-size: 14px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.bcf-scan-single .bcf-note {
  padding: 12px 16px;
  font-size: 13px;
}

/* Espace en bas pour la barre Valider fixe */
.bcf-scan-single .bcf-card {
  margin-bottom: 24px;
}

.bcf-box {
  padding: 12px 14px;
  border-radius: 10px;
}

.bcf-ok {
  background: var(--bcf-success-bg);
  border: 1px solid #a7f3d0;
  color: var(--bcf-success);
}

.bcf-warn {
  background: var(--bcf-warning-bg);
  border: 1px solid #fcd34d;
  color: var(--bcf-warning);
}

.bcf-error {
  background: var(--bcf-error-bg);
  border: 1px solid #fca5a5;
  color: var(--bcf-error);
}

.bcf-card {
  margin: 18px auto 0;
  border: 1px solid var(--bcf-border);
  border-radius: var(--bcf-radius-lg);
  overflow: hidden;
  box-shadow: var(--bcf-shadow);
  max-width: 100%;
}

.bcf-card-top {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  padding: 20px;
  text-align: center;
}

.bcf-image {
  display: flex;
  justify-content: center;
}

.bcf-image img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--bcf-border);
  object-fit: cover;
}

.bcf-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

.bcf-label {
  color: var(--bcf-text-muted);
  font-size: 13px;
}

.bcf-line {
  font-size: 16px;
}

.bcf-note {
  padding: 14px 20px;
  border-top: 1px solid var(--bcf-border);
  background: var(--bcf-sand);
  color: var(--bcf-text-muted);
  font-size: 14px;
  text-align: center;
}

.bcf-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bcf-surface);
  border-top: 1px solid var(--bcf-border);
  padding: 16px 20px;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,.06);
}

.bcf-footer-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.bcf-footer-warning {
  color: var(--bcf-warning);
  background: var(--bcf-warning-bg);
  border: 1px solid #fcd34d;
  padding: 12px 16px;
  border-radius: 10px;
  flex: 1;
  font-size: 14px;
}

.bcf-footer-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Bouton Valider : mise en avant */
#bcf-redeem,
#bcf-redeem-all {
  font-size: 16px !important;
  font-weight: 700 !important;
  padding: 14px 28px !important;
  min-height: 48px !important;
  box-shadow: 0 4px 14px rgba(26, 79, 209, 0.4);
  border-width: 2px;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
#bcf-redeem:hover:not([disabled]),
#bcf-redeem-all:hover:not([disabled]) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 79, 209, 0.45);
}
#bcf-redeem:active:not([disabled]),
#bcf-redeem-all:active:not([disabled]) {
  transform: translateY(0);
}
#bcf-redeem[disabled],
#bcf-redeem-all[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
/* Barre fixe : bouton Valider plus grand */
.bcf-footer-actions #bcf-redeem {
  padding: 16px 36px !important;
  font-size: 17px !important;
  min-height: 52px !important;
}
/* Valider tout dans la liste */
#bcf-redeem-all {
  padding: 10px 22px !important;
  min-height: 42px !important;
  font-size: 15px !important;
}

/* Modal scan */
.bcf-scan-v2-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.bcf-scan-v2-content {
  position: relative;
  background: var(--bcf-surface);
  border-radius: var(--bcf-radius-lg);
  max-width: 96vw;
  max-height: 90vh;
  overflow: auto;
  padding: 24px;
  box-shadow: 0 25px 50px rgba(0,0,0,.2);
}

/* Dashboard */
.bcf-dashboard-tz {
  margin: 0 0 4px;
  color: var(--bcf-text-muted);
  font-size: 12px;
}

.bcf-dashboard-wrap {
  max-width: 100%;
  margin: 0;
  font-family: var(--bcf-font);
  text-align: left;
}

.bcf-section-title {
  margin: 24px 0 12px;
  font-size: 18px;
  font-weight: 600;
  color: var(--bcf-text);
}

.bcf-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 0 0 24px;
}

.bcf-kpi {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid var(--bcf-border);
  border-radius: var(--bcf-radius);
  padding: 20px;
  background: var(--bcf-surface);
  box-shadow: var(--bcf-shadow);
  transition: box-shadow .2s;
}

.bcf-kpi:hover {
  box-shadow: var(--bcf-shadow-lg);
}

.bcf-kpi-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bcf-kpi-icon svg {
  width: 24px;
  height: 24px;
}

.bcf-kpi-1 .bcf-kpi-icon { background: var(--bcf-primary-light); color: var(--bcf-primary); }
.bcf-kpi-2 .bcf-kpi-icon { background: var(--bcf-accent-light); color: #5cc000; }
.bcf-kpi-3 .bcf-kpi-icon { background: var(--bcf-secondary-light); color: var(--bcf-secondary); }

.bcf-kpi-content {
  min-width: 0;
}

.bcf-kpi-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--bcf-text);
  line-height: 1.2;
}

.bcf-kpi-label {
  color: var(--bcf-text-muted);
  font-size: 13px;
  margin-top: 4px;
}

.bcf-kpi-extra {
  font-size: 12px;
  color: var(--bcf-success);
  margin-top: 6px;
}

.bcf-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 24px;
  align-items: flex-end;
  margin: 0 0 24px;
  padding: 24px;
  border: 1px solid var(--bcf-border);
  border-radius: var(--bcf-radius);
  background: var(--bcf-surface);
}

.bcf-filters > div {
  flex-shrink: 0;
}

.bcf-filters .bcf-filters-code {
  flex: 1;
  min-width: 180px;
}

.bcf-filters .bcf-filters-code input {
  width: 100%;
}

.bcf-filters .bcf-filters-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.bcf-filters label {
  display: block;
  font-size: 12px;
  color: var(--bcf-text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.bcf-filters select,
.bcf-filters input[type="date"],
.bcf-filters input[type="text"] {
  padding: 10px 12px;
  border: 1px solid var(--bcf-border);
  border-radius: 10px;
  font-size: 14px;
}

.bcf-filters select[name="month"] {
  min-width: 220px;
}

.bcf-filters .bcf-btn,
.bcf-filters .bcf-link-btn {
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-size: 14px;
}

.bcf-table-wrap {
  border: 1px solid var(--bcf-border);
  border-radius: var(--bcf-radius);
  overflow: hidden;
  margin-bottom: 4px;
  background: var(--bcf-surface);
}

.bcf-table-wrap table {
  width: 100%;
  border-collapse: collapse;
}

.bcf-table-wrap th {
  text-align: left;
  padding: 14px 16px;
  background: var(--bcf-sand);
  font-weight: 600;
  font-size: 13px;
  color: var(--bcf-text-muted);
}

.bcf-table-wrap td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--bcf-border);
  text-align: left;
}

.bcf-table-wrap tr:last-child td {
  border-bottom: none;
}

.bcf-total-period {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding: 16px 20px;
  border: 1px solid var(--bcf-border);
  border-radius: var(--bcf-radius);
  background: var(--bcf-sand);
  text-align: center;
}

/* Total période fixe en bas de page (dashboard) */
.bcf-total-period-fixed {
  position: fixed;
  left: 260px;
  right: 0;
  bottom: 0;
  margin: 0;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-bottom: none;
  border-top: 2px solid var(--bcf-primary);
  background: var(--bcf-surface);
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
  z-index: 9998;
}

.bcf-dashboard-wrap {
  padding-bottom: 80px;
}

.bcf-pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.bcf-pagination a {
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  transition: all .2s;
}

.bcf-pagination a.bcf-page-active {
  background: var(--bcf-primary);
  color: #80FF00;
  border: 1px solid var(--bcf-primary);
}

.bcf-pagination a:not(.bcf-page-active) {
  border: 1px solid var(--bcf-border);
  color: var(--bcf-text-muted);
}

.bcf-pagination a:not(.bcf-page-active):hover {
  border-color: var(--bcf-primary);
  color: var(--bcf-primary);
}

@media (max-width: 768px) {
  .bcf-partner-layout {
    flex-direction: column;
  }
  .bcf-main {
    margin-left: 0;
  }

  /* Barre hamburger visible */
  .bcf-sidebar-mobile-toggle {
    display: flex;
  }

  /* Backdrop visible sur mobile (cliquable quand menu ouvert) */
  .bcf-sidebar-backdrop {
    display: block;
    pointer-events: none;
  }
  .bcf-sidebar-open .bcf-sidebar-backdrop {
    pointer-events: auto;
  }
  /* Quand le select "Changer de compte" a le focus (picker ouvert), le backdrop ne doit pas capturer les clics */
  .bcf-selecting-account.bcf-sidebar-open .bcf-sidebar-backdrop {
    pointer-events: none !important;
  }

  /* Sidebar : tiroir coulissant, masqué par défaut */
  .bcf-sidebar {
    position: fixed;
    background: #1a3a7a;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(300px, 85vw);
    min-width: 260px;
    padding-top: env(safe-area-inset-top);
    z-index: 10001;
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 24px rgba(0,0,0,.3);
    flex-shrink: 0;
  }
  .bcf-sidebar-open .bcf-sidebar {
    transform: translateX(0);
  }

  /* Liens plus grands au toucher */
  .bcf-sidebar-nav-link {
    padding: 14px 20px;
    min-height: 48px;
  }

  /* Zone principale : espace pour le bouton hamburger + safe area */
  .bcf-main {
    padding: max(72px, calc(env(safe-area-inset-top) + 60px)) 16px 180px 16px;
    width: 100%;
  }

  .bcf-total-period-fixed {
    left: 0;
  }
}

@media (max-width: 820px) {
  .bcf-partner-nav-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .bcf-partner-nav-link {
    text-align: center;
  }
  .bcf-main-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .bcf-main-title {
    font-size: 20px;
  }
  .bcf-filters {
    flex-direction: column;
    align-items: stretch;
  }
  .bcf-filters .bcf-filters-code {
    min-width: 100%;
  }
  .bcf-filters .bcf-filters-actions {
    flex-wrap: wrap;
  }
  .bcf-kpis {
    grid-template-columns: 1fr;
  }
  .bcf-card-top {
    grid-template-columns: 1fr;
  }
  .bcf-footer-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .bcf-footer-actions {
    justify-content: stretch;
  }
  .bcf-footer-actions .bcf-btn {
    width: 100%;
  }
}

/* Page Historique */
.bcf-historique-header {
  margin-bottom: 24px;
}

.bcf-historique-title {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 700;
  color: var(--bcf-text);
}

.bcf-historique-subtitle {
  margin: 0;
  font-size: 15px;
  color: var(--bcf-text-muted);
}

.bcf-historique-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}

.bcf-historique-search {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.bcf-historique-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  opacity: 0.5;
}

.bcf-historique-search input {
  width: 100%;
  padding: 12px 14px 12px 44px;
  border: 1px solid var(--bcf-border);
  border-radius: 10px;
  font-size: 14px;
}

.bcf-historique-selects {
  display: flex;
  gap: 10px;
}

.bcf-historique-selects select {
  padding: 12px 36px 12px 14px;
  border: 1px solid var(--bcf-border);
  border-radius: 10px;
  font-size: 14px;
  background: var(--bcf-surface);
}

.bcf-historique-table-wrap {
  background: var(--bcf-surface);
  border: 1px solid var(--bcf-border);
  border-radius: var(--bcf-radius-lg);
  overflow: hidden;
  box-shadow: var(--bcf-shadow);
}

.bcf-historique-table {
  width: 100%;
  border-collapse: collapse;
}

.bcf-historique-table th {
  padding: 14px 16px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bcf-text-muted);
  background: var(--bcf-sand);
  text-align: left;
}

.bcf-historique-table td {
  padding: 14px 16px;
  border-top: 1px solid var(--bcf-border);
  font-size: 14px;
  color: var(--bcf-text);
}

.bcf-historique-table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.02);
}

.bcf-historique-table tbody tr:hover {
  background: rgba(26, 79, 209, 0.06);
}

.bcf-historique-table .bcf-cell-mois {
  vertical-align: middle;
  font-weight: 500;
  font-size: 13px;
  color: var(--bcf-text-muted);
}

.bcf-historique-table .bcf-cell-code {
  font-family: 'Monaco', 'Menlo', monospace;
  font-weight: 500;
  color: var(--bcf-primary);
}

.bcf-historique-empty {
  padding: 40px 20px !important;
  text-align: center;
  color: var(--bcf-text-muted);
}

.bcf-status-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.bcf-status-valide {
  background: var(--bcf-success-bg);
  color: var(--bcf-success);
}

.bcf-status-retire {
  background: #fef3c7;
  color: #92400e;
}

/* Bandeau "nouveaux bons validés" — polling dashboard */
.bcf-dashboard-new-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid #10b981;
  border-radius: 10px;
  color: #065f46;
  font-weight: 500;
}
.bcf-dashboard-new-banner .bcf-btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

/* Badge bons en attente */
.bcf-dashboard-pending-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #f59e0b;
  border-radius: 10px;
  color: #92400e;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.bcf-dashboard-pending-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  color: #92400e;
}
.bcf-dashboard-pending-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  background: #f59e0b;
  color: #fff;
  border-radius: 14px;
  font-size: 14px;
}

/* Message succès validation — page Bons en attente */
.bcf-pending-success {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid #10b981;
  border-radius: 12px;
  color: #065f46;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}
.bcf-pending-success[hidden] {
  display: none !important;
}
.bcf-pending-success-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #10b981;
  color: #fff;
  border-radius: 50%;
  font-size: 16px;
}

.bcf-pending-success--recap {
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

.bcf-pending-success-recap-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.bcf-pending-success-lead {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #065f46;
}

/* Récap opération (même logique que le scan : résumé + montant + Détails) */
.bcf-pending-success--recap .bcf-pending-success-recap {
  width: 100%;
}
.bcf-pending-success--recap .bcf-scan-batch-summary {
  margin: 0 0 10px;
  font-size: 15px;
  color: #065f46;
}
.bcf-pending-success--recap .bcf-scan-batch-details-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 12px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #047857;
  background: #fff;
  border: 1px solid #10b981;
  border-radius: 8px;
  cursor: pointer;
}
.bcf-pending-success--recap .bcf-scan-batch-details-toggle:hover {
  background: #ecfdf5;
}
.bcf-pending-success--recap .bcf-scan-batch-details {
  width: 100%;
  overflow: auto;
}
.bcf-pending-success--recap .bcf-scan-batch-details-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(16, 185, 129, 0.35);
}
.bcf-pending-success--recap .bcf-scan-batch-details-table th,
.bcf-pending-success--recap .bcf-scan-batch-details-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(6, 95, 70, 0.12);
}
.bcf-pending-success--recap .bcf-scan-batch-details-table th {
  font-weight: 600;
  color: #047857;
  background: rgba(236, 253, 245, 0.9);
}
.bcf-pending-success--recap .bcf-scan-batch-details-table tr:last-child td {
  border-bottom: none;
}

.bcf-pending-success-dl {
  margin: 0;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  border: 1px solid rgba(16, 185, 129, 0.35);
  display: grid;
  grid-template-columns: minmax(120px, 34%) 1fr;
  gap: 0 16px;
  align-items: baseline;
}

.bcf-pending-success-dl dt {
  margin: 0;
  padding: 8px 0;
  font-weight: 600;
  color: #047857;
  border-bottom: 1px solid rgba(6, 95, 70, 0.12);
  font-size: 14px;
}

.bcf-pending-success-dl dd {
  margin: 0;
  padding: 8px 0;
  color: #064e3b;
  word-break: break-word;
  border-bottom: 1px solid rgba(6, 95, 70, 0.12);
  font-size: 14px;
}

.bcf-pending-success-dl dt:last-of-type,
.bcf-pending-success-dl dd:last-of-type {
  border-bottom: none;
}

.bcf-pending-success-stats {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #065f46;
}

.bcf-pending-success-stats strong {
  color: #047857;
}

/* Montant total mis en avant (scan + bons en attente) */
.bcf-validation-total-highlight {
  margin: 0 0 14px;
  padding: 12px 14px;
  font-size: 16px;
  line-height: 1.45;
  color: #064e3b;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: 10px;
}
.bcf-validation-total-highlight strong {
  font-size: 1.12em;
  font-weight: 700;
  color: #047857;
}

.bcf-validation-success--recap:not([hidden]),
.bcf-pending-success--recap:not([hidden]) {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Liste bons en attente */
.bcf-pending-desc {
  color: var(--bcf-text-muted);
  margin: 0 0 20px;
}
.bcf-pending-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bcf-pending-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--bcf-text-muted);
  background: var(--bcf-bg-muted);
  border-radius: 10px;
}
.bcf-pending-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--bcf-border);
  border-radius: 10px;
  flex-wrap: wrap;
}
.bcf-pending-item-main { flex: 1; min-width: 200px; }
.bcf-pending-code { font-weight: 600; font-family: monospace; font-size: 1.05rem; }
.bcf-pending-product { font-size: 0.9rem; color: var(--bcf-text-muted); margin-top: 4px; }
.bcf-pending-partner { font-size: 0.8rem; color: var(--bcf-primary); margin-top: 4px; font-weight: 500; }
.bcf-pending-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; font-size: 0.85rem; color: var(--bcf-text-muted); }
.bcf-pending-amount { font-weight: 600; color: var(--bcf-success); }
.bcf-pending-item-actions {
  flex-shrink: 0;
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Actions admin : désactiver / supprimer (historique + dashboard) */
.bcf-cell-actions {
  white-space: nowrap;
}
.bcf-btn-admin {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 6px;
  text-decoration: none;
  margin-right: 6px;
  transition: background 0.2s, color 0.2s;
}
.bcf-btn-deactivate {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #f59e0b;
}
.bcf-btn-deactivate:hover {
  background: #fde68a;
  color: #78350f;
}
.bcf-btn-delete {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #ef4444;
}
.bcf-btn-delete:hover {
  background: #fecaca;
  color: #991b1b;
}
.bcf-btn-reactivate {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #10b981;
}
.bcf-btn-reactivate:hover {
  background: #a7f3d0;
  color: #047857;
}

/* Toast — nouvelles demandes de validation (polling) */
.bcf-pending-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100050;
  max-width: min(360px, calc(100vw - 32px));
  padding: 16px 18px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #f59e0b;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  font-size: 14px;
  color: #92400e;
}
.bcf-pending-toast-visible {
  opacity: 1;
  transform: translateY(0);
}
.bcf-pending-toast-text {
  margin: 0 0 10px;
  font-weight: 600;
  line-height: 1.35;
}
.bcf-pending-toast-link {
  display: inline-block;
  font-weight: 600;
  color: #1a4fd1;
  text-decoration: underline;
}
.bcf-pending-toast-link:hover {
  color: #153db0;
}
@media (max-width: 768px) {
  .bcf-pending-toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }
}

/* Tableau retraits papier — statut remis */
.bcf-pickup-table .bcf-pickup-code {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: #fce8ef;
  color: #b4234a;
  border: 1px solid #f5c2d4;
}
.bcf-pickup-table .bcf-pickup-status-cell {
  font-weight: 600;
}
.bcf-pickup-table .bcf-pickup-status-cell[data-status="pending"] {
  color: #92400e;
}
.bcf-pickup-table .bcf-pickup-status-cell[data-status="ready"] {
  color: var(--bcf-primary);
}
.bcf-pickup-table .bcf-pickup-status-cell[data-status="collected"],
.bcf-pickup-table tr.bcf-pickup-row--collected .bcf-pickup-code {
  color: var(--bcf-success);
}
.bcf-pickup-table .bcf-pickup-status-cell[data-status="collected"] {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--bcf-success-bg);
  border: 1px solid rgba(45, 157, 74, 0.35);
}
.bcf-pickup-table tr.bcf-pickup-row--collected .bcf-pickup-code {
  background: var(--bcf-success-bg);
  border-color: rgba(45, 157, 74, 0.35);
}

/* Modal — préparation bon papier (retraits) */
.bcf-pickup-prep-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.bcf-pickup-prep-modal[hidden] {
  display: none !important;
}
.bcf-pickup-prep-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.bcf-pickup-prep-dialog {
  position: relative;
  background: #fff;
  border-radius: 14px;
  max-width: 560px;
  width: 100%;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.bcf-pickup-prep-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #e8ecf2;
}
.bcf-pickup-prep-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
}
.bcf-pickup-prep-close {
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #666;
  cursor: pointer;
  padding: 0 4px;
}
.bcf-pickup-prep-body {
  padding: 16px 18px 8px;
  font-size: 15px;
  line-height: 1.55;
  color: #333;
}
.bcf-pickup-prep-intro {
  margin: 0 0 12px;
}
.bcf-pickup-prep-steps {
  margin: 0 0 8px 20px;
  padding: 0;
}
.bcf-pickup-prep-steps li {
  margin-bottom: 10px;
}
.bcf-pickup-prep-steps li strong,
.bcf-pickup-prep-steps code {
  font-weight: 700;
}
.bcf-pickup-prep-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  padding: 14px 18px 18px;
  border-top: 1px solid #e8ecf2;
}
