/* ==========================================================================
   BulkMailPro design system
   Tokens + layout (sidebar/topbar shell, auth screen) + shared components.
   Bootstrap 5 stays underneath for grid/utilities; this file restyles it.
   ========================================================================== */

:root {
  --bmp-primary: #4f46e5;
  --bmp-primary-dark: #4338ca;
  --bmp-primary-light: #eef2ff;
  --bmp-sidebar-bg: #16172e;
  --bmp-sidebar-bg-alt: #1c1e3a;
  --bmp-sidebar-text: #c3c5e0;
  --bmp-body-bg: #f4f5fa;
  --bmp-card-bg: #ffffff;
  --bmp-border: #e5e7eb;
  --bmp-text: #1f2333;
  --bmp-text-muted: #6b7280;
  --bmp-success: #059669;
  --bmp-success-bg: #ecfdf5;
  --bmp-danger: #dc2626;
  --bmp-danger-bg: #fef2f2;
  --bmp-warning: #d97706;
  --bmp-warning-bg: #fffbeb;
  --bmp-blue: #2563eb;
  --bmp-blue-bg: #eff6ff;
  --bmp-radius: 0.75rem;
  --bmp-radius-sm: 0.55rem;
  --bmp-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .08);
  --bmp-shadow-md: 0 4px 10px -2px rgba(16, 24, 40, .1), 0 3px 6px -3px rgba(16, 24, 40, .08);
  --bmp-sidebar-width: 264px;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bmp-body-bg);
  color: var(--bmp-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a {
  color: var(--bmp-primary);
  text-decoration: none;
}
a:hover {
  color: var(--bmp-primary-dark);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem #fff, 0 0 0 0.25rem rgba(79, 70, 229, .35);
}

.bmp-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

/* ==========================================================================
   App shell: fixed sidebar + topbar + content
   ========================================================================== */

.bmp-shell {
  display: flex;
  min-height: 100vh;
  align-items: stretch;
}

.bmp-sidebar-toggle-input {
  display: none;
}

.bmp-sidebar {
  width: var(--bmp-sidebar-width);
  flex: 0 0 var(--bmp-sidebar-width);
  background: linear-gradient(180deg, var(--bmp-sidebar-bg) 0%, var(--bmp-sidebar-bg-alt) 100%);
  color: var(--bmp-sidebar-text);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  align-self: flex-start;
  height: 100vh;
  z-index: 1030;
}

.bmp-sidebar-brand {
  padding: 1.35rem 1.25rem .9rem;
}

.bmp-brand-link {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -.01em;
}
.bmp-brand-link:hover {
  color: #fff;
}

.bmp-brand-mark {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: .65rem;
  background: linear-gradient(135deg, var(--bmp-primary), #818cf8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  box-shadow: 0 2px 6px rgba(79, 70, 229, .5);
}
.bmp-brand-mark .bmp-icon {
  width: 1.2rem;
  height: 1.2rem;
}
.bmp-brand-mark-lg {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: .9rem;
}
.bmp-brand-mark-lg .bmp-icon {
  width: 1.7rem;
  height: 1.7rem;
}

.bmp-nav {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: .5rem .75rem;
}

.bmp-nav-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .32);
  font-weight: 700;
  padding: .85rem .6rem .4rem;
}

.bmp-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.bmp-nav-link {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .62rem .75rem;
  border-radius: var(--bmp-radius-sm);
  color: var(--bmp-sidebar-text);
  font-size: .925rem;
  font-weight: 500;
  transition: background .15s ease, color .15s ease;
}
.bmp-nav-link .bmp-icon {
  opacity: .8;
}
.bmp-nav-link:hover {
  background: rgba(255, 255, 255, .07);
  color: #fff;
}
.bmp-nav-link.active {
  background: var(--bmp-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(79, 70, 229, .45);
}
.bmp-nav-link.active .bmp-icon {
  opacity: 1;
}

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

.bmp-user-card {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .5rem .4rem;
  border-radius: var(--bmp-radius-sm);
  margin-bottom: .5rem;
}

.bmp-user-avatar {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .78rem;
  flex-shrink: 0;
}

.bmp-user-meta {
  min-width: 0;
}
.bmp-user-name {
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bmp-user-role {
  color: rgba(255, 255, 255, .45);
  font-size: .72rem;
}

.bmp-logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  background: rgba(255, 255, 255, .05);
  color: var(--bmp-sidebar-text);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--bmp-radius-sm);
  padding: .5rem .75rem;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.bmp-logout-btn:hover {
  background: rgba(220, 38, 38, .15);
  color: #fecaca;
  border-color: rgba(220, 38, 38, .3);
}

.bmp-sidebar-backdrop {
  display: none;
}

.bmp-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.bmp-topbar {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .95rem 1.75rem;
  background: #fff;
  border-bottom: 1px solid var(--bmp-border);
  position: sticky;
  top: 0;
  z-index: 1010;
}

.bmp-page-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  color: var(--bmp-text);
}

.bmp-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--bmp-radius-sm);
  cursor: pointer;
  color: var(--bmp-text-muted);
  flex-shrink: 0;
}
.bmp-menu-btn:hover {
  background: var(--bmp-primary-light);
  color: var(--bmp-primary);
}

.bmp-content {
  flex: 1 1 auto;
  padding: 1.75rem;
  width: 100%;
  max-width: 1320px;
}

