/* ============================================================
   Bamorabi – Premium Sports Lab & Tools Stylesheet v1.0
   Designed specifically for Bamorabi WordPress Child Theme
   ============================================================ */

:root {
  --bmr-lab-primary: #10b981;
  --bmr-lab-primary-hover: #059669;
  --bmr-lab-primary-light: #ecfdf5;
  --bmr-lab-primary-border: #a7f3d0;
  --bmr-lab-text-main: #0f172a;
  --bmr-lab-text-sub: #475569;
  --bmr-lab-text-muted: #94a3b8;
  --bmr-lab-bg-gray: #f8fafc;
  --bmr-lab-border: #e2e8f0;
  --bmr-lab-card-bg: #ffffff;
  --bmr-lab-amber: #d97706;
  --bmr-lab-amber-light: #fef3c7;
  --bmr-lab-amber-border: #fde68a;
  --bmr-lab-blue: #3b82f6;
  --bmr-lab-blue-light: #eff6ff;
  --bmr-lab-shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  --bmr-lab-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --bmr-lab-shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08);
  --bmr-lab-radius: 16px;
  --bmr-lab-radius-sm: 10px;
}

.bmr-lab-page *,
.bmr-lab-page *::before,
.bmr-lab-page *::after {
  box-sizing: border-box;
}

.bmr-lab-page {
  direction: rtl;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 64px;
  color: var(--bmr-lab-text-main);
  font-family: inherit;
}

/* ── Common Breadcrumbs ── */
.bmr-lab-breadcrumb {
  margin-bottom: 24px;
}
.bmr-lab-breadcrumb__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: var(--bmr-lab-text-muted);
}
.bmr-lab-breadcrumb__item a {
  color: var(--bmr-lab-text-sub);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}
.bmr-lab-breadcrumb__item a:hover {
  color: var(--bmr-lab-primary);
}
.bmr-lab-breadcrumb-sep {
  display: inline-flex;
  align-items: center;
  color: var(--bmr-lab-text-muted);
  opacity: 0.6;
}
.bmr-lab-breadcrumb__item--current {
  color: var(--bmr-lab-text-main);
  font-weight: 700;
}

@media (max-width: 768px) {
  .bmr-lab-breadcrumb {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
    margin-bottom: 16px;
  }
  .bmr-lab-breadcrumb::-webkit-scrollbar {
    display: none;
  }
  .bmr-lab-breadcrumb__list {
    flex-wrap: nowrap;
  }
  .bmr-lab-breadcrumb__item {
    flex-shrink: 0;
  }
}

/* ── Hero Banner Section (Main Hub) ── */
.bmr-lab-hero {
  position: relative;
  background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
  border-radius: 20px;
  padding: 40px 32px;
  color: #ffffff;
  margin-bottom: 32px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(6, 78, 59, 0.18);
}
.bmr-lab-hero::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  filter: blur(40px);
  pointer-events: none;
}
.bmr-lab-hero::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.25);
  filter: blur(50px);
  pointer-events: none;
}
.bmr-lab-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.bmr-lab-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  color: #a7f3d0;
  margin-bottom: 16px;
}
.bmr-lab-hero-title {
  font-size: 30px;
  font-weight: 850;
  margin: 0 0 12px;
  line-height: 1.3;
  color: #ffffff;
}
.bmr-lab-hero-desc {
  font-size: 15px;
  line-height: 1.8;
  color: #d1fae5;
  margin: 0 0 24px;
  font-weight: 400;
}
.bmr-lab-hero-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.bmr-lab-stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 13px;
}
.bmr-lab-stat-num {
  font-size: 18px;
  font-weight: 800;
  color: #6ee7b7;
}

