/* ============================================================================
   BaconLabs — Unified Sub-site Design System, Radial FAB & Canonical Dropdown
   - Applies to ALL sub-sites (every page except main `/`)
   - Standardizes typography scale (15px root), shell proportions, & scrolling
   - Replaces legacy top header with bottom-right Radial Arc Floating Button
   ============================================================================ */

:root {
  --bl-ink: #0f172a;
  --bl-ink-head: #111c28;
  --bl-paper: #ffffff;
  --bl-paper-2: #f8fafc;
  --bl-paper-3: #f1f5f9;
  --bl-line: #e2e8f0;
  --bl-line-hover: #cbd5e1;
  --bl-grid: #eef2f6;
  --bl-muted: #64748b;
  --bl-sub: #475569;

  --bl-green: #00b25d;
  --bl-green-bright: #10d476;
  --bl-green-deep: #008f4a;
  --bl-green-matte: #0b875b;
  --bl-green-matte-border: #075e3f;
  --bl-green-soft: #e6f9ef;
  --bl-green-line: #a7f3d0;

  --bl-shell-max: 1120px;
  --bl-auth-max: 1120px;
  --bl-doc-max: 820px;
  --bl-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --bl-spring: cubic-bezier(0.34, 1.38, 0.64, 1);
}

/* ── 1. Standardized Base Scale & Guaranteed Scrollability across ALL Sub-sites ── */
html {
  font-size: 15px !important;
  height: auto !important;
  min-height: 100%;
  overflow-x: clip;
  overflow-y: auto !important;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'IBM Plex Sans Thai', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  height: auto !important;
  min-height: 100dvh;
  overflow-x: clip !important;
  overflow-y: auto !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.modal-open,
body.swal2-shown {
  overflow-y: hidden !important;
}

h1, h2, h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--bl-green);
  outline-offset: 2px;
}

/* ── 2. Unified Sub-site Layout & Proportion Normalization ── */
body.bl-subpage {
  padding: clamp(20px, 3vh, 32px) clamp(12px, 2vw, 24px) clamp(36px, 5vh, 56px) !important;
  align-items: safe center;
  transition: opacity 180ms var(--bl-ease), transform 180ms var(--bl-ease);
}

body.bl-subpage.bl-page-leaving {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}