.bmp-footer {
  padding: 1.1rem 1.75rem;
  color: var(--bmp-text-muted);
  font-size: .82rem;
  border-top: 1px solid var(--bmp-border);
}

@media (max-width: 991.98px) {
  .bmp-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    transform: translateX(-100%);
    transition: transform .25s ease;
    box-shadow: var(--bmp-shadow-md);
  }
  .bmp-sidebar-toggle-input:checked ~ .bmp-sidebar {
    transform: translateX(0);
  }
  .bmp-sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 17, 33, .5);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 1020;
  }
  .bmp-sidebar-toggle-input:checked ~ .bmp-sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
  .bmp-menu-btn {
    display: inline-flex;
  }
  .bmp-content {
    padding: 1.25rem;
  }
  .bmp-topbar {
    padding: .85rem 1.25rem;
  }
}

/* ==========================================================================
   Guest (logged-out) shell + auth split screen
   ========================================================================== */

.bmp-guest-main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.bmp-guest-alerts {
  padding: 1rem 1.5rem 0;
}

.bmp-auth {
  flex: 1 1 auto;
  display: flex;
  min-height: 100vh;
}

.bmp-auth-panel {
  flex: 1 1 46%;
  background: linear-gradient(155deg, #312e81 0%, #4338ca 45%, #4f46e5 100%);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.bmp-auth-panel::before, .bmp-auth-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
}
.bmp-auth-panel::before {
  width: 24rem;
  height: 24rem;
  top: -9rem;
  right: -9rem;
}
.bmp-auth-panel::after {
  width: 16rem;
  height: 16rem;
  bottom: -6rem;
  left: -5rem;
  background: rgba(255, 255, 255, .05);
}

.bmp-auth-panel-inner {
  max-width: 27rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.bmp-auth-panel-inner h1 {
  font-size: 1.9rem;
  font-weight: 800;
  margin: 1.35rem 0 .75rem;
  letter-spacing: -.02em;
}
.bmp-auth-panel-inner > p {
  color: rgba(255, 255, 255, .82);
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 2rem;
}

.bmp-auth-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.bmp-auth-highlights li {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  font-size: .9rem;
  color: rgba(255, 255, 255, .92);
  line-height: 1.4;
}
.bmp-auth-highlights .bmp-icon-wrap {
  width: 2rem;
  height: 2rem;
  border-radius: .55rem;
  background: rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bmp-auth-highlights .bmp-icon {
  width: 1.05rem;
  height: 1.05rem;
  color: #e0e7ff;
}

.bmp-auth-form-side {
  flex: 1 1 54%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--bmp-body-bg);
}

.bmp-auth-card {
  width: 100%;
  max-width: 24rem;
}
.bmp-auth-card h2 {
  font-weight: 800;
  font-size: 1.6rem;
  margin-bottom: .3rem;
  letter-spacing: -.02em;
}
.bmp-auth-card > p {
  margin-bottom: 1.75rem;
}

.bmp-auth-mobile-brand {
  display: none;
}

@media (max-width: 900px) {
  .bmp-auth-panel {
    display: none;
  }
  .bmp-auth-form-side {
    flex: 1 1 100%;
    background: #fff;
  }
  .bmp-auth-mobile-brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    justify-content: center;
    margin-bottom: 1.75rem;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--bmp-text);
  }
}

.bmp-input-group {
  position: relative;
  display: flex;
  align-items: center;
}
.bmp-input-group .form-control {
  padding-left: 2.6rem;
}
.bmp-input-group.bmp-input-group--with-action .form-control {
  padding-right: 2.6rem;
}
.bmp-input-icon {
  position: absolute;
  left: .85rem;
  color: #9ca3af;
  display: flex;
  pointer-events: none;
}
.bmp-input-icon .bmp-icon {
  width: 1.05rem;
  height: 1.05rem;
}
.bmp-input-action {
  position: absolute;
  right: .55rem;
  background: none;
  border: none;
  color: #9ca3af;
  display: flex;
  align-items: center;
  padding: .3rem;
  cursor: pointer;
  border-radius: .35rem;
}
.bmp-input-action:hover {
  color: #4b5563;
  background: #f3f4f6;
}

.bmp-btn-lg {
  padding: .65rem 1rem;
  font-size: .95rem;
}

/* ==========================================================================
   Cards, panels, tables, buttons, forms, badges - applies app-wide
   ========================================================================== */

.card {
  border: 1px solid var(--bmp-border);
  border-radius: var(--bmp-radius);
  box-shadow: var(--bmp-shadow);
}
.shadow-sm {
  box-shadow: var(--bmp-shadow) !important;
}

.bmp-panel {
  background: var(--bmp-card-bg);
  border: 1px solid var(--bmp-border);
  border-radius: var(--bmp-radius);
  box-shadow: var(--bmp-shadow);
  overflow: hidden;
}
.bmp-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--bmp-border);
  flex-wrap: wrap;
  gap: .75rem;
}
.bmp-panel-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: var(--bmp-text);
}
.bmp-panel-body {
  padding: 1.25rem;
}
.bmp-panel-body.p-0 {
  padding: 0;
}
.bmp-panel-body.p-0 .table {
  margin-bottom: 0;
}
.bmp-panel-footer {
  padding: .9rem 1.25rem;
  border-top: 1px solid var(--bmp-border);
  background: #fbfbfd;
}

