/* ==========================================================================
   1. Admin Notice & Customizer Section Styles (Existing)
   ========================================================================== */
.blogger-mag-notice {
  position: relative;
  padding: 8px;
}
.blogger-mag-notice-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.blogger-mag-notice-content .blogger-mag-notice_image {
  display: flex;
  flex: 0 1 40%;
  max-width: 40%;
  min-height: 100px;
  border-right: 1px solid #FCFCFD;
  justify-content: end;
  align-items: center;
}
.blogger-mag-notice_text {
  flex: 0 1 70%;
  max-width: 70%;
}
.blogger-mag-notice-started {
  padding: 38px 38px 38px 20px !important;
  position: relative;
}
.blogger-mag-notice-links > .blogger-mag-videos {
  display: none;
}
.blogger-mag-notice-content .blogger-mag-notice_image .blogger-mag-screenshot {
  width: auto;
  object-fit: contain;
  max-height: 250px;
}
.blogger-mag-notice-content .text_heading {
  margin-top: 0;
  margin-bottom: 12px;
  line-height: 1.4;
}
.blogger-mag-notice_text .panel-column-6 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: start;
  gap: 20px;
  margin-top: 16px;
}
.panel-column-6 .blogger-mag-notice-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.panel-column-6 .blogger-mag-notice-links {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}
.blogger-mag-notice_text .notice p,
.notice-title,
div.updated p,
div.error p,
.form-table td .notice p {
  padding-right: 25px;
  font-size: 15px;
}
.blogger-mag-notice-link {
  display: inline;
  color: var(--wp-admin-theme-color);
}
.admin-bar .blogger-mag-btn-get-started,
.admin-bar .blogger-mag-btn-demos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.admin-bar .blogger-mag-notice-buttons :is(.blogger-mag-btn-get-started, .blogger-mag-btn-demos) .dashicons {
  line-height: 1.2;
  color: inherit !important;
}

#accordion-section-theme_info_section {
  display: inherit !important;
}
#accordion-section-theme_info_section button.accordion-trigger {
  padding-right: 14px;
}
#accordion-section-theme_info_section .accordion-section-title::after {
  display: none;
}
#accordion-section-theme_info_section .accordion-section-title {
  border-left-color: var(--wp-admin-theme-color);
  color: var(--wp-admin-theme-color);
  pointer-events: none;
}

/* ==========================================================================
   2. Theme Admin Menu & Dashboard — Timeless Modern Design System
   ========================================================================== */
:root {
  --bm-accent: #2563eb;
  --bm-accent-hover: #1d4ed8;
  --bm-accent-soft: #eff6ff;
  --bm-accent-border: #bfdbfe;
  --bm-pro-amber: #d97706;
  --bm-pro-soft: #fffbeb;
  --bm-heading: #0f172a;
  --bm-text: #334155;
  --bm-muted: #64748b;
  --bm-bg-canvas: #f8fafc;
  --bm-bg-surface: #ffffff;
  --bm-bg-subtle: #f1f5f9;
  --bm-border: #e2e8f0;
  --bm-border-hover: #cbd5e1;
  --bm-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --bm-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.03);
  --bm-shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 12px 24px -4px rgba(15, 23, 42, 0.08);
  --bm-radius-sm: 8px;
  --bm-radius-md: 12px;
  --bm-radius-lg: 16px;
}

#bm-upgrade-menu-item {
  color: #fbbf24;
  font-weight: 600;
}

#adminmenu [class*="toplevel_page_"][class*="_admin_menu"] .wp-menu-image.dashicons-before img,
#adminmenu [class*="toplevel_page_"][class*="_admin_menu"] .wp-menu-image img {
  padding-top: 6px;
  width: 20px;
  height: 20px;
  max-width: 20px;
  object-fit: contain;
  opacity: 0.95;
}

/* Full-bleed modern slate canvas on the Theme Dashboard screen */
body[class*="toplevel_page_"][class*="_admin_menu"] {
  background: var(--bm-bg-canvas);
}