/* Main App / Dashboard Shells */
body.bl-subpage .shell,
body.bl-subpage .dashboard-screen,
body.bl-subpage .modebar,
body.bl-subpage .page-frame,
body.bl-subpage .wrap {
  width: min(94%, var(--bl-shell-max)) !important;
  max-width: var(--bl-shell-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Split Auth / Login Shells (Matched to Register shell width & balance) */
body.bl-subpage .login-container,
body.bl-subpage .blpg-shell,
body.bl-subpage .bltg-shell,
body.bl-subpage .bl-auth-shell {
  width: min(94%, var(--bl-auth-max)) !important;
  max-width: var(--bl-auth-max) !important;
  min-height: 580px !important;
  margin: auto !important;
}

/* Legal / Document Cards (/privacy, /terms) */
body.bl-subpage > .card {
  width: min(94%, var(--bl-doc-max)) !important;
  max-width: var(--bl-doc-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Centered login screen wrapper (/tracking) */
body.bl-subpage #loginScreen {
  min-height: calc(100dvh - 72px) !important;
  align-items: safe center;
}

/* Normalize oversized headings, paddings, and controls so all sub-sites share one cohesive scale */
body.bl-subpage .head-title,
body.bl-subpage .panel-head h1,
body.bl-subpage .auth-aside h1,
body.bl-subpage .blpg-aside h1,
body.bl-subpage .bltg-aside h1,
body.bl-subpage .brand-panel h1 {
  font-size: clamp(1.45rem, 2.1vw, 1.8rem) !important;
  line-height: 1.28 !important;
}

body.bl-subpage .head,
body.bl-subpage .dash-head {
  padding: clamp(20px, 2.6vw, 28px) clamp(20px, 3vw, 34px) !important;
}

body.bl-subpage .body,
body.bl-subpage .dash-body {
  padding: clamp(20px, 2.5vw, 28px) clamp(20px, 3vw, 34px) clamp(26px, 3vw, 36px) !important;
}

body.bl-subpage .auth-aside,
body.bl-subpage .blpg-aside,
body.bl-subpage .bltg-aside {
  padding: clamp(24px, 3vw, 34px) clamp(22px, 2.8vw, 32px) !important;
}

body.bl-subpage .auth-main,
body.bl-subpage .blpg-form,
body.bl-subpage .bltg-main {
  padding: clamp(24px, 3vw, 36px) clamp(22px, 3vw, 38px) !important;
}

/* Keep form inputs comfortable & consistent (prevents oversized 60px inputs) */
body.bl-subpage .form-input,
body.bl-subpage .blpg-input,
body.bl-subpage .blpg-select,
body.bl-subpage .bltg-input,
body.bl-subpage .bltg-select {
  height: 46px !important;
  min-height: 46px !important;
  font-size: 0.96rem !important;
}

@media (max-width: 980px) {
  body.bl-subpage .shell,
  body.bl-subpage .dashboard-screen,
  body.bl-subpage .modebar,
  body.bl-subpage .page-frame,
  body.bl-subpage .wrap,
  body.bl-subpage .login-container,
  body.bl-subpage .blpg-shell,
  body.bl-subpage .bltg-shell,
  body.bl-subpage .bl-auth-shell,
  body.bl-subpage > .card {
    width: 100% !important;
    max-width: 100% !important;
  }
  body.bl-subpage .login-container,
  body.bl-subpage .blpg-shell,
  body.bl-subpage .bltg-shell,
  body.bl-subpage .bl-auth-shell {
    min-height: auto !important;
  }
}

@media (max-width: 640px) {
  html {
    font-size: 14.5px !important;
  }
  body.bl-subpage {
    padding: 12px 10px 84px !important;
  }
}

/* ── 3. Vertical Speed Dial Floating Action Button (Style B — Open by Default) ── */
.bl-fab-b {
  position: fixed !important;
  right: 24px !important;
  bottom: 24px !important;
  width: 58px;
  height: 58px;
  z-index: 9999 !important;
  font-family: 'IBM Plex Sans Thai', system-ui, -apple-system, sans-serif !important;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.bl-fab-b svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
  display: block;
}

.bl-fab-b button {
  font-family: inherit !important;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.bl-fab-b button:focus-visible {
  outline: 3px solid rgba(0, 178, 93, 0.45);
  outline-offset: 3px;
}

/* Vertical stacked list above main button */
.bl-b-list {
  position: absolute;
  right: 5px;
  bottom: 72px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.bl-b-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(22px) scale(0.84);
  transform-origin: right bottom;
  transition:
    transform 440ms cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--i) * 55ms),
    opacity 240ms var(--bl-ease) calc(var(--i) * 55ms),
    visibility 0s 440ms;
}

.bl-fab-b.is-open .bl-b-item {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition-delay: calc((2 - var(--i)) * 55ms), calc((2 - var(--i)) * 55ms), 0s;
}

/* Crisp frosted white label pill (BaconLabs aesthetic) */
.bl-b-lbl {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--bl-ink);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  padding: 7px 13px;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow:
    0 6px 18px -6px rgba(15, 23, 42, 0.16),
    0 2px 6px rgba(15, 23, 42, 0.06);
  transition:
    transform 220ms var(--bl-spring),
    border-color 200ms var(--bl-ease),
    color 200ms var(--bl-ease),
    box-shadow 220ms var(--bl-ease);
}

/* Tactile dimensional circular emerald icon disc */
.bl-b-btn {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(140deg, #10d476 0%, #00b25d 56%, #008f4a 100%);
  border: 1px solid rgba(167, 243, 208, 0.55);
  box-shadow:
    0 8px 20px -4px rgba(0, 143, 74, 0.48),
    0 2px 6px rgba(15, 23, 42, 0.12),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.35),
    inset 0 -2px 4px rgba(0, 82, 42, 0.25);
  transition:
    transform 240ms var(--bl-spring),
    box-shadow 240ms var(--bl-ease),
    filter 200ms var(--bl-ease);
}

.bl-b-item:hover .bl-b-btn {
  transform: scale(1.12) translateY(-1px);
  box-shadow:
    0 12px 26px -4px rgba(0, 143, 74, 0.62),
    0 0 0 4px rgba(16, 212, 118, 0.2),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.45);
}