.btn {
  border-radius: var(--bmp-radius-sm);
  font-weight: 600;
  font-size: .9rem;
  padding: .5rem 1rem;
}
.btn-sm {
  padding: .35rem .75rem;
  font-size: .8rem;
}
.btn-primary {
  background-color: var(--bmp-primary);
  border-color: var(--bmp-primary);
}
.btn-primary:hover, .btn-primary:focus {
  background-color: var(--bmp-primary-dark);
  border-color: var(--bmp-primary-dark);
}
.btn-outline-primary {
  color: var(--bmp-primary);
  border-color: var(--bmp-primary);
}
.btn-outline-primary:hover {
  background-color: var(--bmp-primary);
  border-color: var(--bmp-primary);
}
.btn-outline-secondary {
  color: var(--bmp-text-muted);
  border-color: var(--bmp-border);
}
.btn-outline-secondary:hover {
  background: #f3f4f6;
  color: var(--bmp-text);
  border-color: #d1d5db;
}
.btn .bmp-icon {
  width: .95rem;
  height: .95rem;
  margin-right: .35rem;
  vertical-align: -.15em;
}

.table {
  --bs-table-bg: transparent;
}
.table thead th {
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .05em;
  color: var(--bmp-text-muted);
  font-weight: 700;
  background: #f9fafb;
  border-bottom-width: 1px;
}
.table td, .table th {
  padding: .85rem 1rem;
  vertical-align: middle;
}
.table-hover > tbody > tr:hover > * {
  background-color: #f9fafb;
}
.table-sm td, .table-sm th {
  padding: .55rem .75rem;
}

.badge {
  font-weight: 600;
  padding: .42em .68em;
  border-radius: .4rem;
  letter-spacing: .01em;
}

.form-control, .form-select {
  border-radius: var(--bmp-radius-sm);
  border-color: #d1d5db;
  padding: .55rem .8rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--bmp-primary);
  box-shadow: 0 0 0 .2rem rgba(79, 70, 229, .15);
}
.form-label {
  font-weight: 600;
  font-size: .875rem;
  color: #374151;
  margin-bottom: .35rem;
}
.form-check-input:checked {
  background-color: var(--bmp-primary);
  border-color: var(--bmp-primary);
}

.alert {
  border-radius: var(--bmp-radius-sm);
  border: 1px solid transparent;
}

/* Pill-style pagination, built on top of Bootstrap's .pagination */
.bmp-pager {
  margin-top: 1.25rem;
}
.bmp-pager .pagination .page-link {
  border-radius: var(--bmp-radius-sm) !important;
  margin: 0 .15rem;
  border-color: var(--bmp-border);
  color: var(--bmp-text);
}
.bmp-pager .pagination .page-item.active .page-link {
  background: var(--bmp-primary);
  border-color: var(--bmp-primary);
  color: #fff;
}
.bmp-pager .pagination .page-item.disabled .page-link {
  color: #c1c5cd;
  border-color: var(--bmp-border);
}
.bmp-panel .bmp-pager {
  padding: 1rem 1.25rem;
  margin-top: 0;
  border-top: 1px solid var(--bmp-border);
}

/* Stat cards (dashboard) */
.bmp-stat-card {
  background: var(--bmp-card-bg);
  border: 1px solid var(--bmp-border);
  border-radius: var(--bmp-radius);
  box-shadow: var(--bmp-shadow);
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  height: 100%;
}
.bmp-stat-card--stacked {
  flex-direction: column;
  align-items: stretch;
}
.bmp-stat-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--bmp-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bmp-stat-icon .bmp-icon {
  width: 1.3rem;
  height: 1.3rem;
}
.bmp-stat-icon--indigo { background: var(--bmp-primary-light); color: var(--bmp-primary); }
.bmp-stat-icon--green  { background: var(--bmp-success-bg); color: var(--bmp-success); }
.bmp-stat-icon--amber  { background: var(--bmp-warning-bg); color: var(--bmp-warning); }
.bmp-stat-icon--blue   { background: var(--bmp-blue-bg); color: var(--bmp-blue); }

.bmp-stat-label {
  font-size: .8rem;
  color: var(--bmp-text-muted);
  font-weight: 600;
}
.bmp-stat-value {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--bmp-text);
  line-height: 1.25;
}

.bmp-mini-progress {
  height: .4rem;
  background: #f3f4f6;
  border-radius: 1rem;
  overflow: hidden;
}
.bmp-mini-progress-bar {
  height: 100%;
  background: var(--bmp-primary);
  border-radius: 1rem;
}

/* Empty states */
.bmp-empty-state {
  text-align: center;
  padding: 3.25rem 1.5rem;
  color: var(--bmp-text-muted);
}
.bmp-empty-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #f3f4f6;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.bmp-empty-icon .bmp-icon {
  width: 1.5rem;
  height: 1.5rem;
}
.bmp-empty-state p {
  max-width: 30rem;
  margin: 0 auto;
}

.bmp-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.bmp-page-header h2 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -.01em;
}
.bmp-page-header p {
  margin: .2rem 0 0;
}

.footer {
  position: static;
}