body[class*="toplevel_page_"][class*="_admin_menu"] #wpcontent {
  padding-inline-start: 0;
}

body[class*="toplevel_page_"][class*="_admin_menu"] #wpbody-content {
  padding-bottom: 48px;
}

#bm-dashboard {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14.5px;
  color: var(--bm-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}

#bm-dashboard *,
#bm-dashboard *::before,
#bm-dashboard *::after {
  box-sizing: border-box;
}

#bm-dashboard h1,
#bm-dashboard h2,
#bm-dashboard h3,
#bm-dashboard h4,
#bm-dashboard h5,
#bm-dashboard h6 {
  color: var(--bm-heading);
  margin: 0 0 10px 0;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

#bm-dashboard p {
  font-size: 13.75px;
  line-height: 1.65;
  color: var(--bm-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.bm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 16px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--bm-heading);
  background: #ffffff;
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-sm);
  box-shadow: var(--bm-shadow-xs);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}

.bm-button:hover,
.bm-button:focus {
  color: var(--bm-heading);
  background: #f8fafc;
  border-color: var(--bm-border-hover);
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.06);
  outline: none;
}

.bm-button-primary {
  color: #ffffff;
  background: var(--bm-accent);
  border-color: var(--bm-accent);
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.bm-button-primary:hover,
.bm-button-primary:focus {
  color: #ffffff;
  background: var(--bm-accent-hover);
  border-color: var(--bm-accent-hover);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
  transform: translateY(-1px);
}

.bm-button-pro {
  width: 100%;
  color: #0f172a;
  background: linear-gradient(180deg, #fcd34d 0%, #fbbf24 100%);
  border-color: #f59e0b;
  font-weight: 600;
  min-height: 42px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}

.bm-button-pro:hover,
.bm-button-pro:focus {
  color: #0f172a;
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
  border-color: #d97706;
  transform: translateY(-1px);
}

.bm-button-sm {
  min-height: 34px;
  padding: 5px 13px;
  font-size: 12.5px;
}

.bm-button-lg {
  min-height: 42px;
  padding: 9px 20px;
  font-size: 13.75px;
  font-weight: 600;
}

.bm-button[disabled],
.bm-button.btn-disabled {
  opacity: 0.65;
  pointer-events: none;
  background: #f1f5f9;
  color: #64748b;
  border-color: #e2e8f0;
  box-shadow: none;
  transform: none;
}

/* --------------------------------------------------------------------------
   Compact Sticky Single-Bar Header (`.bm-dashboard-header`)
   -------------------------------------------------------------------------- */
.bm-dashboard-header {
  position: sticky;
  top: 32px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--bm-border);
  padding: 0 28px;
}

.bm-header-inner {
  max-width: 1280px;
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  .bm-dashboard-navigation{
    li:has(#bm-tab-compare, #bm-tab-change-log){
      display: none;
    }
  }
  .bm-header-quick-links .bm-button{
    display: none;
  }
}

.bm-header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.bm-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--bm-heading);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -0.02em;
}

.bm-brand-link:focus {
  outline: none;
  box-shadow: none;
}

.bm-brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bm-accent);
}

.bm-brand-logo svg,
.bm-brand-logo img {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}

.bm-version-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: #475569;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid #cbd5e1;
  padding: 4px 9px 4px 7px;
  border-radius: 999px;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.bm-version-pill:hover,
.bm-version-pill:focus {
  color: var(--bm-accent);
  background: var(--bm-accent-soft);
  border-color: var(--bm-accent-border);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12);
  transform: translateY(-0.5px);
  outline: none;
}

