/* ═══════════════════════════════════════════════════════════════════
   RVP Connect — Book Sharing Module CSS  v1.0
   Scoped palette (doesn't touch the site's global purple theme).
   ═══════════════════════════════════════════════════════════════════ */

.rvp-bs {
  --bs-primary:      #0A8F5A;
  --bs-primary-dark: #077247;
  --bs-primary-light:#E4F5EC;
  --bs-secondary:    #FF8A00;
  --bs-bg:           #F7F8FA;
  --bs-card:         #ffffff;
  --bs-text:         #14231C;
  --bs-text-muted:   #6B7A73;
  --bs-border:       #E7ECE9;
  --bs-radius:       18px;
  --bs-radius-sm:    12px;
  --bs-shadow:       0 2px 14px rgba(10,40,25,.06), 0 1px 4px rgba(10,40,25,.04);
  --bs-shadow-md:    0 10px 30px rgba(10,143,90,.16);
  background: var(--bs-bg);
  color: var(--bs-text);
  font-family: 'Poppins','Inter',sans-serif;
  padding-bottom: 20px;
}

.rvp-bs a { text-decoration: none; color: inherit; }
.rvp-bs button { font-family: inherit; }

/* ── Back link ────────────────────────────────────────────────────── */
.bs-back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 700; color: var(--bs-primary);
  margin: 14px 0 8px;
}

/* ── Hero (Home) ──────────────────────────────────────────────────── */
.bs-hero {
  position: relative;
  border-radius: var(--bs-radius);
  overflow: hidden;
  margin-top: 12px;
  padding: 34px 22px 28px;
  background: linear-gradient(135deg, #0A8F5A 0%, #0d6b46 60%, #094a31 100%);
  color: #fff;
  text-align: center;
}
.bs-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(255,138,0,.35), transparent 55%);
  pointer-events: none;
}
.bs-hero-icon { font-size: 2.2rem; margin-bottom: 8px; }
.bs-hero h1 {
  font-size: 1.5rem; font-weight: 800; margin: 0 0 8px; letter-spacing: -.02em;
  position: relative;
}
.bs-hero p {
  font-size: .88rem; color: rgba(255,255,255,.85); max-width: 380px;
  margin: 0 auto 20px; line-height: 1.55; position: relative;
}
.bs-hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--bs-primary-dark);
  font-weight: 800; font-size: .88rem;
  padding: 13px 26px; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  position: relative;
  transition: transform .2s;
}
.bs-hero-cta:active { transform: scale(.96); }

/* ── Section headers ──────────────────────────────────────────────── */
.bs-section { margin-top: 26px; }
.bs-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.bs-section-head h2 { font-size: 1.05rem; font-weight: 800; margin: 0; }
.bs-eyebrow { font-size: .68rem; font-weight: 800; color: var(--bs-secondary); text-transform: uppercase; letter-spacing: .06em; display: block; margin-bottom: 2px; }
.bs-view-all { font-size: .78rem; font-weight: 700; color: var(--bs-primary); white-space: nowrap; }

/* ── Quick Actions grid ───────────────────────────────────────────── */
.bs-quick-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.bs-quick-card {
  background: var(--bs-card); border: 1px solid var(--bs-border);
  border-radius: var(--bs-radius-sm);
  padding: 16px 8px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  box-shadow: var(--bs-shadow);
  transition: transform .2s, box-shadow .2s;
}
.bs-quick-card:active { transform: scale(.96); }
.bs-quick-icon {
  width: 44px; height: 44px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  background: var(--bs-primary-light); color: var(--bs-primary);
}
.bs-quick-card span { font-size: .74rem; font-weight: 700; color: var(--bs-text); line-height: 1.3; }