.bl-b-item:hover .bl-b-lbl {
  transform: translateX(-4px);
  border-color: var(--bl-green-line);
  color: var(--bl-green-deep);
  box-shadow:
    0 8px 22px -6px rgba(0, 143, 74, 0.22),
    0 2px 6px rgba(15, 23, 42, 0.06);
}

.bl-b-item:active .bl-b-btn,
.bl-b-item.is-tapped .bl-b-btn {
  transform: scale(0.92);
}

.bl-b-item.has-step .bl-b-lbl {
  border-color: var(--bl-green-line);
  color: var(--bl-green-deep);
}

/* Shared-Account Student Pill Switcher (used in /tracking and /classroom) */
.bl-shared-pills {
  display: none;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.bl-shared-pills.show {
  display: inline-flex;
}

.bl-sp-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 220ms var(--bl-ease), border-color 220ms var(--bl-ease), color 220ms var(--bl-ease), transform 180ms var(--bl-spring), box-shadow 220ms var(--bl-ease);
}

.bl-sp-pill:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.36);
  color: #ffffff;
  transform: translateY(-1px);
}

.bl-sp-pill:active {
  transform: scale(0.96);
}

.bl-sp-pill.is-active {
  background: #00b25d;
  border-color: #6ee7b7;
  color: #032212;
  box-shadow: 0 6px 16px -4px rgba(0, 178, 93, 0.55);
}

.bl-sp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 200ms var(--bl-spring);
}

.bl-sp-pill.is-active .bl-sp-dot {
  background: #032212 !important;
  transform: scale(1.1);
}

/* Light surface variant (for /classroom welcome bar) */
.bl-shared-pills.is-light .bl-sp-pill {
  background: #ffffff;
  border: 1.5px solid var(--bl-line);
  color: var(--bl-sub);
}

.bl-shared-pills.is-light .bl-sp-pill:hover {
  border-color: var(--bl-green);
  background: var(--bl-green-soft);
  color: var(--bl-green-deep);
}

.bl-shared-pills.is-light .bl-sp-pill.is-active {
  background: #00b25d;
  border-color: #008f4a;
  color: #ffffff;
  box-shadow: 0 8px 18px -8px rgba(0, 143, 74, 0.55);
}

.bl-shared-pills.is-light .bl-sp-pill.is-active .bl-sp-dot {
  background: #ffffff !important;
}

/* Main Toggle Button (Bottom-Right Anchor) */
.bl-b-main {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(145deg, #1b2a3c 0%, #111c28 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  pointer-events: auto;
  box-shadow:
    0 12px 28px -6px rgba(15, 23, 42, 0.42),
    0 4px 10px -2px rgba(15, 23, 42, 0.2),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.22),
    inset 0 -3px 5px rgba(0, 0, 0, 0.3);
  transition:
    transform 420ms cubic-bezier(0.34, 1.56, 0.64, 1),
    border-radius 380ms var(--bl-ease),
    background 280ms var(--bl-ease),
    border-color 280ms var(--bl-ease),
    box-shadow 280ms var(--bl-ease);
}

.bl-b-main svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.5;
}

.bl-b-main:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 16px 32px -6px rgba(15, 23, 42, 0.48),
    0 0 0 4px rgba(0, 178, 93, 0.16),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.28);
}

.bl-fab-b.is-open .bl-b-main {
  transform: rotate(135deg);
  border-radius: 50%;
  background: linear-gradient(140deg, #10d476 0%, #00b25d 60%, #008f4a 100%);
  border-color: rgba(167, 243, 208, 0.65);
  box-shadow:
    0 12px 26px -6px rgba(0, 143, 74, 0.52),
    0 0 0 5px rgba(16, 212, 118, 0.18),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.35);
}