.bm-version-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.18);
  flex-shrink: 0;
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.bm-version-pill:hover .bm-version-dot,
.bm-version-pill:focus .bm-version-dot {
  background: var(--bm-accent);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.bm-version-label {
  display: inline-block;
}

/* Center Segmented/Underline Tab Bar inside Compact Header */
.bm-dashboard-navigation {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.bm-dashboard-navigation li {
  margin: 0;
}

.bm-dashboard-navigation .bm-nav-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px; 
  padding: 6px 14px;
  color: var(--bm-muted);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: none;
  outline: none;
  transition: color 0.16s ease;
  border-radius: var(--bm-radius-sm);
}

.bm-dashboard-navigation .bm-nav-tab:hover:not(.is-active) {
  color: var(--bm-heading);
}

.bm-dashboard-navigation .bm-nav-tab.is-active,
.bm-dashboard-navigation .bm-nav-tab[aria-current="page"] {
  background: var(--bm-accent-soft);
  color: var(--bm-accent);
  font-weight: 600;
}

.bm-dashboard-navigation .bm-nav-tab.is-active::after,
.bm-dashboard-navigation .bm-nav-tab[aria-current="page"]::after {
  background: var(--bm-accent);
}

.bm-tab-icon {
  display: inline-flex;
  align-items: center;
  opacity: 0.85;
}

.bm-dashboard-navigation .bm-nav-tab.is-active .bm-tab-icon {
  opacity: 1;
}

.bm-header-quick-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.bm-header-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: var(--bm-radius-sm);
  border: 1px solid var(--bm-border);
  font-size: 12.75px;
  font-weight: 500;
  color: var(--bm-text);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.bm-header-link:hover {
  background: var(--bm-bg-subtle);
  color: var(--bm-heading);
}

.bm-header-cta {
  margin-inline-start: 4px;
}

/* --------------------------------------------------------------------------
   Main Layout & Grid
   -------------------------------------------------------------------------- */
.bm-dashboard-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 28px 64px;
}

.bm-tab-panel[hidden] {
  display: none !important;
}

.bm-dashboard-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}

@media (min-width: 1024px) {
  .bm-dashboard-grid[data-columns="2"] {
    grid-template-columns: minmax(0, 1fr) 330px;
  }
}

.bm-dashboard-primary {
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-width: 0;
}

/* --------------------------------------------------------------------------
   Welcome Hero Card — Modern Editorial Banner
   -------------------------------------------------------------------------- */
.bm-welcome-hero {
  position: relative;
  display: grid;
  gap: 28px;
  padding: 32px;
  background:
    radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
    #ffffff;
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-lg);
  align-items: center;
  box-shadow: var(--bm-shadow-sm);
}

@media (min-width: 783px) {
  .bm-welcome-hero {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.bm-welcome-eyebrow {
  margin-bottom: 12px;
}

.bm-greeting-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--bm-accent);
  background: var(--bm-accent-soft);
  border: 1px solid var(--bm-accent-border);
  padding: 4px 12px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.bm-greeting-badge[hidden] {
  display: none !important;
}

.bm-greeting-badge.is-setup-badge {
  color: #b45309;
  background: #fffbeb;
  border-color: #fde68a;
  box-shadow: 0 1px 2px rgba(180, 83, 9, 0.05);
}

.bm-greeting-step-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.22);
  flex-shrink: 0;
}

.bm-greeting-badge.is-edition-badge:hover,
.bm-greeting-badge.is-edition-badge:focus {
  color: var(--bm-accent-hover);
  background: #dbeafe;
  border-color: #93c5fd;
  transform: translateY(-0.5px);
  outline: none;
}

.bm-greeting-badge.is-pro-edition {
  color: #065f46;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.bm-greeting-badge-cta {
  padding-inline-start: 7px;
  margin-inline-start: 2px;
  border-inline-start: 1px solid rgba(37, 99, 235, 0.22);
  color: var(--bm-accent-hover);
  font-weight: 600;
  display: none;
}

.bm-greeting-badge svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.bm-welcome-title {
  font-size: 24px;
  font-weight: 700 !important;
  margin-bottom: 10px !important;
}

.bm-welcome-desc {
  font-size: 14px !important;
  margin-bottom: 24px !important;
  color: var(--bm-text) !important;
  max-width: 540px;
}

.bm-welcome-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bm-video-frame,
.bm-img-frame {
  padding: 6px;
  background: var(--bm-bg-subtle);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-md);
  box-shadow: var(--bm-shadow-xs);
}

.bm-img-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--bm-radius-sm);
  object-fit: cover;
}