@media (max-width: 768px) {
  .bmr-lab-hero {
    padding: 28px 20px;
    border-radius: 16px;
    margin-bottom: 24px;
  }
  .bmr-lab-hero-title {
    font-size: 22px;
  }
  .bmr-lab-hero-desc {
    font-size: 13.5px;
  }
  .bmr-lab-hero-stats {
    gap: 8px;
  }
  .bmr-lab-stat-item {
    flex: 1 1 calc(50% - 8px);
    padding: 8px 12px;
    font-size: 12px;
    justify-content: center;
  }
}

/* ── Filter & Search Toolbar (Hub) ── */
.bmr-lab-toolbar {
  background: var(--bmr-lab-card-bg);
  border: 1px solid var(--bmr-lab-border);
  border-radius: var(--bmr-lab-radius);
  padding: 16px 20px;
  margin-bottom: 28px;
  box-shadow: var(--bmr-lab-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bmr-lab-search-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bmr-lab-search-input-wrap {
  position: relative;
  flex: 1;
}
.bmr-lab-search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bmr-lab-text-muted);
  pointer-events: none;
}
.bmr-lab-search-input {
  width: 100%;
  padding: 12px 42px 12px 16px;
  border: 1px solid var(--bmr-lab-border);
  border-radius: 12px;
  background: var(--bmr-lab-bg-gray);
  font-size: 14px;
  color: var(--bmr-lab-text-main);
  transition: all 0.2s ease;
  font-family: inherit;
}
.bmr-lab-search-input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--bmr-lab-primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}
.bmr-lab-categories-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}
.bmr-lab-categories-bar::-webkit-scrollbar {
  display: none;
}
.bmr-lab-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 9999px;
  border: 1px solid var(--bmr-lab-border);
  background: var(--bmr-lab-bg-gray);
  color: var(--bmr-lab-text-sub);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  user-select: none;
}
.bmr-lab-cat-btn:hover {
  background: var(--bmr-lab-primary-light);
  border-color: var(--bmr-lab-primary-border);
  color: var(--bmr-lab-primary-hover);
}
.bmr-lab-cat-btn.active {
  background: var(--bmr-lab-primary);
  border-color: var(--bmr-lab-primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}
.bmr-lab-cat-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.08);
  font-size: 11px;
}
.bmr-lab-cat-btn.active .bmr-lab-cat-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* ── Hub Tools Grid ── */
.bmr-lab-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.bmr-lab-tool-card {
  background: var(--bmr-lab-card-bg);
  border: 1px solid var(--bmr-lab-border);
  border-radius: var(--bmr-lab-radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--bmr-lab-shadow-sm);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.bmr-lab-tool-card:hover {
  transform: translateY(-4px);
  border-color: var(--bmr-lab-primary);
  box-shadow: var(--bmr-lab-shadow-lg);
}
.bmr-lab-tool-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.bmr-lab-tool-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--bmr-lab-primary-light);
  color: var(--bmr-lab-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.bmr-lab-tool-card:hover .bmr-lab-tool-icon-wrap {
  transform: scale(1.08) rotate(-4deg);
  background: var(--bmr-lab-primary);
  color: #ffffff;
}
.bmr-lab-tool-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--bmr-lab-bg-gray);
  color: var(--bmr-lab-text-sub);
  border: 1px solid var(--bmr-lab-border);
}
.bmr-lab-tool-title-row {
  margin-bottom: 8px;
}
.bmr-lab-tool-title {
  font-size: 16px;
  font-weight: 800;
  margin: 0;
  color: var(--bmr-lab-text-main);
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bmr-lab-tool-abbr {
  font-size: 12px;
  font-weight: 700;
  color: var(--bmr-lab-primary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.bmr-lab-tool-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--bmr-lab-text-sub);
  margin: 0 0 16px;
  flex: 1;
}
.bmr-lab-tool-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--bmr-lab-bg-gray);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--bmr-lab-primary);
}
.bmr-lab-tool-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}
.bmr-lab-tool-card:hover .bmr-lab-tool-action {
  gap: 8px;
  color: var(--bmr-lab-primary-hover);
}
.bmr-lab-tool-card:hover .bmr-lab-tool-action svg {
  transform: translateX(-3px);
}
.bmr-lab-tool-action svg {
  transition: transform 0.2s ease;
}