/* Branding page: logo preview + "how it appears" order list */
.bmp-logo-preview {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: var(--bmp-radius-sm);
  border: 1px solid var(--bmp-border);
  object-fit: contain;
  background: #fff;
  padding: .35rem;
  flex-shrink: 0;
}
.bmp-logo-preview--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  color: #9ca3af;
}
.bmp-logo-preview--empty .bmp-icon {
  width: 1.75rem;
  height: 1.75rem;
}

.bmp-order-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem 0;
  border-bottom: 1px dashed var(--bmp-border);
}
.bmp-order-item:last-child {
  border-bottom: none;
}
.bmp-order-item--muted {
  opacity: .65;
}
.bmp-order-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--bmp-primary-light);
  color: var(--bmp-primary);
  font-weight: 700;
  font-size: .8rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Global GIF loading overlay - shown on page navigation / form submits
   (see site.js). Sits above everything, including the sidebar.
   ========================================================================== */

.bmp-loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 17, 33, .45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s ease;
}
.bmp-loader-overlay.is-active {
  opacity: 1;
  visibility: visible;
}
.bmp-loader-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .65rem;
  background: var(--bmp-card-bg);
  border-radius: var(--bmp-radius);
  box-shadow: var(--bmp-shadow-md);
  padding: 1.5rem 2.25rem;
}
.bmp-loader-gif {
  width: 56px;
  height: 56px;
  display: block;
}
.bmp-loader-text {
  font-size: .82rem;
  font-weight: 600;
  color: var(--bmp-text-muted);
}

/* AdyCore BulkMailPro - login page (small, centered)
   Link AFTER site.css. Every rule is scoped under .bmp-auth so it overrides older styles. */