.bm-video-frame iframe {
  display: block;
  width: 100%;
  height: 205px;
  border: 0;
  border-radius: var(--bm-radius-sm);
  background: #0f172a;
}

/* --------------------------------------------------------------------------
   Section Headers & Segmented Filter Pills
   -------------------------------------------------------------------------- */
.bm-section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.bm-section-title {
  font-size: 17px;
  font-weight: 700 !important;
  margin-bottom: 3px !important;
}

.bm-section-subtitle {
  font-size: 13.5px;
}

/* --------------------------------------------------------------------------
   Customizer Shortcut Cards (Free / Core Theme Controls)
   -------------------------------------------------------------------------- */
.bm-shortcuts-grid {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 600px) {
  .bm-shortcuts-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

.bm-shortcut-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 16px 18px;
  background: #ffffff;
  border-radius: var(--bm-radius-md);
  border: 1px solid var(--bm-border);
  box-shadow: var(--bm-shadow-xs);
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s ease, border-color 0.18s ease;
}

.bm-shortcut-card:hover {
  border-color: var(--bm-border-hover);
  box-shadow: var(--bm-shadow-md);
  transform: translateY(-2px);
}

.bm-shortcut-card.is-pro-card {
  border-color: rgba(217, 119, 6, 0.22);
}

.bm-shortcut-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.bm-card-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--bm-accent-soft);
  color: var(--bm-accent);
}

.bm-card-icon-badge.is-free {
  background: var(--bm-accent-soft);
  color: var(--bm-accent);
}

.bm-card-icon-badge.is-pro {
  background: var(--bm-pro-soft);
  color: var(--bm-pro-amber);
}

.bm-card-icon-badge svg {
  width: 14px;
  height: 14px;
}

.bm-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 600;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.bm-badge-free {
  background: #f1f5f9;
  color: #475569;
}

.bm-badge-pro {
  background: #fef3c7;
  color: #b45309;
}

.bm-shortcut-title {
  font-size: 14px;
  font-weight: 600 !important;
  margin: 0 0 12px 0 !important;
  color: var(--bm-heading);
  line-height: 1.35;
}

.bm-shortcut-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.bm-shortcut-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--bm-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.bm-shortcut-link svg {
  transition: transform 0.16s ease;
}

.bm-shortcut-link:hover {
  color: var(--bm-heading);
}

.bm-shortcut-link.bm-link-customize {
  color: var(--bm-accent);
  font-weight: 600;
}

.bm-shortcut-link.bm-link-customize:hover svg,
.bm-shortcut-link.bm-link-pro:hover svg {
  transform: translateX(3px);
}

.bm-shortcut-link.bm-link-pro {
  color: var(--bm-pro-amber);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Companion Plugin Cards
   -------------------------------------------------------------------------- */
.bm-plugins-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}

.bm-plugin-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: #ffffff;
  border-radius: var(--bm-radius-md);
  border: 1px solid var(--bm-border);
  box-shadow: var(--bm-shadow-xs);
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.bm-plugin-card[hidden] {
  display: none !important;
}

.bm-plugin-card:hover {
  border-color: var(--bm-border-hover);
  box-shadow: var(--bm-shadow-md);
}

.bm-plugin-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.bm-plugin-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--bm-border);
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bm-plugin-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bm-plugin-heading {
  flex: 1;
  min-width: 0;
}

.bm-plugin-title-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.bm-plugin-title-row h4 {
  font-size: 14.5px;
  margin: 0 !important;
  line-height: 1.35;
}

.bm-plugin-status-pill {
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
}

.bm-plugin-status-pill.is-install {
  background: #f1f5f9;
  color: #64748b;
}

.bm-plugin-status-pill.is-activate {
  background: #fef3c7;
  color: #b45309;
}

.bm-plugin-status-pill.is-activated {
  background: #dcfce7;
  color: #15803d;
}

.bm-plugin-description {
  font-size: 13px !important;
  line-height: 1.6 !important;
  margin-bottom: 18px !important;
  flex: 1;
}