/* ── 2-Column Grid Layout for Single Tool Page ── */
.bmr-lab-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
}

@media (max-width: 991px) {
  .bmr-lab-grid {
    grid-template-columns: 1fr 340px;
    gap: 20px;
  }
}

@media (max-width: 820px) {
  .bmr-lab-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .bmr-lab-sidebar,
  .bmr-lab-main {
    width: 100%;
  }
}

/* ── Main Content Column (Single Tool) ── */
.bmr-lab-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.bmr-lab-box {
  background: var(--bmr-lab-card-bg);
  border: 1px solid var(--bmr-lab-border);
  border-radius: var(--bmr-lab-radius);
  padding: 24px;
  box-shadow: var(--bmr-lab-shadow-sm);
}

.bmr-lab-box-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--bmr-lab-text-main);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bmr-lab-bg-gray);
}
.bmr-lab-box-title svg {
  color: var(--bmr-lab-primary);
  flex-shrink: 0;
}

/* ── Integration with Plugin's .st-card ── */
.bmr-lab-main .st-card {
  margin: 0 !important;
  max-width: 100% !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
}

/* ── Integration with Quizzes & Tests (No Double Border + Mobile Text Wrap) ── */
.bmr-lab-main #btq-wrap,
.bmr-lab-main #spq-wrap,
.bmr-lab-main #msq-wrap,
.bmr-lab-main #tsq-wrap,
.bmr-lab-main #parq-wrap,
.bmr-lab-main #seq-wrap,
.bmr-lab-main [id$="-wrap"],
.bmr-lab-main [id$="-root"] {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Prevent long text overflow on mobile for all quiz questions and options */
.bmr-lab-main [class*="-opts"],
.bmr-lab-main [class$="-opts"],
.bmr-lab-main .btq-opts,
.bmr-lab-main .spq-opts,
.bmr-lab-main .msq-opts,
.bmr-lab-main .tsq-opts,
.bmr-lab-main .parq-opts,
.bmr-lab-main .seq-opts {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin-top: 14px !important;
  margin-bottom: 20px !important;
  width: 100% !important;
}

.bmr-lab-main [class*="-opt"],
.bmr-lab-main [class$="-opt"],
.bmr-lab-main .btq-opt,
.bmr-lab-main .spq-opt,
.bmr-lab-main .msq-opt,
.bmr-lab-main .tsq-opt,
.bmr-lab-main .parq-opt,
.bmr-lab-main .seq-opt {
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  box-sizing: border-box !important;
  max-width: 100% !important;
  width: 100% !important;
  display: block !important;
  text-align: right !important;
  line-height: 1.6 !important;
  margin-bottom: 12px !important;
  transition: all 0.2s ease !important;
}

.bmr-lab-main [class*="-opt"]:last-child,
.bmr-lab-main [class$="-opt"]:last-child,
.bmr-lab-main .btq-opt:last-child,
.bmr-lab-main .spq-opt:last-child,
.bmr-lab-main .msq-opt:last-child,
.bmr-lab-main .tsq-opt:last-child,
.bmr-lab-main .parq-opt:last-child,
.bmr-lab-main .seq-opt:last-child {
  margin-bottom: 0 !important;
}

.bmr-lab-main [class*="-qtext"],
.bmr-lab-main [class$="-qtext"],
.bmr-lab-main [class*="-desc"],
.bmr-lab-main [class*="-disclaimer"] {
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  max-width: 100% !important;
}

@media (max-width: 640px) {
  .bmr-lab-box,
  .bmr-tool-main-box {
    padding: 18px 14px !important;
    border-radius: 18px !important;
  }
  .bmr-lab-main [class*="-opt"],
  .bmr-lab-main [class$="-opt"] {
    padding: 11px 12px !important;
    font-size: 13.5px !important;
    line-height: 1.55 !important;
  }
}
.bmr-lab-main .st-card-header h1,
.bmr-lab-main .st-card-header h3 {
  font-size: 22px !important;
  font-weight: 850 !important;
  color: var(--bmr-lab-text-main) !important;
}
.bmr-lab-main .st-card-header h2,
.bmr-lab-main .st-card-header span {
  font-size: 14px !important;
  color: var(--bmr-lab-text-sub) !important;
  margin-top: 6px !important;
}
.bmr-lab-main .st-inputs input,
.bmr-lab-main .st-inputs select {
  border: 1.5px solid var(--bmr-lab-border) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  font-family: inherit !important;
  font-size: 15px !important;
  background: var(--bmr-lab-bg-gray) !important;
  color: var(--bmr-lab-text-main) !important;
  transition: all 0.2s ease !important;
}
.bmr-lab-main .st-inputs input:focus,
.bmr-lab-main .st-inputs select:focus {
  outline: none !important;
  border-color: var(--bmr-lab-primary) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15) !important;
}
.bmr-lab-main .st-inputs button,
.bmr-lab-main .st-calc-btn {
  background: var(--bmr-lab-primary) !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  font-weight: 750 !important;
  padding: 14px 20px !important;
  font-size: 15px !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25) !important;
  transition: all 0.2s ease !important;
}
.bmr-lab-main .st-inputs button:hover,
.bmr-lab-main .st-calc-btn:hover {
  background: var(--bmr-lab-primary-hover) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35) !important;
}
.bmr-lab-main .st-gender-toggle {
  border-radius: 12px !important;
  border: 1.5px solid var(--bmr-lab-border) !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  padding: 10px 14px !important;
}
.bmr-lab-main .st-gender-toggle.active {
  background: var(--bmr-lab-primary) !important;
  border-color: var(--bmr-lab-primary) !important;
  color: #ffffff !important;
}