.bl-fab-b.is-open .bl-b-main:hover {
  transform: rotate(135deg) scale(1.06);
  box-shadow:
    0 14px 30px -6px rgba(0, 143, 74, 0.62),
    0 0 0 6px rgba(16, 212, 118, 0.24),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.42);
}

.bl-b-main:active {
  transform: scale(0.94);
}

.bl-fab-b.is-open .bl-b-main:active {
  transform: rotate(135deg) scale(0.94);
}

@media (max-width: 640px) {
  .bl-fab-b {
    right: 16px !important;
    bottom: 16px !important;
    width: 54px;
    height: 54px;
  }
  .bl-b-list {
    right: 4px;
    bottom: 66px;
    gap: 10px;
  }
  .bl-b-btn {
    width: 44px;
    height: 44px;
  }
  .bl-b-lbl {
    font-size: 12.5px;
    padding: 6px 11px;
  }
}

@media print {
  .bl-fab-b {
    display: none !important;
  }
  body.bl-subpage {
    padding: 0 !important;
  }
}

/* ── 4. Canonical BaconDropdown (Card List + Flat Matte Green Hover) ── */
.bd-trigger {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  text-align: left !important;
  cursor: pointer !important;
  background-image: none !important;
  font-family: inherit !important;
  transition: border-color 200ms var(--bl-ease), background-color 200ms var(--bl-ease), box-shadow 200ms var(--bl-ease) !important;
}

.bd-trigger.bd-full {
  width: 100%;
}

.bd-trigger.bd-open {
  border-color: var(--bl-green) !important;
  box-shadow: 0 0 0 4px rgba(0, 178, 93, 0.12) !important;
}

.bd-trigger-label {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bd-trigger-label.is-placeholder {
  opacity: 0.65;
  font-weight: 400;
}

.bd-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: currentColor;
  opacity: 0.65;
  transition: transform 220ms var(--bl-ease), opacity 220ms var(--bl-ease);
}

.bd-trigger.bd-open .bd-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.bd-trigger:disabled {
  opacity: 0.55;
  cursor: not-allowed !important;
}

.bd-menu {
  position: fixed;
  z-index: 99999;
  display: none;
  flex-direction: column;
  background: #ffffff;
  border: 1.5px solid #e2e8e4;
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(3, 34, 18, 0.14);
  overflow: hidden;
  font-family: 'IBM Plex Sans Thai', system-ui, -apple-system, sans-serif;
  animation: bdDropIn 180ms var(--bl-ease) both;
}

.bd-menu.open {
  display: flex;
}

.bd-menu.flip-up {
  animation-name: bdDropUp;
}