.bm-plugin-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.bm-more-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--bm-muted);
  text-decoration: none;
}

.bm-more-detail-link:hover {
  color: var(--bm-accent);
}

/* --------------------------------------------------------------------------
   Right Sidebar — Pro Spotlight + Modern Resource Card Stack
   -------------------------------------------------------------------------- */
.bm-dashboard-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 112px;
}

.bm-pro-sidebar-card {
  display: none;
  position: relative;
  overflow: hidden;
  padding: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(59, 130, 246, 0.28) 0%, transparent 55%),
    linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--bm-radius-md);
  box-shadow: var(--bm-shadow-md);
}

.bm-pro-sidebar-head {
  margin-bottom: 10px;
}

.bm-pro-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(251, 191, 36, 0.16);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fbbf24;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 99px;
  letter-spacing: 0.05em;
}

.bm-pro-sidebar-title {
  color: #ffffff !important;
  font-size: 17px;
  margin-bottom: 8px !important;
}

.bm-pro-sidebar-desc {
  color: #94a3b8 !important;
  font-size: 13px !important;
  margin-bottom: 16px !important;
}

.bm-pro-perks {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bm-pro-perks li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12.75px;
  color: #e2e8f0;
}

.bm-pro-perks .dashicons {
  color: #34d399;
  font-size: 17px;
  width: 17px;
  height: 17px;
}

.bm-resources-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bm-resource-card {
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-md);
  box-shadow: var(--bm-shadow-xs);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.bm-resource-card:hover {
  border-color: var(--bm-border-hover);
  box-shadow: var(--bm-shadow-sm);
}

.bm-resource-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.bm-resource-head h4 {
  font-size: 14px;
  margin: 0 !important;
}

.bm-resource-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 8px;
  background: var(--bm-accent-soft);
  color: var(--bm-accent);
}

.bm-resource-card[data-resource="rate_us"] .bm-resource-icon {
  background: #fef3c7;
  color: #d97706;
}

.bm-resource-card p {
  font-size: 12.75px !important;
  line-height: 1.55 !important;
  margin-bottom: 12px !important;
}

.bm-resource-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--bm-accent);
  text-decoration: none;
}

.bm-resource-link svg {
  transition: transform 0.16s ease;
}

.bm-resource-link:hover svg {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Free vs Pro Comparison Table
   -------------------------------------------------------------------------- */
.bm-cta-banner-small {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  margin-bottom: 24px;
  background: #ffffff;
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-md);
  box-shadow: var(--bm-shadow-xs);
}

.bm-cta-banner-small h2 {
  font-size: 16.5px;
  margin-bottom: 4px !important;
}

.bm-comparison-table ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-md);
  background: #ffffff;
  overflow: hidden;
  box-shadow: var(--bm-shadow-xs);
}

.bm-comparison-table ul li {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr;
  align-items: center;
  padding: 14px 22px;
  font-size: 13.75px;
  margin: 0;
}

.bm-comparison-table ul li:not(:first-child) {
  border-bottom: 1px solid #f1f5f9;
}

.bm-comparison-table ul li:not(.bm-table-heading):hover {
  background: #f8fafc;
}

.bm-comparison-table ul li:last-child {
  border-bottom: 0;
}

.bm-comparison-table ul li > span {
  text-align: center;
}

.bm-comparison-table ul li > span:first-child {
  text-align: start;
  font-weight: 500;
  color: var(--bm-heading);
}

.bm-comparison-table .bm-table-heading {
  color: var(--bm-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #f8fafc;
  border-bottom: 1px solid var(--bm-border);
}

.bm-comparison-table .bm-col-pro {
  color: var(--bm-accent);
}

.bm-comparison-table .bm-icon-yes {
  color: #16a34a;
  font-size: 20px;
  width: 20px;
  height: 20px;
}

.bm-comparison-table .bm-icon-no {
  color: #cbd5e1;
  font-size: 20px;
  width: 20px;
  height: 20px;
}

.bm-feature-text {
  font-size: 12px;
  color: var(--bm-muted);
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 99px;
}

.bm-feature-text.is-pro {
  color: var(--bm-accent);
  background: var(--bm-accent-soft);
}

.bm-comparison-footer {
  margin-top: 28px;
  padding: 32px;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-md);
  box-shadow: var(--bm-shadow-xs);
}