.bmp-auth {
    --a-deep: #362b9e;
    --a-main: #4f46e0;
    --a-blue: #2f5bff;
    --a-blue-dark: #2447d6;
    --a-mint: #5eead4;
    --a-text: #1a2333;
    --a-muted: #8b97ab;
    --a-line: #dfe4ee;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: #eceafc;
    font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
    color: var(--a-text);
    font-size: .85rem;
}

    /* soft purple circles behind the card */
    .bmp-auth::before,
    .bmp-auth::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        background: rgba(79, 70, 224, .12);
        pointer-events: none;
    }

    .bmp-auth::before {
        width: 420px;
        height: 420px;
        top: -160px;
        right: -120px;
    }

    .bmp-auth::after {
        width: 320px;
        height: 320px;
        bottom: -130px;
        left: -100px;
    }

    /* ---------- The small centered box ---------- */
    .bmp-auth .bmp-auth-shell {
        position: relative;
        z-index: 1;
        display: grid;
        grid-template-columns: 1.05fr 1fr;
        width: 100%;
        max-width: 700px;
        background: #fff;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 24px 60px -24px rgba(40, 32, 120, .5);
    }

    /* ---------- Left panel ---------- */
    .bmp-auth .bmp-auth-panel {
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
        padding: 1.5rem 1.4rem;
        background: linear-gradient(160deg, var(--a-deep) 0%, var(--a-main) 100%);
        color: #fff;
    }

        .bmp-auth .bmp-auth-panel::before {
            content: "";
            position: absolute;
            width: 200px;
            height: 200px;
            top: -80px;
            right: -70px;
            border-radius: 50%;
            background: rgba(255, 255, 255, .07);
            pointer-events: none;
        }

    .bmp-auth .bmp-auth-panel-inner {
        position: relative;
        z-index: 1;
        width: 100%;
    }

    .bmp-auth .bmp-auth-logo {
        display: flex;
        align-items: center;
        gap: .5rem;
        margin-bottom: 1.1rem;
    }

    .bmp-auth .bmp-brand-mark {
        width: 28px;
        height: 28px;
        border-radius: 8px;
        background: rgba(255, 255, 255, .18);
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
    }

        .bmp-auth .bmp-brand-mark svg {
            width: 16px;
            height: 16px;
        }

    .bmp-auth .bmp-auth-logo-text {
        font-size: .88rem;
        font-weight: 500;
    }

        .bmp-auth .bmp-auth-logo-text strong {
            font-weight: 800;
        }

    .bmp-auth .bmp-auth-panel h1 {
        font-size: 1.15rem;
        font-weight: 800;
        line-height: 1.25;
        letter-spacing: -.01em;
        margin: 0 0 .5rem;
        color: #fff;
    }

    .bmp-auth .bmp-auth-lead {
        color: rgba(255, 255, 255, .75);
        font-size: .76rem;
        line-height: 1.5;
        margin: 0 0 1rem;
    }

    .bmp-auth .bmp-auth-preview {
        background: rgba(255, 255, 255, .1);
        border: 1px solid rgba(255, 255, 255, .16);
        border-radius: 10px;
        padding: .7rem .8rem .8rem;
        margin-bottom: 1rem;
    }

    .bmp-auth .bmp-auth-preview-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: .5rem;
        margin-bottom: .55rem;
    }

    .bmp-auth .bmp-auth-preview-title {
        font-weight: 600;
        font-size: .76rem;
    }

    .bmp-auth .bmp-auth-badge {
        display: inline-flex;
        align-items: center;
        gap: .3rem;
        font-size: .64rem;
        font-weight: 600;
        color: var(--a-mint);
        background: rgba(94, 234, 212, .14);
        padding: .1rem .5rem;
        border-radius: 999px;
    }

        .bmp-auth .bmp-auth-badge::before {
            content: "";
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--a-mint);
            animation: bmp-pulse 1.8s ease-in-out infinite;
        }

    .bmp-auth .bmp-auth-progress {
        height: 4px;
        background: rgba(255, 255, 255, .18);
        border-radius: 999px;
        overflow: hidden;
        margin-bottom: .65rem;
    }

        .bmp-auth .bmp-auth-progress span {
            display: block;
            height: 100%;
            background: var(--a-mint);
            border-radius: inherit;
        }

    .bmp-auth .bmp-auth-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: .4rem;
    }

        .bmp-auth .bmp-auth-stats div {
            display: flex;
            flex-direction: column;
        }

        .bmp-auth .bmp-auth-stats strong {
            font-size: .92rem;
            font-weight: 700;
            line-height: 1.2;
            font-variant-numeric: tabular-nums;
        }

        .bmp-auth .bmp-auth-stats span {
            font-size: .64rem;
            color: rgba(255, 255, 255, .7);
        }

    .bmp-auth .bmp-auth-highlights {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        gap: .5rem;
    }

        .bmp-auth .bmp-auth-highlights li {
            display: flex;
            align-items: center;
            gap: .55rem;
            font-size: .72rem;
            line-height: 1.35;
            color: rgba(255, 255, 255, .9);
        }

        .bmp-auth .bmp-auth-highlights .bmp-icon-wrap {
            flex: 0 0 auto;
            width: 26px;
            height: 26px;
            border-radius: 7px;
            background: rgba(255, 255, 255, .14);
            color: #fff;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

            .bmp-auth .bmp-auth-highlights .bmp-icon-wrap svg {
                width: 14px;
                height: 14px;
            }

    /* ---------- Right side (form) ---------- */
    .bmp-auth .bmp-auth-form-side {
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1.5rem 1.4rem;
    }

    .bmp-auth .bmp-auth-card {
        width: 100%;
        max-width: 280px;
        background: transparent;
        border: 0;
        border-radius: 0;
        padding: 0;
        box-shadow: none;
    }

    .bmp-auth .bmp-auth-mobile-brand {
        display: none;
        align-items: center;
        gap: .5rem;
        margin-bottom: 1rem;
    }

        .bmp-auth .bmp-auth-mobile-brand .bmp-brand-mark {
            background: var(--a-main);
        }

        .bmp-auth .bmp-auth-mobile-brand strong {
            font-weight: 800;
        }

    .bmp-auth .bmp-auth-card h2 {
        font-size: 1.15rem;
        font-weight: 800;
        letter-spacing: -.01em;
        margin: 0 0 .15rem;
        color: var(--a-text);
    }

    .bmp-auth .bmp-auth-sub {
        color: #6b7789;
        font-size: .78rem;
        margin: 0 0 1rem;
    }

    .bmp-auth .form-label {
        font-size: .75rem;
        font-weight: 600;
        margin-bottom: .25rem;
    }

    .bmp-auth .bmp-input-group {
        position: relative;
    }

    .bmp-auth .bmp-input-icon {
        position: absolute;
        left: .7rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--a-muted);
        display: inline-flex;
        pointer-events: none;
    }

        .bmp-auth .bmp-input-icon svg {
            width: 14px;
            height: 14px;
        }

    .bmp-auth .bmp-input-group .form-control {
        height: 36px;
        padding: 0 .7rem 0 2.1rem;
        border: 1px solid var(--a-line);
        border-radius: 8px;
        font-size: .8rem;
        background: #fbfcfe;
    }

        .bmp-auth .bmp-input-group .form-control:focus {
            background: #fff;
            border-color: var(--a-blue);
            box-shadow: 0 0 0 3px rgba(47, 91, 255, .14);
        }

    .bmp-auth .bmp-input-group--with-action .form-control {
        padding-right: 2.4rem;
    }

    .bmp-auth .bmp-input-action {
        position: absolute;
        right: .25rem;
        top: 50%;
        transform: translateY(-50%);
        width: 27px;
        height: 27px;
        border: 0;
        background: transparent;
        color: var(--a-muted);
        border-radius: 6px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

        .bmp-auth .bmp-input-action:hover {
            color: var(--a-text);
            background: #eef1f7;
        }

        .bmp-auth .bmp-input-action:focus-visible {
            outline: 2px solid var(--a-blue);
            outline-offset: 1px;
        }

        .bmp-auth .bmp-input-action svg {
            width: 14px;
            height: 14px;
        }

    .bmp-auth .form-check-input:checked {
        background-color: var(--a-blue);
        border-color: var(--a-blue);
    }

    .bmp-auth .form-check-label {
        font-size: .75rem;
    }

    .bmp-auth .btn-primary {
        background: var(--a-blue);
        border-color: var(--a-blue);
        font-weight: 600;
        border-radius: 8px;
    }

        .bmp-auth .btn-primary:hover,
        .bmp-auth .btn-primary:focus {
            background: var(--a-blue-dark);
            border-color: var(--a-blue-dark);
        }

    .bmp-auth .bmp-btn-lg {
        height: 38px;
        font-size: .84rem;
        padding-top: 0;
        padding-bottom: 0;
    }

@keyframes bmp-pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: .35;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bmp-auth .bmp-auth-badge::before {
        animation: none;
    }
}