@keyframes bdDropIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes bdDropUp {
  from { opacity: 0; transform: translateY(6px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.bd-search-wrap {
  padding: 10px 12px;
  border-bottom: 1px solid #e6ece8;
  background: #fbfcfb;
  display: none;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.bd-search-wrap.show {
  display: flex;
}

.bd-search-box {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid #dde5e0;
  border-radius: 11px;
  padding: 0 10px;
  height: 40px;
  transition: border-color 180ms var(--bl-ease);
}

.bd-search-box:focus-within {
  border-color: var(--bl-green-matte);
}

.bd-search-icon {
  width: 16px;
  height: 16px;
  color: #64748b;
  flex-shrink: 0;
}

.bd-search-input {
  width: 100%;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: inherit !important;
  font-size: 14.5px !important;
  font-weight: 400 !important;
  color: #0f1926 !important;
}

.bd-search-input::placeholder {
  color: #94a3b8;
}

.bd-clear-btn {
  display: none;
  border: none;
  background: #eef2f0;
  color: #64748b;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  padding: 0;
}

.bd-clear-btn.show {
  display: inline-flex;
}

.bd-clear-btn:hover {
  background: #dde5e0;
  color: #0f1926;
}

.bd-count {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  background: #eef2f0;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.bd-list {
  padding: 12px !important;
  overflow-y: auto;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  max-height: 290px;
  overscroll-behavior: contain;
}

.bd-list::-webkit-scrollbar { width: 6px; }
.bd-list::-webkit-scrollbar-track { background: transparent; }
.bd-list::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 999px; }

.bd-opt {
  width: 100% !important;
  height: auto !important;
  min-height: 44px !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 10px 14px !important;
  margin: 0 !important;
  border-radius: 12px !important;
  border: 1.5px solid #dde5e0 !important;
  border-bottom-width: 2.5px !important;
  background: #ffffff !important;
  color: #0f1926 !important;
  font-family: inherit !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  text-align: left !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: transform 140ms var(--bl-ease), border-color 140ms var(--bl-ease), border-bottom-width 140ms var(--bl-ease), background-color 140ms var(--bl-ease), color 140ms var(--bl-ease) !important;
}

.bd-opt:hover:not(:disabled),
.bd-opt.is-hi:not(:disabled) {
  background: var(--bl-green-matte) !important;
  border-color: var(--bl-green-matte-border) !important;
  border-bottom-width: 4px !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: none !important;
}

.bd-opt:active:not(:disabled) {
  transform: translateY(1px) !important;
  border-bottom-width: 2px !important;
}

.bd-opt:disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
}

.bd-opt.is-selected {
  background: #e3f5ec !important;
  border-color: var(--bl-green-matte) !important;
  border-bottom-width: 2.5px !important;
  color: #064e3b !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

.bd-opt.is-selected:hover:not(:disabled),
.bd-opt.is-selected.is-hi:not(:disabled) {
  background: var(--bl-green-matte) !important;
  border-color: var(--bl-green-matte-border) !important;
  border-bottom-width: 4px !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: none !important;
}

.bd-opt-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bd-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--bl-green-matte);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 150ms var(--bl-ease), transform 150ms var(--bl-ease), color 140ms var(--bl-ease);
}

.bd-opt.is-selected .bd-check {
  opacity: 1;
  transform: scale(1);
}

.bd-opt.is-selected:hover .bd-check,
.bd-opt.is-selected.is-hi .bd-check {
  color: #ffffff;
}

.bd-empty {
  padding: 20px 12px;
  text-align: center;
  font-size: 14px;
  color: #64748b;
}

/* ── 5. Unify Autocomplete Suggestion Dropdowns (.search-dropdown, .suggestions) to BaconDropdown Card Style ── */
.search-dropdown,
.suggestions {
  background: #ffffff !important;
  border: 1.5px solid #e2e8e4 !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 42px rgba(3, 34, 18, 0.14) !important;
  padding: 10px !important;
  gap: 6px;
}

.search-dropdown.show,
.suggestions.show {
  display: flex !important;
  flex-direction: column !important;
}

.search-dropdown .s-item,
.search-dropdown .suggest-item,
.suggestions .sugg-item {
  width: 100% !important;
  min-height: 44px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 14px !important;
  margin-bottom: 6px;
  border-radius: 12px !important;
  border: 1.5px solid #dde5e0 !important;
  border-bottom-width: 2.5px !important;
  background: #ffffff !important;
  color: #0f1926 !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: transform 140ms var(--bl-ease), border-color 140ms var(--bl-ease), border-bottom-width 140ms var(--bl-ease), background-color 140ms var(--bl-ease), color 140ms var(--bl-ease) !important;
}

.search-dropdown .s-item:last-child,
.search-dropdown .suggest-item:last-child,
.suggestions .sugg-item:last-child {
  margin-bottom: 0;
}

.search-dropdown .s-item:hover,
.search-dropdown .suggest-item:hover,
.suggestions .sugg-item:hover,
.suggestions .sugg-item.hl {
  background: var(--bl-green-matte) !important;
  border-color: var(--bl-green-matte-border) !important;
  border-bottom-width: 4px !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

.search-dropdown .s-item:hover i,
.search-dropdown .suggest-item:hover i,
.suggestions .sugg-item:hover i,
.suggestions .sugg-item.hl i {
  color: #ffffff !important;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .bl-fab-b *,
  .bd-menu,
  .bd-opt {
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
    animation-duration: 0.001ms !important;
  }
}