/* ── Scientific Guide & Science Note Card ── */
.bmr-tool-guide-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--bmr-lab-text-sub);
}
.bmr-tool-guide-text p {
  margin: 0 0 12px;
}
.bmr-tool-guide-text p:last-child {
  margin-bottom: 0;
}
.bmr-tool-formula-box {
  background: var(--bmr-lab-bg-gray);
  border: 1px dashed var(--bmr-lab-primary-border);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 14px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.bmr-tool-formula-badge {
  background: var(--bmr-lab-primary);
  color: #ffffff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.bmr-tool-formula-code {
  font-family: monospace, sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--bmr-lab-text-main);
  direction: ltr;
  text-align: left;
}

/* ── Disclaimer Box (Matching single-coach.php) ── */
.bmr-lab-disclaimer {
  background: var(--bmr-lab-amber-light);
  border: 1px solid var(--bmr-lab-amber-border);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #92400e;
}
.bmr-lab-disclaimer svg {
  color: var(--bmr-lab-amber);
  flex-shrink: 0;
  margin-top: 2px;
}
.bmr-lab-disclaimer-text {
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
  font-weight: 500;
  text-align: justify;
}

/* ── Related Tools Box ── */
.bmr-related-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 640px) {
  .bmr-related-tools-grid {
    grid-template-columns: 1fr;
  }
}
.bmr-related-tool-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  background: var(--bmr-lab-bg-gray);
  border: 1px solid var(--bmr-lab-border);
  text-decoration: none;
  color: var(--bmr-lab-text-main);
  transition: all 0.2s ease;
}
.bmr-related-tool-item:hover {
  background: var(--bmr-lab-primary-light);
  border-color: var(--bmr-lab-primary-border);
  transform: translateY(-2px);
}
.bmr-related-tool-icon {
  font-size: 18px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--bmr-lab-border);
}
.bmr-related-tool-info {
  flex: 1;
  min-width: 0;
}
.bmr-related-tool-title {
  display: block;
  font-size: 12.5px;
  font-weight: 750;
  color: var(--bmr-lab-text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bmr-related-tool-sub {
  display: block;
  font-size: 11px;
  color: var(--bmr-lab-text-muted);
  margin-top: 2px;
}

/* ── Comments Box ── */
.bmr-lab-comments {
  background: var(--bmr-lab-card-bg);
  border: 1px solid var(--bmr-lab-border);
  border-radius: var(--bmr-lab-radius);
  padding: 24px;
}

/* ── Sticky Sidebar Column ── */
.bmr-lab-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bmr-sidebar-box {
  background: var(--bmr-lab-card-bg);
  border: 1px solid var(--bmr-lab-border);
  border-radius: var(--bmr-lab-radius);
  padding: 20px;
  box-shadow: var(--bmr-lab-shadow-sm);
}

.bmr-sidebar-title {
  font-size: 13.5px;
  font-weight: 750;
  color: var(--bmr-lab-text-main);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--bmr-lab-bg-gray);
}
.bmr-sidebar-title svg {
  color: var(--bmr-lab-primary);
  flex-shrink: 0;
}

/* ── Sidebar Quick Switcher / Other Tools List ── */
.bmr-tools-switcher-search {
  margin-bottom: 12px;
  position: relative;
}
.bmr-tools-switcher-input {
  width: 100%;
  padding: 8px 32px 8px 10px;
  border: 1px solid var(--bmr-lab-border);
  border-radius: 8px;
  font-size: 12px;
  background: var(--bmr-lab-bg-gray);
  font-family: inherit;
}
.bmr-tools-switcher-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bmr-lab-text-muted);
}
.bmr-tools-switcher-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 380px;
  overflow-y: auto;
  padding-left: 4px;
  scrollbar-width: thin;
}
.bmr-tools-switcher-list::-webkit-scrollbar {
  width: 4px;
}
.bmr-tools-switcher-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.bmr-tools-switcher-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  text-decoration: none;
  color: var(--bmr-lab-text-main);
  transition: all 0.2s ease;
}
.bmr-tools-switcher-item:hover {
  background: var(--bmr-lab-primary-light);
  border-color: var(--bmr-lab-primary-border);
  transform: translateX(-2px);
}
.bmr-tools-switcher-item.active {
  background: var(--bmr-lab-primary);
  color: #ffffff !important;
  border-color: var(--bmr-lab-primary);
}
.bmr-tools-switcher-item.active .bmr-switcher-icon,
.bmr-tools-switcher-item.active .bmr-switcher-abbr {
  color: #ffffff;
}
.bmr-switcher-icon {
  font-size: 16px;
  flex-shrink: 0;
}
.bmr-switcher-name {
  font-size: 13px;
  font-weight: 650;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bmr-switcher-abbr {
  font-size: 11px;
  font-weight: 700;
  color: var(--bmr-lab-primary);
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--bmr-lab-bg-gray);
}
.bmr-tools-switcher-item.active .bmr-switcher-abbr {
  background: rgba(255, 255, 255, 0.2);
}

/* ── Share & Short Link Widget (Matching Coach Single) ── */
.bmr-shortlink-copy-wrap {
  margin-bottom: 14px;
}
.bmr-shortlink-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bmr-lab-bg-gray);
  border: 1px solid var(--bmr-lab-border);
  border-radius: 10px;
  padding: 4px;
}
.bmr-shortlink-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 12px;
  color: var(--bmr-lab-text-sub);
  padding: 6px 8px;
  direction: ltr;
  text-align: left;
  outline: none;
}
.bmr-shortlink-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bmr-lab-primary);
  color: #ffffff;
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.bmr-shortlink-copy-btn:hover {
  background: var(--bmr-lab-primary-hover);
}

.bmr-share-icons-list {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}
.bmr-share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.bmr-share-btn:hover {
  transform: translateY(-2px);
}
.bmr-share-telegram { background: #229ed9; }
.bmr-share-whatsapp { background: #25d366; }
.bmr-share-eitaa    { background: #e56b24; }
.bmr-share-bale     { background: #138947; }