/* ---------- Mobile: only the form card, still centered ---------- */
@media (max-width: 767.98px) {
    .bmp-auth .bmp-auth-shell {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    .bmp-auth .bmp-auth-panel {
        display: none;
    }

    .bmp-auth .bmp-auth-mobile-brand {
        display: flex;
    }

    .bmp-auth .bmp-auth-form-side {
        padding: 1.5rem 1.25rem;
    }

    .bmp-auth .bmp-auth-card {
        max-width: none;
    }
}


.bmp-dash {
    --d-indigo: #4f46e0;
    --d-blue: #2f5bff;
    --d-text: #1a2333;
    --d-muted: #6b7789;
    --d-line: #e4e8f1;
    --d-surface: #ffffff;
    color: var(--d-text);
    max-width: 1060px;
    margin-inline: auto;
    font-size: .84rem;
}

    /* status tones (used by donut segments, legend dots) */
    .bmp-dash .tone-ok {
        --tone: #0f9b6c;
    }

    .bmp-dash .tone-run {
        --tone: #2f5bff;
    }

    .bmp-dash .tone-warn {
        --tone: #e59a0b;
    }

    .bmp-dash .tone-idle {
        --tone: #9aa5bb;
    }

    .bmp-dash .tone-bad {
        --tone: #d9382f;
    }

    .bmp-dash .tone-other {
        --tone: #4f46e0;
    }

    /* ---------- Header ---------- */
    .bmp-dash .bmp-dash-header {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 1rem;
        flex-wrap: wrap;
        margin-bottom: 1rem;
    }

        .bmp-dash .bmp-dash-header h2 {
            font-size: 1.2rem;
            font-weight: 800;
            letter-spacing: -.02em;
            margin: 0 0 .1rem;
        }

        .bmp-dash .bmp-dash-header p {
            color: var(--d-muted);
            margin: 0;
            font-size: .8rem;
        }

    .bmp-dash .btn-primary {
        background: var(--d-blue);
        border-color: var(--d-blue);
        font-weight: 600;
        border-radius: 8px;
        font-size: .82rem;
        padding: .38rem .8rem;
    }

        .bmp-dash .btn-primary:hover,
        .bmp-dash .btn-primary:focus {
            background: #2447d6;
            border-color: #2447d6;
        }

        .bmp-dash .bmp-dash-cta,
        .bmp-dash .btn-primary.btn-sm {
            display: inline-flex;
            align-items: center;
            gap: .4rem;
        }

        .bmp-dash .btn-primary svg {
            width: 14px;
            height: 14px;
        }

    .bmp-dash .btn-outline-secondary {
        border-color: var(--d-line);
        color: var(--d-text);
        font-weight: 600;
        border-radius: 8px;
        background: #fff;
        font-size: .78rem;
    }

        .bmp-dash .btn-outline-secondary:hover {
            background: #f3f5fb;
            border-color: #cfd6e6;
            color: var(--d-text);
        }

    /* ---------- Hero ---------- */
    .bmp-dash .bmp-hero {
        position: relative;
        overflow: hidden;
        display: grid;
        grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
        gap: 1.1rem;
        align-items: center;
        padding: 1rem 1.2rem;
        margin-bottom: 1rem;
        border-radius: 14px;
        color: #fff;
        background: linear-gradient(135deg, #362b9e 0%, #4f46e0 100%);
        box-shadow: 0 18px 40px -26px rgba(54, 43, 158, .7);
    }

        .bmp-dash .bmp-hero::before,
        .bmp-dash .bmp-hero::after {
            content: "";
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, .06);
            pointer-events: none;
        }

        .bmp-dash .bmp-hero::before {
            width: 220px;
            height: 220px;
            top: -120px;
            right: -60px;
        }

        .bmp-dash .bmp-hero::after {
            width: 150px;
            height: 150px;
            bottom: -90px;
            left: 30%;
        }

        .bmp-dash .bmp-hero > * {
            position: relative;
            z-index: 1;
        }

    .bmp-dash .bmp-hero-main {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .bmp-dash .bmp-gauge {
        position: relative;
        flex: 0 0 auto;
        width: 80px;
        height: 80px;
    }

        .bmp-dash .bmp-gauge svg {
            width: 100%;
            height: 100%;
            transform: rotate(-90deg);
        }

        .bmp-dash .bmp-gauge circle {
            fill: none;
            stroke-width: 3.6;
            stroke-linecap: round;
        }

    .bmp-dash .bmp-gauge-track {
        stroke: rgba(255, 255, 255, .18);
    }

    .bmp-dash .bmp-gauge-arc {
        stroke: #5eead4;
        stroke-dasharray: var(--v) 100;
        animation: bmp-sweep 1.1s cubic-bezier(.2, .7, .2, 1) both;
    }

    .bmp-dash .bmp-gauge--warn .bmp-gauge-arc {
        stroke: #fbbf24;
    }

    .bmp-dash .bmp-gauge--danger .bmp-gauge-arc {
        stroke: #fb7185;
    }

@keyframes bmp-sweep {
    from {
        stroke-dasharray: 0 100;
    }
}

.bmp-dash .bmp-gauge-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
}

    .bmp-dash .bmp-gauge-center strong {
        font-size: 1.05rem;
        font-weight: 800;
        letter-spacing: -.02em;
    }

    .bmp-dash .bmp-gauge-center span {
        font-size: .62rem;
        color: rgba(255, 255, 255, .75);
    }

.bmp-dash .bmp-hero-greet {
    font-size: .74rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .75);
    margin: 0 0 .1rem;
}