.bm-comparison-footer p {
  max-width: 520px;
  margin: 0 auto 18px !important;
}

/* --------------------------------------------------------------------------
   Changelog Tab
   -------------------------------------------------------------------------- */
.bm-changelog-wrapper {
  background: #ffffff;
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-md);
  padding: 28px 32px;
  box-shadow: var(--bm-shadow-xs);
}

.bm-changelog-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--bm-border);
}

.bm-changelog-explanation {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
}

.bm-changelog-explanation li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}

.bm-cl-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 6px;
}

.bm-cl-badge::before {
  font-size: 10px;
  font-weight: 700;
}

.bm-cl-badge.new {
  background: #dcfce7;
  color: #15803d;
}
.bm-cl-badge.new::before {
  content: "N";
}

.bm-cl-badge.fix {
  background: var(--bm-accent-soft);
  color: var(--bm-accent);
}
.bm-cl-badge.fix::before {
  content: "F";
}

.bm-cl-badge.improvement {
  background: #fef3c7;
  color: #b45309;
}
.bm-cl-badge.improvement::before {
  content: "I";
}

.bm-changelog-release:not(:last-of-type) {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #f1f5f9;
}

.bm-changelog-release h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  margin-bottom: 14px !important;
}

.bm-release-date {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--bm-muted);
}

.bm-release-changes {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bm-release-changes li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  line-height: 1.5;
  font-size: 13.75px;
  color: var(--bm-text);
}

.bm-release-changes li:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Dynamic Action Button (.bm-editor-action-btn)
   -------------------------------------------------------------------------- */
.bm-editor-action-btn {
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.bm-editor-action-btn .bm-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.bm-editor-action-btn .bm-btn-icon svg {
  display: block;
}

/* --------------------------------------------------------------------------
   Starter Sites Tab & Modal
   -------------------------------------------------------------------------- */
.bm-modal-main {
  position: relative;
  border-radius: var(--bm-radius-lg);
  overflow: hidden;
  border: 1px solid var(--bm-border);
  min-height: 440px;
  background: #ffffff;
}

.bm-modal-main .bm-modal-image.overlay {
  filter: blur(6px);
  position: relative;
}

.bm-modal-main .bm-modal-image.overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(248, 250, 252, 0.55);
}

.bm-modal-main .bm-modal-image img {
  width: 100%;
  display: block;
}

.bm-modal-popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
  max-width: 500px;
  z-index: 2;
}

.bm-modal-popup-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  padding: 38px 32px;
  border-radius: var(--bm-radius-lg);
  border: 1px solid var(--bm-border);
  box-shadow: var(--bm-shadow-md);
  text-align: center;
}

.bm-modal-icon img {
  width: 56px;
  height: auto;
  margin-bottom: 14px;
}

.bm-modal-popup-content h4 {
  font-size: 20px;
  margin-bottom: 10px !important;
}

.bm-modal-popup-content p {
  margin-bottom: 22px !important;
  color: var(--bm-text) !important;
}

.bm-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* Responsive adjustments */
@media (max-width: 960px) {
  .bm-dashboard-header {
    position: static;
    padding: 12px 16px 0;
  }
  .bm-header-inner {
    flex-wrap: wrap;
    min-height: auto;
    gap: 12px;
  }
  .bm-dashboard-navigation {
    order: 3;
    width: 100%;
    overflow-x: auto;
    border-top: 1px solid var(--bm-border);
  }
  .bm-dashboard-navigation .bm-nav-tab {
    height: 46px;
    white-space: nowrap;
  }
}

@media (max-width: 782px) {
  .bm-dashboard-main {
    padding: 24px 16px 48px;
  }
  .bm-comparison-table ul li {
    grid-template-columns: 2fr 1fr 1fr;
    padding: 12px 14px;
  }
}