/* ── Book of the Week ─────────────────────────────────────────────── */
.bs-botw {
  display: flex; gap: 14px;
  background: var(--bs-card); border-radius: var(--bs-radius);
  padding: 14px; box-shadow: var(--bs-shadow);
  border: 1px solid var(--bs-border);
}
.bs-botw-cover {
  width: 92px; height: 132px; border-radius: 10px; object-fit: cover;
  flex-shrink: 0; background: var(--bs-primary-light);
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.bs-botw-body { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.bs-botw-badge {
  display: inline-flex; align-items: center; gap: 4px; width: fit-content;
  background: linear-gradient(135deg,#FF8A00,#ff6a00); color: #fff;
  font-size: .62rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; margin-bottom: 6px;
}
.bs-botw-title { font-size: .96rem; font-weight: 800; margin: 0 0 3px; }
.bs-botw-author { font-size: .78rem; color: var(--bs-text-muted); margin: 0 0 8px; }
.bs-botw-cta { font-size: .76rem; font-weight: 700; color: var(--bs-primary); }

/* ── Horizontal scroll rail (Recently Added) ─────────────────────── */
.bs-rail {
  display: flex; gap: 12px; overflow-x: auto;
  padding-bottom: 6px; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.bs-rail::-webkit-scrollbar { display: none; }
.bs-rail-card {
  flex: 0 0 128px; scroll-snap-align: start;
}
.bs-rail-cover {
  width: 128px; height: 176px; border-radius: 12px; object-fit: cover;
  background: var(--bs-primary-light);
  box-shadow: var(--bs-shadow);
  margin-bottom: 8px;
}
.bs-rail-title { font-size: .8rem; font-weight: 700; line-height: 1.3; margin: 0 0 2px; }
.bs-rail-author { font-size: .7rem; color: var(--bs-text-muted); margin: 0; }

/* ── Category chips ───────────────────────────────────────────────── */
.bs-cat-scroll {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}
.bs-cat-scroll::-webkit-scrollbar { display: none; }
.bs-cat-chip, .bs-filter-chip {
  flex-shrink: 0;
  padding: 9px 16px; border-radius: 999px;
  background: var(--bs-card); border: 1.5px solid var(--bs-border);
  font-size: .78rem; font-weight: 700; color: var(--bs-text-muted);
  white-space: nowrap; cursor: pointer; transition: all .18s;
}
.bs-cat-chip.active, .bs-filter-chip.active {
  background: var(--bs-primary); border-color: var(--bs-primary); color: #fff;
}

/* ── Search bar (Browse) ──────────────────────────────────────────── */
.bs-search-wrap {
  position: relative; margin-top: 14px;
}
.bs-search-wrap svg {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--bs-text-muted);
}
.bs-search-input {
  width: 100%; padding: 14px 16px 14px 44px;
  border-radius: 999px; border: 1.5px solid var(--bs-border);
  background: var(--bs-card); font-size: .88rem;
  box-shadow: var(--bs-shadow);
  outline: none;
}
.bs-search-input:focus { border-color: var(--bs-primary); }

/* ── Book grid (Browse) ───────────────────────────────────────────── */
.bs-book-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px; margin-top: 16px;
}
.bs-book-card {
  background: var(--bs-card); border-radius: var(--bs-radius-sm);
  overflow: hidden; box-shadow: var(--bs-shadow);
  border: 1px solid var(--bs-border);
  display: block;
  transition: transform .2s, box-shadow .2s;
}
.bs-book-card:active { transform: scale(.97); }
.bs-book-cover-wrap { position: relative; }
.bs-book-cover {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block;
  background: var(--bs-primary-light);
}
.bs-wish-btn {
  position: absolute; top: 8px; right: 8px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.92); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  color: #cbd5c9; border: none; cursor: pointer; transition: transform .18s;
}
.bs-wish-btn.active { color: #ef4444; }
.bs-wish-btn:active { transform: scale(.85); }
.bs-avail-badge {
  position: absolute; bottom: 8px; left: 8px;
  font-size: .6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em;
  padding: 3px 9px; border-radius: 999px;
  background: rgba(10,143,90,.92); color: #fff;
}
.bs-avail-badge.unavailable { background: rgba(107,122,115,.9); }
.bs-book-body { padding: 10px 11px 12px; }
.bs-book-title { font-size: .82rem; font-weight: 800; margin: 0 0 2px; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.bs-book-author { font-size: .72rem; color: var(--bs-text-muted); margin: 0 0 6px; }
.bs-book-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.bs-book-chip {
  font-size: .62rem; font-weight: 700; color: var(--bs-primary-dark);
  background: var(--bs-primary-light); padding: 2px 7px; border-radius: 6px;
}

/* ── Load more / infinite scroll ─────────────────────────────────── */
.bs-load-more {
  display: block; margin: 20px auto 0;
  padding: 12px 28px; border-radius: 999px;
  background: var(--bs-card); border: 1.5px solid var(--bs-border);
  font-size: .82rem; font-weight: 700; color: var(--bs-primary-dark);
}
.bs-empty { text-align: center; padding: 50px 20px; color: var(--bs-text-muted); font-size: .88rem; }

/* ── Skeleton loading ─────────────────────────────────────────────── */
.bs-skel { background: linear-gradient(90deg,#eef1ef 25%,#e4e9e6 37%,#eef1ef 63%); background-size: 400% 100%; animation: bs-shimmer 1.4s ease infinite; border-radius: var(--bs-radius-sm); }
@keyframes bs-shimmer { 0%{background-position:100% 50%} 100%{background-position:0 50%} }
.bs-skel-card { aspect-ratio: 3/4; }

/* ── Book Details ─────────────────────────────────────────────────── */
.bs-detail-cover-wrap { text-align: center; margin-top: 8px; }
.bs-detail-cover {
  width: 190px; aspect-ratio: 3/4.2; object-fit: cover;
  border-radius: 16px; box-shadow: 0 16px 36px rgba(10,40,25,.22);
  margin: 0 auto;
}
.bs-detail-title { font-size: 1.3rem; font-weight: 800; text-align: center; margin: 18px 0 2px; }
.bs-detail-author { font-size: .88rem; color: var(--bs-text-muted); text-align: center; margin: 0 0 14px; }
.bs-detail-tags { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.bs-tag {
  font-size: .72rem; font-weight: 700; padding: 6px 13px; border-radius: 999px;
  background: var(--bs-card); border: 1px solid var(--bs-border); color: var(--bs-text-muted);
}
.bs-tag.avail { background: var(--bs-primary-light); border-color: transparent; color: var(--bs-primary-dark); }

.bs-detail-block {
  background: var(--bs-card); border-radius: var(--bs-radius); padding: 16px;
  box-shadow: var(--bs-shadow); border: 1px solid var(--bs-border); margin-bottom: 14px;
}
.bs-detail-block h3 { font-size: .82rem; font-weight: 800; margin: 0 0 8px; color: var(--bs-text); }
.bs-detail-block p { font-size: .85rem; color: var(--bs-text-muted); line-height: 1.7; margin: 0; }

.bs-owner-row { display: flex; align-items: center; gap: 12px; }
.bs-owner-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg,var(--bs-primary),var(--bs-primary-dark));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem; flex-shrink: 0;
}
.bs-owner-info { flex: 1; min-width: 0; }
.bs-owner-name { font-size: .88rem; font-weight: 800; margin: 0; }
.bs-owner-loc { font-size: .74rem; color: var(--bs-text-muted); margin: 2px 0 0; }
.bs-wa-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: 0 4px 12px rgba(37,211,102,.35);
}

.bs-detail-actions { display: flex; gap: 10px; margin: 6px 0 20px; position: sticky; bottom: 78px; z-index: 5; }
.bs-btn-primary, .bs-btn-secondary {
  flex: 1; padding: 14px; border-radius: 999px; border: none;
  font-size: .86rem; font-weight: 800; text-align: center; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.bs-btn-primary { background: var(--bs-primary); color: #fff; box-shadow: var(--bs-shadow-md); }
.bs-btn-primary:disabled { background: #b7c4bd; box-shadow: none; }
.bs-btn-secondary { background: var(--bs-card); color: var(--bs-primary-dark); border: 1.5px solid var(--bs-border); flex: 0 0 auto; width: 50px; }

/* ── Share a Book form ────────────────────────────────────────────── */
.bs-upload-cover-btn {
  width: 100%; aspect-ratio: 3/2.2; border-radius: var(--bs-radius);
  border: 2px dashed #b9dcc9; background: var(--bs-primary-light);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: var(--bs-primary-dark); font-size: .82rem; font-weight: 700;
  cursor: pointer; overflow: hidden; position: relative; margin-top: 10px;
}
.bs-upload-cover-btn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#bs-cover-input { display: none; }

.bs-form-group { margin-top: 16px; }
.bs-form-group label { display: block; font-size: .78rem; font-weight: 700; color: var(--bs-text); margin-bottom: 6px; }
.bs-form-group input[type=text], .bs-form-group input[type=tel], .bs-form-group select, .bs-form-group textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--bs-radius-sm);
  border: 1.5px solid var(--bs-border); background: var(--bs-card);
  font-size: .86rem; font-family: inherit; outline: none; color: var(--bs-text);
}
.bs-form-group input:focus, .bs-form-group select:focus, .bs-form-group textarea:focus { border-color: var(--bs-primary); }
.bs-form-row { display: flex; gap: 10px; }
.bs-form-row .bs-form-group { flex: 1; }

.bs-avail-toggle { display: flex; align-items: center; justify-content: space-between;
  background: var(--bs-card); border: 1.5px solid var(--bs-border); border-radius: var(--bs-radius-sm);
  padding: 13px 14px; margin-top: 16px; }
.bs-avail-toggle span { font-size: .84rem; font-weight: 700; }
.bs-switch { position: relative; width: 44px; height: 26px; }
.bs-switch input { opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.bs-switch-track { position: absolute; inset: 0; background: var(--bs-border); border-radius: 999px; transition: background .2s; pointer-events: none; }
.bs-switch-track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: transform .2s; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.bs-switch input:checked + .bs-switch-track { background: var(--bs-primary); }
.bs-switch input:checked + .bs-switch-track::after { transform: translateX(18px); }

.bs-submit-btn {
  width: 100%; margin-top: 22px; padding: 15px; border: none; border-radius: 999px;
  background: linear-gradient(135deg,var(--bs-primary),var(--bs-primary-dark));
  color: #fff; font-size: .92rem; font-weight: 800; box-shadow: var(--bs-shadow-md);
  cursor: pointer;
}
.bs-submit-btn:disabled { opacity: .6; }

/* ── Success overlay ──────────────────────────────────────────────── */
.bs-success-overlay {
  position: fixed; inset: 0; z-index: 5000;
  background: rgba(10,40,25,.55); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.bs-success-overlay.show { display: flex; }
.bs-success-card {
  background: #fff; border-radius: 22px; padding: 34px 26px;
  text-align: center; max-width: 320px; width: 100%;
  animation: bs-pop .35s cubic-bezier(.34,1.56,.64,1);
}
@keyframes bs-pop { from { transform: scale(.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.bs-success-tick {
  width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--bs-primary-light); display: flex; align-items: center; justify-content: center;
  color: var(--bs-primary); animation: bs-tick-in .4s ease .1s both;
}
@keyframes bs-tick-in { from { transform: scale(0); } to { transform: scale(1); } }
.bs-success-card h3 { font-size: 1.05rem; font-weight: 800; margin: 0 0 8px; }
.bs-success-card p { font-size: .84rem; color: var(--bs-text-muted); margin: 0 0 20px; line-height: 1.5; }
.bs-success-card button {
  width: 100%; padding: 13px; border: none; border-radius: 999px;
  background: var(--bs-primary); color: #fff; font-weight: 800; font-size: .86rem; cursor: pointer;
}

/* ── Borrow request modal ─────────────────────────────────────────── */
.bs-modal-overlay {
  position: fixed; inset: 0; z-index: 4000;
  background: rgba(10,40,25,.5); backdrop-filter: blur(3px);
  display: none; align-items: flex-end; justify-content: center;
}
.bs-modal-overlay.show { display: flex; }
.bs-modal-sheet {
  background: #fff; border-radius: 22px 22px 0 0; padding: 22px 20px 26px;
  width: 100%; max-width: 480px; animation: bs-sheet-up .3s ease;
}
@keyframes bs-sheet-up { from { transform: translateY(100%); } to { transform: translateY(0); } }
.bs-modal-handle { width: 40px; height: 4px; background: var(--bs-border); border-radius: 999px; margin: 0 auto 16px; }
.bs-modal-sheet h3 { font-size: 1.02rem; font-weight: 800; margin: 0 0 4px; }
.bs-modal-sheet .bs-modal-sub { font-size: .78rem; color: var(--bs-text-muted); margin: 0 0 16px; }

/* ── Toast ────────────────────────────────────────────────────────── */
.bs-toast {
  position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: #14231C; color: #fff; padding: 12px 20px; border-radius: 12px;
  font-size: .84rem; font-weight: 600; z-index: 6000; opacity: 0; pointer-events: none;
  transition: all .3s; max-width: 88%; text-align: center;
}
.bs-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.bs-toast.error { background: #dc2626; }

/* ── Admin panel ──────────────────────────────────────────────────── */
.bs-admin-wrap { max-width: 980px; margin: 0 auto; padding: 20px 14px 60px; }
.bs-admin-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 20px; }
.bs-admin-stat { background: #fff; border-radius: 14px; padding: 14px 10px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.bs-admin-stat b { display: block; font-size: 1.2rem; font-weight: 800; color: var(--bs-primary); }
.bs-admin-stat span { font-size: .68rem; color: var(--bs-text-muted); font-weight: 600; }
.bs-admin-tabs { display: flex; gap: 8px; margin-bottom: 16px; overflow-x: auto; }
.bs-admin-tab { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--bs-border); font-size: .8rem; font-weight: 700; color: var(--bs-text-muted); white-space: nowrap; cursor: pointer; }
.bs-admin-tab.active { background: var(--bs-primary); border-color: var(--bs-primary); color: #fff; }
.bs-admin-row {
  display: flex; gap: 12px; background: #fff; border-radius: 14px; padding: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,.05); margin-bottom: 10px; align-items: center;
}
.bs-admin-row img { width: 56px; height: 78px; object-fit: cover; border-radius: 8px; flex-shrink: 0; background: var(--bs-primary-light); }
.bs-admin-row-body { flex: 1; min-width: 0; }
.bs-admin-row-body h4 { font-size: .86rem; font-weight: 800; margin: 0 0 2px; }
.bs-admin-row-body p { font-size: .74rem; color: var(--bs-text-muted); margin: 0 0 4px; }
.bs-admin-status { font-size: .62rem; font-weight: 800; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; }
.bs-admin-status.pending { background: #fff4e0; color: #b45309; }
.bs-admin-status.approved { background: var(--bs-primary-light); color: var(--bs-primary-dark); }
.bs-admin-status.rejected { background: #fee2e2; color: #b91c1c; }
.bs-admin-actions { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
.bs-admin-btn { border: none; border-radius: 8px; padding: 7px 10px; font-size: .7rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.bs-admin-btn.approve { background: var(--bs-primary); color: #fff; }
.bs-admin-btn.reject  { background: #fee2e2; color: #b91c1c; }
.bs-admin-btn.delete  { background: #f1f5f4; color: #475569; }

@media (min-width: 640px) {
  .bs-book-grid { grid-template-columns: repeat(3, 1fr); }
  .bs-quick-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (min-width: 900px) {
  .bs-book-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── Admin: Bulk Import card ──────────────────────────────────────── */
.bs-admin-card {
  background: #fff; border-radius: 16px; padding: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06); margin-bottom: 18px;
}
.bs-admin-card-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  margin-bottom: 14px; flex-wrap: wrap;
}
.bs-admin-card-head h3 { font-size: .94rem; font-weight: 800; margin: 0 0 3px; }
.bs-admin-card-head p { font-size: .76rem; color: var(--bs-text-muted); margin: 0; }
.bs-tmpl-btn {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  background: var(--bs-primary-light); color: var(--bs-primary-dark);
  font-size: .76rem; font-weight: 800; padding: 9px 14px; border-radius: 999px;
  white-space: nowrap;
}

.bs-import-dropzone {
  border: 2px dashed #c8dcd3; border-radius: 14px; background: var(--bs-bg);
  padding: 26px 16px; text-align: center; cursor: pointer;
  transition: border-color .2s, background .2s; position: relative;
}
.bs-import-dropzone:hover, .bs-import-dropzone.drag-over { border-color: var(--bs-primary); background: var(--bs-primary-light); }
.bs-import-dropzone svg { opacity: .5; margin-bottom: 8px; color: var(--bs-primary); }
.bs-import-dropzone p { margin: 0; font-size: .82rem; color: var(--bs-text-muted); }
#bs-import-input { display: none; }

.bs-import-progress { margin-top: 12px; }
.bs-progress-bar { height: 6px; background: var(--bs-border); border-radius: 6px; overflow: hidden; }
.bs-progress-fill { height: 100%; width: 40%; background: linear-gradient(90deg,var(--bs-primary),var(--bs-secondary)); border-radius: 6px; animation: bs-progress-slide 1.1s ease-in-out infinite; }
@keyframes bs-progress-slide { 0% { margin-left: -40%; } 100% { margin-left: 100%; } }
.bs-progress-text { font-size: .76rem; color: var(--bs-text-muted); margin: 6px 0 0; }

.bs-import-result { margin-top: 12px; }
.bs-import-summary {
  display: flex; align-items: center; gap: 8px;
  background: var(--bs-primary-light); color: var(--bs-primary-dark);
  font-size: .82rem; font-weight: 700; padding: 10px 14px; border-radius: 10px;
}
.bs-import-errors { margin-top: 8px; font-size: .74rem; color: #b45309; background: #fff7ed; border-radius: 10px; padding: 10px 14px; max-height: 140px; overflow-y: auto; }
.bs-import-errors div { padding: 2px 0; }

.bs-default-contact { margin-top: 16px; border-top: 1px solid var(--bs-border); padding-top: 12px; }
.bs-default-contact summary { font-size: .8rem; font-weight: 700; color: var(--bs-text); cursor: pointer; }
.bs-default-contact summary span { font-weight: 500; color: var(--bs-text-muted); font-size: .74rem; }
.bs-default-contact form { margin-top: 12px; }