.bmp-dash .bmp-hero-text h3 {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -.01em;
    margin: 0 0 .2rem;
    color: #fff;
}

.bmp-dash .bmp-hero-text p:last-child {
    font-size: .76rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, .8);
    margin: 0;
    max-width: 42ch;
}

.bmp-dash .bmp-hero-tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .55rem;
}

.bmp-dash .bmp-tile {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    padding: .6rem .65rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .16);
}

.bmp-dash .bmp-tile-icon {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .3rem;
}

    .bmp-dash .bmp-tile-icon svg {
        width: 13px;
        height: 13px;
    }

.bmp-dash .bmp-tile strong {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
}

.bmp-dash .bmp-tile > span:last-child {
    font-size: .68rem;
    color: rgba(255, 255, 255, .75);
}

/* ---------- Chart cards ---------- */
.bmp-dash .bmp-charts {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
    gap: .8rem;
    margin-bottom: 1rem;
}

.bmp-dash .bmp-chart-card {
    background: var(--d-surface);
    border: 1px solid var(--d-line);
    border-radius: 12px;
    padding: .85rem .95rem .95rem;
    box-shadow: 0 1px 2px rgba(26, 35, 51, .04);
    min-width: 0;
}

.bmp-dash .bmp-chart-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .75rem;
}

    .bmp-dash .bmp-chart-head h3 {
        font-size: .88rem;
        font-weight: 700;
        margin: 0;
        letter-spacing: -.01em;
    }

    .bmp-dash .bmp-chart-head span {
        font-size: .68rem;
        color: var(--d-muted);
    }

.bmp-dash .bmp-chart-empty {
    color: var(--d-muted);
    font-size: .8rem;
    margin: 1.5rem 0;
    text-align: center;
}

/* Donut */
.bmp-dash .bmp-donut-wrap {
    display: flex;
    align-items: center;
    gap: .9rem;
    flex-wrap: wrap;
}

.bmp-dash .bmp-donut {
    position: relative;
    flex: 0 0 auto;
    width: 96px;
    height: 96px;
}

    .bmp-dash .bmp-donut svg {
        width: 100%;
        height: 100%;
        transform: rotate(-90deg);
    }

    .bmp-dash .bmp-donut circle {
        fill: none;
        stroke-width: 5;
    }

.bmp-dash .bmp-donut-track {
    stroke: #eef1f7;
}

.bmp-dash .bmp-donut-seg {
    stroke: var(--tone);
}

.bmp-dash .bmp-donut-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.15;
}

    .bmp-dash .bmp-donut-center strong {
        font-size: 1.15rem;
        font-weight: 800;
        letter-spacing: -.02em;
    }

    .bmp-dash .bmp-donut-center span {
        font-size: .64rem;
        color: var(--d-muted);
    }

.bmp-dash .bmp-legend {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .4rem;
    flex: 1 1 100px;
    min-width: 0;
}

    .bmp-dash .bmp-legend li {
        display: flex;
        align-items: center;
        gap: .45rem;
        font-size: .76rem;
    }

.bmp-dash .bmp-legend-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #3b465a;
}

.bmp-dash .bmp-legend strong {
    font-variant-numeric: tabular-nums;
}

.bmp-dash .bmp-dot {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--tone);
}

/* Horizontal bars */
.bmp-dash .bmp-bars {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .65rem;
}

.bmp-dash .bmp-bar-top {
    display: flex;
    justify-content: space-between;
    gap: .6rem;
    margin-bottom: .2rem;
    font-size: .75rem;
}

.bmp-dash .bmp-bar-name {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.bmp-dash .bmp-bar-num {
    color: var(--d-muted);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.bmp-dash .bmp-bar-track {
    height: 6px;
    background: #eef1f7;
    border-radius: 999px;
    overflow: hidden;
}

.bmp-dash .bmp-bar-fill {
    height: 100%;
    border-radius: inherit;
    background: var(--d-indigo);
}

    .bmp-dash .bmp-bar-fill.is-complete {
        background: #0f9b6c;
    }

/* Column chart */
.bmp-dash .bmp-cols {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: .4rem;
    height: 108px;
}

.bmp-dash .bmp-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
    min-width: 0;
}

.bmp-dash .bmp-col-val {
    height: 1em;
    font-size: .66rem;
    font-weight: 700;
    color: #3b465a;
    line-height: 1;
}

.bmp-dash .bmp-col-bar-wrap {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border-bottom: 1px solid var(--d-line);
}

.bmp-dash .bmp-col-bar {
    width: 70%;
    max-width: 20px;
    background: #c9c5f6;
    border-radius: 6px 6px 0 0;
}

.bmp-dash .bmp-col.is-today .bmp-col-bar {
    background: var(--d-indigo);
}

.bmp-dash .bmp-col-day {
    font-size: .64rem;
    color: var(--d-muted);
}

.bmp-dash .bmp-col.is-today .bmp-col-day {
    color: var(--d-indigo);
    font-weight: 700;
}

/* ---------- Panel + table ---------- */
.bmp-dash .bmp-panel {
    background: var(--d-surface);
    border: 1px solid var(--d-line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(26, 35, 51, .04);
}

.bmp-dash .bmp-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .7rem 1rem;
    border-bottom: 1px solid var(--d-line);
}

.bmp-dash .bmp-panel-title {
    font-size: .9rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -.01em;
}

.bmp-dash .table {
    --bs-table-bg: transparent;
    margin: 0;
}

    .bmp-dash .table thead th {
        font-size: .68rem;
        font-weight: 600;
        color: var(--d-muted);
        background: #f8f9fc;
        border-bottom: 1px solid var(--d-line);
        padding: .5rem 1rem;
        white-space: nowrap;
    }

    .bmp-dash .table tbody td {
        padding: .55rem 1rem;
        border-bottom: 1px solid #eef1f7;
        font-size: .8rem;
    }

    .bmp-dash .table tbody tr:last-child td {
        border-bottom: 0;
    }

    .bmp-dash .table tbody tr:hover td {
        background: #f8f9fe;
    }

.bmp-dash .bmp-cell-name {
    font-weight: 600;
}

.bmp-dash .bmp-cell-num {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

    .bmp-dash .bmp-cell-num span {
        color: var(--d-muted);
        font-weight: 500;
    }

.bmp-dash .bmp-cell-muted {
    color: var(--d-muted);
    white-space: nowrap;
}

/* ---------- Empty state ---------- */
.bmp-dash .bmp-empty-state {
    text-align: center;
    padding: 1.75rem 1rem 1.6rem;
}

.bmp-dash .bmp-empty-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto .7rem;
    border-radius: 12px;
    background: #ecebfd;
    color: var(--d-indigo);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .bmp-dash .bmp-empty-icon svg {
        width: 21px;
        height: 21px;
    }

.bmp-dash .bmp-empty-state h3 {
    font-size: .95rem;
    font-weight: 700;
    margin: 0 0 .25rem;
}

.bmp-dash .bmp-empty-state p {
    color: var(--d-muted);
    font-size: .8rem;
    margin: 0 0 .9rem;
}

.bmp-dash .bmp-steps {
    list-style: none;
    display: inline-grid;
    gap: .45rem;
    margin: 0 0 1rem;
    padding: 0;
    text-align: left;
    font-size: .8rem;
}

    .bmp-dash .bmp-steps li {
        display: flex;
        align-items: center;
        gap: .6rem;
    }

        .bmp-dash .bmp-steps li span {
            flex: 0 0 auto;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            border: 2px solid #c5cce0;
        }

        .bmp-dash .bmp-steps li.is-done {
            color: var(--d-muted);
            text-decoration: line-through;
        }

            .bmp-dash .bmp-steps li.is-done span {
                border-color: #0f9b6c;
                background: #0f9b6c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.6 2.6L12 5.6'/%3E%3C/svg%3E") center / 100% no-repeat;
            }

@media (prefers-reduced-motion: reduce) {
    .bmp-dash .bmp-gauge-arc {
        animation: none;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .bmp-dash .bmp-hero {
        grid-template-columns: 1fr;
    }

    .bmp-dash .bmp-charts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

        .bmp-dash .bmp-charts > :first-child {
            grid-column: 1 / -1;
        }
}

@media (max-width: 767.98px) {
    .bmp-dash .bmp-charts {
        grid-template-columns: 1fr;
    }

    .bmp-dash .bmp-hero {
        padding: 1rem;
    }

    .bmp-dash .bmp-hero-main {
        flex-direction: column;
        align-items: flex-start;
    }

    .bmp-dash .bmp-hero-tiles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .5rem;
    }

    .bmp-dash .bmp-tile {
        padding: .7rem .6rem;
    }

        .bmp-dash .bmp-tile strong {
            font-size: 1rem;
        }
}

@media (max-width: 575.98px) {
    .bmp-dash .bmp-dash-header {
        align-items: flex-start;
    }

    .bmp-dash .table thead th,
    .bmp-dash .table tbody td {
        padding-left: .9rem;
        padding-right: .9rem;
    }
}
/* ==========================================================================
   ADYCORE logo (recoloured to the indigo theme) + compact brand text
   ========================================================================== */

.bmp-sidebar-brand .bmp-brand-link {
  gap: .6rem;
}

.bmp-logo-chip {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: .6rem;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: .22rem;
  box-shadow: 0 2px 8px rgba(79, 70, 229, .35);
}
.bmp-logo-chip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.bmp-logo-chip--sm {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  padding: 3px;
  box-shadow: 0 2px 6px rgba(20, 16, 80, .25);
}

.bmp-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}
.bmp-brand-company {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: #a5b4fc;
}
.bmp-brand-product {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: -.005em;
  color: #fff;
  white-space: nowrap;
}

/* Login screen */
.bmp-auth .bmp-auth-logo-text {
  font-size: .76rem;
}
.bmp-auth .bmp-auth-logo-text strong {
  letter-spacing: .08em;
  margin-right: .15rem;
}
.bmp-auth .bmp-auth-card-logo {
  margin-bottom: .9rem;
}
.bmp-auth .bmp-auth-card-logo img {
  width: 84px;
  height: auto;
  display: block;
}
