/*
 * ToolsBazar aMember Pro theme
 * Branded UI system for the ToolsBazar member portal.
 * No assets or CSS from the supplied legacy theme are used.
 */

:root {
  --bst-blue: #1289ed;
  --bst-blue-strong: #0876d1;
  --bst-indigo: #22b344;
  --bst-cyan: #20cdd4;
  --bst-mint: #36ce45;
  --bst-red: #ef4444;
  --bst-amber: #f59e0b;
  --bst-ink: #101828;
  --bst-ink-2: #344054;
  --bst-muted: #667085;
  --bst-soft: #98a2b3;
  --bst-line: #e5e9f1;
  --bst-line-strong: #d8deea;
  --bst-canvas: #f5f7fb;
  --bst-panel: #ffffff;
  --bst-panel-2: #f9fafc;
  --bst-sidebar: 276px;
  --bst-topbar: 76px;
  --bst-radius-xs: 9px;
  --bst-radius-sm: 13px;
  --bst-radius: 18px;
  --bst-radius-lg: 24px;
  --bst-radius-xl: 30px;
  --bst-shadow-xs: 0 1px 2px rgba(16, 24, 40, .04);
  --bst-shadow-sm: 0 8px 24px rgba(16, 24, 40, .06);
  --bst-shadow: 0 18px 55px rgba(16, 24, 40, .09);
  --bst-focus: 0 0 0 4px rgba(37, 130, 244, .14);
  --bst-ease: 180ms cubic-bezier(.2, .8, .2, 1);
}


*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--bst-ink);
  background: var(--bst-canvas);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.bst-no-scroll { overflow: hidden; }
a { color: var(--bst-blue-strong); text-decoration: none; }
a:hover { color: var(--bst-blue); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
[hidden] { display: none !important; }

.bst-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* App shell */
.bst-app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--bst-sidebar) minmax(0, 1fr);
}
.bst-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 80;
  width: var(--bst-sidebar);
  display: flex;
  flex-direction: column;
  padding: 20px 16px 16px;
  background: var(--bst-panel);
  border-right: 1px solid var(--bst-line);
  transition: transform var(--bst-ease), width var(--bst-ease);
}
.bst-sidebar-brand {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px 0 5px;
  margin-bottom: 16px;
}
.bst-sidebar-brand img { width: 213px; height: auto; display: block; }
.bst-icon-button {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--bst-muted);
  background: var(--bst-panel);
  border: 1px solid var(--bst-line);
  border-radius: 14px;
  cursor: pointer;
  transition: color var(--bst-ease), background var(--bst-ease), border-color var(--bst-ease), transform var(--bst-ease);
  box-shadow: var(--bst-shadow-xs);
}
.bst-icon-button:hover { color: var(--bst-blue-strong); background: var(--bst-panel-2); border-color: var(--bst-line-strong); transform: translateY(-1px); }
.bst-icon-button svg { width: 19px; height: 19px; stroke-width: 1.8; }

.bst-agent-card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 52px;
  padding: 0 16px;
  color: #fff;
  background: linear-gradient(135deg, #1495fb 0%, #2d78f2 52%, #6658f5 100%);
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(37, 130, 244, .24);
  overflow: hidden;
}
.bst-agent-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 110px;
  height: 110px;
  right: -40px;
  top: -50px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
}
.bst-agent-card svg { width: 20px; height: 20px; }
.bst-agent-card strong { font-size: 14px; font-weight: 720; letter-spacing: -.1px; }
.bst-nav-label {
  margin: 26px 12px 9px;
  color: var(--bst-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.bst-nav { display: grid; gap: 4px; }
.bst-nav-link {
  min-height: 45px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 13px;
  color: var(--bst-muted);
  border-radius: 13px;
  font-size: 14px;
  font-weight: 560;
  transition: color var(--bst-ease), background var(--bst-ease), transform var(--bst-ease);
}
.bst-nav-link:hover { color: var(--bst-ink); background: var(--bst-panel-2); transform: translateX(2px); }
.bst-nav-link.is-active { color: var(--bst-ink); background: color-mix(in srgb, var(--bst-blue) 8%, var(--bst-panel)); font-weight: 680; }
.bst-nav-link.is-active .bst-nav-icon { color: var(--bst-blue-strong); }
.bst-nav-icon { width: 21px; height: 21px; display: inline-grid; place-items: center; color: var(--bst-soft); }
.bst-nav-icon svg { width: 20px; height: 20px; stroke-width: 1.75; }
.bst-nav-badge {
  margin-left: auto;
  min-width: 24px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  padding: 0 7px;
  color: var(--bst-blue-strong);
  background: rgba(37, 130, 244, .1);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
}
.bst-sidebar-bottom { margin-top: auto; display: grid; gap: 12px; }
.bst-credit-pill {
  min-height: 39px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid var(--bst-line);
  border-radius: 999px;
  color: var(--bst-muted);
  background: var(--bst-panel);
  box-shadow: var(--bst-shadow-xs);
  font-size: 13px;
}
.bst-credit-pill svg { width: 16px; height: 16px; color: var(--bst-blue); }
.bst-credit-pill strong { color: var(--bst-ink); }
.bst-credit-pill a { margin-left: auto; font-size: 12px; font-weight: 700; }
.bst-sidebar-user {
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 15px;
  background: var(--bst-panel-2);
}
.bst-avatar {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--bst-blue), var(--bst-indigo));
  border: 2px solid rgba(255,255,255,.82);
  outline: 1px solid rgba(37,130,244,.18);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .03em;
}
.bst-sidebar-user-copy { min-width: 0; }
.bst-sidebar-user-copy strong, .bst-sidebar-user-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bst-sidebar-user-copy strong { font-size: 13px; line-height: 1.3; }
.bst-sidebar-user-copy span { margin-top: 2px; color: var(--bst-muted); font-size: 11px; }
.bst-signout-mini { color: var(--bst-soft); display: grid; place-items: center; }
.bst-signout-mini:hover { color: var(--bst-red); }
.bst-signout-mini svg { width: 18px; height: 18px; }

.bst-workspace {
  min-width: 0;
  grid-column: 2;
  padding: 14px 16px 18px;
}
.bst-topbar {
  position: sticky;
  top: 14px;
  z-index: 60;
  min-height: var(--bst-topbar);
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 18px;
  padding: 0 18px;
  background: color-mix(in srgb, var(--bst-panel) 94%, transparent);
  border: 1px solid var(--bst-line);
  border-radius: 25px 25px 0 0;
  box-shadow: var(--bst-shadow-xs);
  backdrop-filter: blur(16px);
}
.bst-topbar-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bst-mobile-menu { display: none; }
.bst-global-search {
  width: min(100%, 330px);
  height: 43px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  background: var(--bst-panel);
  border: 1px solid var(--bst-line);
  border-radius: 15px;
  transition: border-color var(--bst-ease), box-shadow var(--bst-ease), width var(--bst-ease);
}
.bst-global-search:focus-within { border-color: rgba(37,130,244,.55); box-shadow: var(--bst-focus); }
.bst-global-search svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--bst-soft); }
.bst-global-search input {
  min-width: 0;
  width: 100%;
  border: 0 !important;
  outline: 0 !important;
  padding: 0 !important;
  color: var(--bst-ink) !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 13px !important;
}
.bst-search-key { color: var(--bst-soft); border: 1px solid var(--bst-line); border-radius: 6px; padding: 1px 5px; font-size: 10px; }
.bst-topbar-title { margin: 0; color: var(--bst-ink); font-size: 16px; font-weight: 760; letter-spacing: -.25px; text-align: center; }
.bst-topbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.bst-user-menu { position: relative; }
.bst-user-trigger {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px 0 5px;
  color: var(--bst-ink-2);
  background: var(--bst-panel);
  border: 1px solid var(--bst-line);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--bst-shadow-xs);
}
.bst-user-trigger .bst-avatar { width: 30px; height: 30px; border-width: 1px; font-size: 10px; }
.bst-user-trigger span { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 650; }
.bst-user-trigger svg { width: 15px; height: 15px; color: var(--bst-soft); transition: transform var(--bst-ease); }
.bst-user-menu.is-open .bst-user-trigger > svg { transform: rotate(180deg); }
.bst-user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 235px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px) scale(.98);
  transform-origin: top right;
  background: var(--bst-panel);
  border: 1px solid var(--bst-line);
  border-radius: 17px;
  box-shadow: var(--bst-shadow);
  transition: opacity var(--bst-ease), visibility var(--bst-ease), transform var(--bst-ease);
}
.bst-user-menu.is-open .bst-user-dropdown { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.bst-dropdown-head { padding: 10px 11px 12px; border-bottom: 1px solid var(--bst-line); margin-bottom: 5px; }
.bst-dropdown-head strong, .bst-dropdown-head span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bst-dropdown-head strong { font-size: 13px; }
.bst-dropdown-head span { margin-top: 3px; color: var(--bst-muted); font-size: 11px; }
.bst-dropdown-link { min-height: 39px; display: flex; align-items: center; gap: 10px; padding: 0 10px; color: var(--bst-ink-2); border-radius: 10px; font-size: 13px; }
.bst-dropdown-link:hover { color: var(--bst-ink); background: var(--bst-panel-2); }
.bst-dropdown-link.is-danger:hover { color: var(--bst-red); background: rgba(239,68,68,.08); }
.bst-dropdown-link svg { width: 17px; height: 17px; }

.bst-main {
  min-height: calc(100vh - 108px);
  padding: 32px 26px 42px;
  background: var(--bst-canvas);
  border: 1px solid var(--bst-line);
  border-top: 0;
  border-radius: 0 0 25px 25px;
}
.bst-main-inner { max-width: 1500px; margin: 0 auto; }
.bst-page-footer { padding: 20px 6px 3px; color: var(--bst-soft); font-size: 12px; text-align: center; }

/* Welcome dashboard */
.bst-welcome {
  position: relative;
  isolation: isolate;
  min-height: 330px;
  display: grid;
  place-items: center;
  padding: 44px 34px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 84% 78%, rgba(46,151,255,.18), transparent 34%),
    radial-gradient(circle at 22% 2%, rgba(101,88,245,.08), transparent 29%),
    linear-gradient(135deg, var(--bst-panel) 0%, color-mix(in srgb, var(--bst-panel) 92%, #eaf4ff) 100%);
  border: 1px solid var(--bst-line);
  border-radius: 26px;
  box-shadow: var(--bst-shadow-xs);
}
.bst-welcome::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .52;
  background-image: radial-gradient(circle, rgba(37,130,244,.18) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.35), transparent 78%);
}
.bst-welcome-copy { width: min(100%, 810px); }
.bst-new-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 3px 12px 3px 5px;
  margin-bottom: 23px;
  color: #fff;
  background: linear-gradient(135deg, #1697fa, #2f7ef1);
  border: 3px solid rgba(37,130,244,.14);
  background-clip: padding-box;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  box-shadow: 0 7px 22px rgba(37,130,244,.18);
}
.bst-new-pill b { padding: 3px 8px; color: var(--bst-ink); background: #fff; border-radius: 999px; font-size: 9px; letter-spacing: .06em; }
.bst-welcome h1 { margin: 0; font-size: clamp(34px, 4.2vw, 52px); line-height: 1.08; letter-spacing: -2px; }
.bst-welcome h1 span { background: linear-gradient(90deg, #168cf5, #6658f5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bst-welcome p { margin: 11px 0 28px; color: var(--bst-muted); font-size: 16px; }
.bst-hero-search {
  width: min(100%, 620px);
  height: 58px;
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 auto;
  padding: 0 18px;
  background: var(--bst-panel);
  border: 1px solid var(--bst-line-strong);
  border-radius: 16px;
  box-shadow: 0 10px 32px rgba(16,24,40,.06);
  transition: border-color var(--bst-ease), box-shadow var(--bst-ease), transform var(--bst-ease);
}
.bst-hero-search:focus-within { border-color: rgba(37,130,244,.62); box-shadow: var(--bst-focus), 0 14px 38px rgba(16,24,40,.08); transform: translateY(-1px); }
.bst-hero-search svg { width: 21px; height: 21px; color: var(--bst-muted); }
.bst-hero-search input { min-width: 0; width: 100%; border: 0 !important; outline: 0 !important; color: var(--bst-ink) !important; background: transparent !important; box-shadow: none !important; font-size: 14px !important; }

.bst-offer {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 22px;
  padding: 17px 20px;
  background: linear-gradient(90deg, var(--bst-panel), color-mix(in srgb, var(--bst-panel) 88%, #eaf4ff));
  border: 1px solid var(--bst-line);
  border-radius: 18px;
  box-shadow: var(--bst-shadow-xs);
}
.bst-offer-icon { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; color: #fff; background: linear-gradient(135deg, #1498fa, #266ff1); border-radius: 13px; }
.bst-offer-icon svg { width: 24px; height: 24px; }
.bst-offer-copy { min-width: 0; }
.bst-offer-kicker { display: block; margin-bottom: 2px; color: var(--bst-blue-strong); font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.bst-offer strong { display: block; color: var(--bst-ink); font-size: 14px; }
.bst-offer p { margin: 2px 0 0; color: var(--bst-muted); font-size: 12px; }
.bst-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  color: #fff !important;
  background: var(--bst-ink);
  border: 1px solid var(--bst-ink);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 720;
  cursor: pointer;
  transition: transform var(--bst-ease), box-shadow var(--bst-ease), opacity var(--bst-ease);
}
.bst-button:hover { color: #fff !important; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(16,24,40,.15); }
.bst-button.is-blue { background: linear-gradient(135deg, var(--bst-blue), var(--bst-blue-strong)); border-color: transparent; }
.bst-button.is-ghost { color: var(--bst-ink-2) !important; background: var(--bst-panel); border-color: var(--bst-line-strong); }
.bst-button svg { width: 16px; height: 16px; }
.bst-offer .bst-button { margin-left: auto; flex: 0 0 auto; }

.bst-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.bst-stat-card { min-height: 166px; padding: 21px; background: var(--bst-panel); border: 1px solid var(--bst-line); border-radius: 18px; box-shadow: var(--bst-shadow-xs); }
.bst-stat-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bst-stat-label { color: var(--bst-muted); font-size: 12px; font-weight: 600; }
.bst-stat-icon { width: 35px; height: 35px; display: grid; place-items: center; color: var(--bst-muted); background: var(--bst-panel-2); border-radius: 10px; }
.bst-stat-icon svg { width: 17px; height: 17px; }
.bst-stat-value { display: flex; align-items: baseline; gap: 7px; margin-top: 12px; font-size: 30px; font-weight: 760; letter-spacing: -1px; }
.bst-stat-value small { color: var(--bst-muted); font-size: 13px; font-weight: 550; letter-spacing: 0; }
.bst-stat-line { height: 4px; margin-top: 9px; overflow: hidden; background: var(--bst-panel-2); border-radius: 999px; }
.bst-stat-line span { display: block; width: 72%; height: 100%; background: linear-gradient(90deg, var(--bst-blue), var(--bst-cyan)); border-radius: inherit; }
.bst-stat-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 29px; color: var(--bst-muted); font-size: 11px; }
.bst-stat-foot a { font-weight: 700; }
.bst-health { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 650; }
.bst-health::before { content: ""; width: 10px; height: 10px; background: var(--bst-mint); border-radius: 50%; box-shadow: 0 0 0 6px rgba(32,191,143,.11); }

/* Dashboard blocks */
.bst-dashboard-widgets { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.bst-widget { grid-column: span 6; min-width: 0; background: var(--bst-panel); border: 1px solid var(--bst-line); border-radius: 21px; box-shadow: var(--bst-shadow-xs); overflow: hidden; }
.bst-widget[id*="resources"], .bst-widget:only-child { grid-column: 1 / -1; }
.bst-widget-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 22px 23px 13px; }
.bst-widget-head h2 { margin: 0; color: var(--bst-ink); font-size: 20px; letter-spacing: -.5px; }
.bst-widget-body { padding: 0 23px 23px; }
.bst-widget .alert { margin: 0; }
.bst-widget .am-block { border: 0; }
.bst-section-copy { margin: -7px 0 18px; color: var(--bst-muted); font-size: 13px; }

.bst-tools-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 17px; }
.bst-tools-filter { height: 42px; display: flex; align-items: center; gap: 9px; flex: 1; padding: 0 13px; background: var(--bst-panel-2); border: 1px solid var(--bst-line); border-radius: 12px; }
.bst-tools-filter:focus-within { border-color: rgba(37,130,244,.55); box-shadow: var(--bst-focus); }
.bst-tools-filter svg { width: 17px; height: 17px; color: var(--bst-soft); }
.bst-tools-filter input { min-width: 0; width: 100%; border: 0 !important; outline: 0 !important; padding: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--bst-ink) !important; font-size: 13px !important; }
.bst-tools-count { height: 42px; display: inline-flex; align-items: center; padding: 0 13px; color: var(--bst-blue-strong); background: rgba(37,130,244,.08); border-radius: 12px; font-size: 12px; font-weight: 750; }
.bst-tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.bst-tool-card { min-width: 0; border: 1px solid var(--bst-line); border-radius: 16px; background: var(--bst-panel); overflow: hidden; transition: transform var(--bst-ease), border-color var(--bst-ease), box-shadow var(--bst-ease); }
.bst-tool-card:hover { transform: translateY(-3px); border-color: rgba(37,130,244,.32); box-shadow: var(--bst-shadow-sm); }
.bst-tool-card.is-hidden { display: none; }
.bst-tool-link { height: 100%; display: flex; flex-direction: column; color: var(--bst-ink) !important; }
.bst-tool-media { height: 105px; display: grid; place-items: center; padding: 18px; background: linear-gradient(145deg, var(--bst-panel-2), color-mix(in srgb, var(--bst-panel-2) 78%, #eaf4ff)); border-bottom: 1px solid var(--bst-line); }
.bst-tool-media img { width: 100%; height: 70px; object-fit: contain; }
.bst-tool-placeholder { width: 54px; height: 54px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--bst-blue), var(--bst-indigo)); border-radius: 17px; font-size: 20px; font-weight: 800; }
.bst-tool-copy { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 14px; }
.bst-tool-copy > div { min-width: 0; }
.bst-tool-copy h3 { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--bst-ink); font-size: 13px; font-weight: 720; }
.bst-tool-copy span { display: block; margin-top: 3px; color: var(--bst-muted); font-size: 10px; }
.bst-tool-arrow { width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 auto; margin-left: auto; color: var(--bst-blue-strong); background: rgba(37,130,244,.08); border-radius: 9px; }
.bst-tool-arrow svg { width: 14px; height: 14px; }
.bst-tool-empty { grid-column: 1 / -1; padding: 44px 20px; text-align: center; color: var(--bst-muted); border: 1px dashed var(--bst-line-strong); border-radius: 16px; background: var(--bst-panel-2); }
.bst-tool-empty strong { display: block; color: var(--bst-ink); margin-bottom: 4px; }

/* Generic member pages */
.bst-page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 19px; }
.bst-page-head h1 { margin: 0; font-size: 26px; letter-spacing: -.7px; }
.bst-page-head p { margin: 5px 0 0; color: var(--bst-muted); }
.bst-page-panel { padding: 25px; background: var(--bst-panel); border: 1px solid var(--bst-line); border-radius: 21px; box-shadow: var(--bst-shadow-xs); }
.bst-page-panel > .am-body-content, .bst-page-panel .am-body-content-content { margin: 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }

/* aMember forms and common components */
.am-form, .am-form form, form.am-form, .am-auth-form { max-width: none !important; width: 100%; }
.am-form fieldset, .am-auth-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.am-form legend, .am-auth-form legend { display: none; }
.am-form .am-row, .am-auth-form .am-row, .am-form-row, .form-group {
  display: grid !important;
  grid-template-columns: minmax(145px, 29%) minmax(0, 1fr);
  gap: 14px 20px;
  align-items: start;
  padding: 11px 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.am-auth-form .am-row { grid-template-columns: 1fr; gap: 7px; }
.am-form .am-element-title, .am-auth-form .am-element-title, .am-form label, .control-label {
  width: auto !important;
  padding: 9px 0 0 !important;
  color: var(--bst-ink-2) !important;
  font-size: 12px !important;
  font-weight: 680 !important;
  text-align: left !important;
}
.am-auth-form .am-element-title { padding-top: 0 !important; }
.am-form .am-element, .am-auth-form .am-element { min-width: 0; width: 100% !important; margin: 0 !important; padding: 0 !important; }
.am-form input[type="text"], .am-form input[type="email"], .am-form input[type="password"], .am-form input[type="number"], .am-form input[type="tel"], .am-form input[type="url"], .am-form select, .am-form textarea,
.am-auth-form input[type="text"], .am-auth-form input[type="email"], .am-auth-form input[type="password"], .am-auth-form input[type="number"], .am-auth-form input[type="tel"], .am-auth-form input[type="url"], .am-auth-form select, .am-auth-form textarea,
.bst-page-panel input[type="text"], .bst-page-panel input[type="email"], .bst-page-panel input[type="password"], .bst-page-panel select, .bst-page-panel textarea {
  width: 100% !important;
  min-height: 47px;
  padding: 10px 13px !important;
  color: var(--bst-ink) !important;
  background: var(--bst-panel) !important;
  border: 1px solid var(--bst-line-strong) !important;
  border-radius: 12px !important;
  outline: 0 !important;
  box-shadow: none !important;
  transition: border-color var(--bst-ease), box-shadow var(--bst-ease), background var(--bst-ease);
}
.am-form textarea, .am-auth-form textarea, .bst-page-panel textarea { min-height: 116px; resize: vertical; }
.am-form input:focus, .am-form select:focus, .am-form textarea:focus, .am-auth-form input:focus, .am-auth-form select:focus, .am-auth-form textarea:focus, .bst-page-panel input:focus, .bst-page-panel select:focus, .bst-page-panel textarea:focus { border-color: rgba(37,130,244,.62) !important; box-shadow: var(--bst-focus) !important; }
.am-form input::placeholder, .am-auth-form input::placeholder { color: var(--bst-soft) !important; }
.am-form input[type="checkbox"], .am-form input[type="radio"], .am-auth-form input[type="checkbox"], .am-auth-form input[type="radio"] { width: 17px; height: 17px; accent-color: var(--bst-blue); vertical-align: -3px; }
.am-form input[type="submit"], .am-form button[type="submit"], .am-form .am-button, .am-auth-form input[type="submit"], .am-auth-form button[type="submit"], .bst-page-panel input[type="submit"], .bst-page-panel button[type="submit"], .am-button, button.am-button, a.am-button {
  min-height: 46px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 20px !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--bst-blue), var(--bst-blue-strong)) !important;
  border: 0 !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 20px rgba(37,130,244,.2) !important;
  cursor: pointer !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  transition: transform var(--bst-ease), box-shadow var(--bst-ease), filter var(--bst-ease) !important;
}
.am-form input[type="submit"]:hover, .am-form button[type="submit"]:hover, .am-auth-form input[type="submit"]:hover, .am-auth-form button[type="submit"]:hover, .am-button:hover { transform: translateY(-1px); filter: saturate(1.08); box-shadow: 0 12px 28px rgba(37,130,244,.26) !important; }
.am-row-buttons .am-element { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.am-auth-form .am-row-buttons .am-element { display: grid; grid-template-columns: 1fr auto; }
.am-auth-form .am-row-buttons input[type="submit"] { width: 100%; }
.am-form-login-switch-wrapper { text-align: right; }
.am-form-login-switch { color: var(--bst-blue-strong) !important; font-size: 12px; font-weight: 700; }
#am-form-login-remember { padding: 10px 0 0 !important; color: var(--bst-muted) !important; font-size: 12px !important; font-weight: 550 !important; }
.am-help, .am-element .comment, .am-form-description, .am-element-desc { color: var(--bst-muted) !important; font-size: 11px !important; }
.am-error, .am-errors, .error, .am-field-error, .am-error-message { color: var(--bst-red) !important; }
ul.am-errors { margin: 0 0 17px !important; padding: 12px 14px 12px 34px !important; background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.18); border-radius: 12px; }
.am-info, .am-notice, .am-alert, .am-flash-message, .alert { margin: 0 0 16px; padding: 13px 15px; color: var(--bst-ink-2); background: rgba(37,130,244,.07); border: 1px solid rgba(37,130,244,.16); border-radius: 12px; }
.alert-success, .am-success { background: rgba(32,191,143,.08) !important; border-color: rgba(32,191,143,.2) !important; }
.alert-danger { background: rgba(239,68,68,.08) !important; border-color: rgba(239,68,68,.18) !important; }

/* Tables, grids, invoices */
.am-grid-container, .am-grid, .am-table, table { max-width: 100%; }
.bst-page-panel table, .bst-widget table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--bst-line); border-radius: 13px; }
.bst-page-panel th, .bst-widget th { padding: 12px 13px; color: var(--bst-muted); background: var(--bst-panel-2); border-bottom: 1px solid var(--bst-line); font-size: 11px; font-weight: 750; text-align: left; text-transform: uppercase; letter-spacing: .04em; }
.bst-page-panel td, .bst-widget td { padding: 13px; color: var(--bst-ink-2); border-bottom: 1px solid var(--bst-line); font-size: 12px; }
.bst-page-panel tr:last-child td, .bst-widget tr:last-child td { border-bottom: 0; }
.bst-page-panel tr:hover td, .bst-widget tr:hover td { background: color-mix(in srgb, var(--bst-blue) 3%, var(--bst-panel)); }
.am-pagination, .pagination { display: flex; align-items: center; gap: 6px; margin-top: 16px; }
.am-pagination a, .pagination a, .pagination span { min-width: 34px; height: 34px; display: inline-grid; place-items: center; border: 1px solid var(--bst-line); border-radius: 9px; color: var(--bst-ink-2); background: var(--bst-panel); }

/* Product options on signup */
.am-product-terms, .am-product-desc { color: var(--bst-muted); }
.am-product { padding: 14px !important; margin: 8px 0 !important; background: var(--bst-panel-2) !important; border: 1px solid var(--bst-line) !important; border-radius: 13px !important; }
.am-product:hover { border-color: rgba(37,130,244,.32) !important; }

/* Auth pages */
.bst-auth-page { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, .9fr) minmax(520px, 1.1fr); background: var(--bst-panel); }
.bst-auth-showcase {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(34px, 5vw, 70px);
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, #0c6de9 0%, #247fe9 38%, #5a52ed 100%);
}
.bst-auth-showcase::before, .bst-auth-showcase::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; }
.bst-auth-showcase::before { width: 560px; height: 560px; top: -260px; right: -240px; background: rgba(255,255,255,.13); }
.bst-auth-showcase::after { width: 460px; height: 460px; bottom: -210px; left: -210px; background: rgba(6,31,92,.18); }
.bst-auth-brand { display: inline-flex; align-items: center; width: fit-content; padding: 9px 13px; background: rgba(255,255,255,.94); border-radius: 16px; box-shadow: 0 15px 38px rgba(4,33,95,.16); }
.bst-auth-brand img { width: 210px; display: block; }
.bst-auth-pitch { max-width: 550px; margin: auto 0; padding: 70px 0; }
.bst-auth-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 8px 11px; color: rgba(255,255,255,.94); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.17); border-radius: 999px; font-size: 11px; font-weight: 750; backdrop-filter: blur(10px); }
.bst-auth-kicker::before { content: ""; width: 7px; height: 7px; background: #61f3c1; border-radius: 50%; box-shadow: 0 0 0 5px rgba(97,243,193,.14); }
.bst-auth-pitch h2 { margin: 0; font-size: clamp(36px, 4.2vw, 62px); line-height: 1.03; letter-spacing: -2.5px; }
.bst-auth-pitch p { max-width: 490px; margin: 20px 0 0; color: rgba(255,255,255,.78); font-size: 16px; }
.bst-auth-points { display: grid; gap: 12px; margin-top: 32px; }
.bst-auth-point { display: flex; align-items: center; gap: 11px; color: rgba(255,255,255,.9); font-size: 13px; }
.bst-auth-point i { width: 23px; height: 23px; display: grid; place-items: center; background: rgba(255,255,255,.16); border-radius: 8px; font-style: normal; }
.bst-auth-note { color: rgba(255,255,255,.62); font-size: 11px; }
.bst-auth-main { min-height: 100vh; display: grid; place-items: center; padding: 36px; background:
  radial-gradient(circle at 100% 0%, rgba(37,130,244,.08), transparent 32%),
  var(--bst-panel); }
.bst-auth-card { width: min(100%, 490px); }
.bst-auth-card.is-signup { width: min(100%, 720px); }
.bst-auth-mobile-brand { display: none; justify-content: center; margin-bottom: 26px; }
.bst-auth-mobile-brand img { width: 205px; }
.bst-auth-heading { margin-bottom: 27px; }
.bst-auth-heading h1 { margin: 0; color: var(--bst-ink); font-size: 33px; line-height: 1.14; letter-spacing: -1.1px; }
.bst-auth-heading p { margin: 9px 0 0; color: var(--bst-muted); font-size: 14px; }
.bst-auth-surface { padding: 28px; background: var(--bst-panel); border: 1px solid var(--bst-line); border-radius: 22px; box-shadow: var(--bst-shadow-sm); }
.bst-auth-footer { margin-top: 22px; color: var(--bst-muted); font-size: 12px; text-align: center; }
.bst-auth-footer a { font-weight: 750; }
.bst-auth-trust { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 17px; color: var(--bst-soft); font-size: 10px; }
.bst-auth-trust svg { width: 14px; height: 14px; }
.bst-password-wrap { position: relative; }
.bst-password-wrap input { padding-right: 45px !important; }
.bst-password-toggle { position: absolute; top: 50%; right: 10px; width: 34px; height: 34px; display: grid; place-items: center; transform: translateY(-50%); color: var(--bst-soft); background: transparent; border: 0; border-radius: 9px; cursor: pointer; }
.bst-password-toggle:hover { color: var(--bst-ink); background: var(--bst-panel-2); }
.bst-password-toggle svg { width: 17px; height: 17px; }
.bst-login-offer { margin-bottom: 16px; }
.bst-login-offer .am-info { margin: 0; }
.bst-signup-form .am-form .am-row { grid-template-columns: minmax(155px, 27%) minmax(0, 1fr); }
.bst-signup-form .am-row-buttons .am-element { justify-content: flex-start; }
.bst-signup-form .am-row-buttons input[type="submit"] { min-width: 180px; }

/* Public generic shell */
.bst-public-page { min-height: 100vh; padding: 26px; background: radial-gradient(circle at 90% 0%, rgba(37,130,244,.09), transparent 32%), var(--bst-canvas); }
.bst-public-bar { max-width: 1180px; height: 68px; display: flex; align-items: center; justify-content: space-between; margin: 0 auto 24px; padding: 0 20px; background: var(--bst-panel); border: 1px solid var(--bst-line); border-radius: 20px; box-shadow: var(--bst-shadow-xs); }
.bst-public-bar img { width: 220px; }
.bst-public-content { max-width: 1000px; margin: 0 auto; padding: 28px; background: var(--bst-panel); border: 1px solid var(--bst-line); border-radius: 22px; box-shadow: var(--bst-shadow-sm); }
.bst-public-title { margin: 0 0 20px; font-size: 27px; letter-spacing: -.7px; }

/* Flash layer */
.am-flash { position: fixed; inset: 0; z-index: 9999; pointer-events: none; }
.am-flash-mask { display: none; }
.am-flash-content { position: absolute; right: 22px; bottom: 22px; width: min(380px, calc(100% - 44px)); }
.am-flash-content > * { pointer-events: auto; box-shadow: var(--bst-shadow); }


/* Responsive */
@media (max-width: 1200px) {
  .bst-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bst-tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bst-topbar { grid-template-columns: 1fr auto; }
  .bst-topbar-title { display: none; }
  .bst-widget { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  :root { --bst-sidebar: 276px; }
  .bst-app { display: block; }
  .bst-sidebar { transform: translateX(-103%); box-shadow: var(--bst-shadow); }
  .bst-sidebar.is-open { transform: translateX(0); }
  .bst-sidebar-collapse { display: none; }
  .bst-sidebar-scrim { position: fixed; inset: 0; z-index: 70; display: block; opacity: 0; visibility: hidden; background: rgba(16,24,40,.42); backdrop-filter: blur(3px); transition: opacity var(--bst-ease), visibility var(--bst-ease); }
  .bst-sidebar-scrim.is-open { opacity: 1; visibility: visible; }
  .bst-workspace { padding: 10px; }
  .bst-topbar { top: 10px; min-height: 68px; grid-template-columns: minmax(0,1fr) auto; padding: 0 12px; border-radius: 20px 20px 0 0; }
  .bst-mobile-menu { display: inline-grid; }
  .bst-global-search { max-width: 360px; }
  .bst-main { padding: 24px 18px 36px; border-radius: 0 0 20px 20px; }
  .bst-auth-page { grid-template-columns: 1fr; }
  .bst-auth-showcase { display: none; }
  .bst-auth-main { padding: 32px 18px; }
  .bst-auth-mobile-brand { display: flex; }
}
@media (max-width: 720px) {
  .bst-topbar-actions .bst-user-trigger span, .bst-topbar-actions .bst-user-trigger > svg { display: none; }
  .bst-global-search { width: 100%; }
  .bst-search-key { display: none; }
  .bst-welcome { min-height: 300px; padding: 36px 18px; }
  .bst-welcome h1 { letter-spacing: -1.4px; }
  .bst-offer { align-items: flex-start; flex-wrap: wrap; }
  .bst-offer .bst-button { width: 100%; margin-left: 0; }
  .bst-stat-grid { grid-template-columns: 1fr; }
  .bst-stat-card { min-height: 145px; }
  .bst-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bst-tools-toolbar { align-items: stretch; flex-direction: column; }
  .bst-tools-count { width: fit-content; }
  .bst-page-panel { padding: 18px; }
  .am-form .am-row, .am-form-row, .form-group, .bst-signup-form .am-form .am-row { grid-template-columns: 1fr !important; gap: 6px !important; }
  .am-form .am-element-title, .am-form label, .control-label { padding-top: 0 !important; }
  .bst-auth-surface { padding: 21px; }
}
@media (max-width: 480px) {
  .bst-workspace { padding: 0; }
  .bst-topbar { top: 0; border-left: 0; border-right: 0; border-radius: 0; }
  .bst-main { padding: 18px 13px 30px; border-left: 0; border-right: 0; border-radius: 0; }
  .bst-global-search { height: 40px; }
  .bst-welcome { min-height: 270px; border-radius: 20px; }
  .bst-welcome h1 { font-size: 33px; }
  .bst-welcome p { font-size: 14px; }
  .bst-new-pill { margin-bottom: 17px; }
  .bst-hero-search { height: 52px; }
  .bst-tool-grid { grid-template-columns: 1fr; }
  .bst-tool-media { height: 95px; }
  .bst-auth-main { padding: 24px 13px; }
  .bst-auth-heading h1 { font-size: 29px; }
  .bst-auth-surface { padding: 19px 16px; border-radius: 18px; }
  .am-auth-form .am-row-buttons .am-element { grid-template-columns: 1fr; }
  .am-form-login-switch-wrapper { text-align: center; }
  .bst-public-page { padding: 12px; }
  .bst-public-bar { margin-bottom: 12px; border-radius: 16px; }
  .bst-public-bar img { width: 190px; }
  .bst-public-content { padding: 20px 16px; border-radius: 17px; }
}


/* Final light-only dashboard corrections */
html, body { color-scheme: light; }

/* The desktop sidebar is intentionally fixed and no longer collapses. */
.bst-sidebar-brand {
  justify-content: flex-start;
  padding: 0 5px;
}
.bst-sidebar-brand > a {
  min-width: 0;
  display: flex;
  align-items: center;
}
.bst-sidebar-brand .bst-logo {
  width: 213px;
  max-width: 100%;
  height: auto;
  display: block !important;
}
.bst-sidebar-collapse,
[data-bst-sidebar-collapse],
[data-bst-theme-toggle] { display: none !important; }

/* Keep the hub label readable in every interaction state. */
.bst-agent-card,
.bst-agent-card:link,
.bst-agent-card:visited,
.bst-agent-card:hover,
.bst-agent-card:focus,
.bst-agent-card:active,
.bst-agent-card strong {
  color: #fff !important;
}
.bst-agent-card:hover { transform: translateY(-1px); }

/* Every dashboard account block now uses the available landscape width. */
.bst-dashboard-widgets {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 20px;
}
.bst-dashboard-widgets > .bst-widget,
.bst-widget,
.bst-widget.is-subscriptions,
.bst-widget.is-email-preferences {
  width: 100%;
  grid-column: 1 / -1 !important;
}

/* Active subscriptions: spacious landscape card with a cleaner data surface. */
.bst-widget.is-subscriptions {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #fbfdff 58%, #f3f8ff 100%);
  border-color: #dce6f5;
}
.bst-widget.is-subscriptions::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--bst-blue), var(--bst-indigo));
}
.bst-widget.is-subscriptions .bst-widget-head {
  padding: 24px 28px 12px 31px;
}
.bst-widget.is-subscriptions .bst-widget-head h2 {
  font-size: 22px;
  letter-spacing: -.55px;
}
.bst-widget.is-subscriptions .bst-widget-body {
  width: 100%;
  padding: 0 28px 26px 31px;
}
.bst-widget.is-subscriptions .bst-widget-body > * {
  width: 100% !important;
  max-width: none !important;
}
.bst-widget.is-subscriptions .am-list-subscriptions,
.bst-widget.is-subscriptions ul.am-list-subscriptions,
.bst-widget.is-subscriptions .am-list {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 14px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  background: transparent !important;
}
.bst-widget.is-subscriptions .am-list-subscriptions > li,
.bst-widget.is-subscriptions .am-list-subscriptions > div,
.bst-widget.is-subscriptions .am-list > li,
.bst-widget.is-subscriptions .am-list > div {
  min-height: 82px;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  margin: 0 !important;
  padding: 18px 20px 18px 58px !important;
  position: relative;
  color: var(--bst-ink-2) !important;
  background: #fff !important;
  border: 1px solid #e2e8f2 !important;
  border-radius: 15px !important;
  box-shadow: 0 7px 20px rgba(16, 24, 40, .045);
}
.bst-widget.is-subscriptions .am-list-subscriptions > li::before,
.bst-widget.is-subscriptions .am-list-subscriptions > div::before,
.bst-widget.is-subscriptions .am-list > li::before,
.bst-widget.is-subscriptions .am-list > div::before {
  content: "✓";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  color: #fff;
  background: linear-gradient(135deg, var(--bst-blue), var(--bst-indigo));
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

/* E-mail preferences: full-width footer panel, compact and deliberate. */
.bst-widget.is-email-preferences {
  margin-top: 0;
  background: linear-gradient(90deg, #ffffff 0%, #f7faff 100%);
  border-color: #dce6f5;
}
.bst-widget.is-email-preferences .bst-widget-head {
  padding: 20px 28px 7px;
}
.bst-widget.is-email-preferences .bst-widget-head h2 {
  font-size: 19px;
  letter-spacing: -.35px;
}
.bst-widget.is-email-preferences .bst-widget-body {
  width: 100%;
  padding: 0 28px 21px;
}
.bst-widget.is-email-preferences .bst-widget-body > *,
.bst-widget.is-email-preferences form,
.bst-widget.is-email-preferences fieldset {
  width: 100% !important;
  max-width: none !important;
}
.bst-widget.is-email-preferences .am-row,
.bst-widget.is-email-preferences .am-form-row,
.bst-widget.is-email-preferences .form-group {
  min-height: 46px;
  display: flex !important;
  align-items: center !important;
  gap: 11px !important;
  margin: 0 !important;
  padding: 8px 13px !important;
  background: #fff !important;
  border: 1px solid #e5eaf2 !important;
  border-radius: 12px !important;
}
.bst-widget.is-email-preferences .am-row .am-element,
.bst-widget.is-email-preferences .am-form-row .am-element,
.bst-widget.is-email-preferences .form-group .am-element {
  min-height: 0 !important;
  width: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}
.bst-widget.is-email-preferences input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 auto;
  margin: 0 !important;
  accent-color: var(--bst-blue);
}
.bst-widget.is-email-preferences label {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--bst-ink-2) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

@media (max-width: 720px) {
  .bst-widget.is-subscriptions .am-list-subscriptions,
  .bst-widget.is-subscriptions ul.am-list-subscriptions,
  .bst-widget.is-subscriptions .am-list { grid-template-columns: 1fr; }
  .bst-widget.is-subscriptions .bst-widget-head,
  .bst-widget.is-subscriptions .bst-widget-body { padding-left: 22px; padding-right: 22px; }
  .bst-widget.is-email-preferences .bst-widget-head,
  .bst-widget.is-email-preferences .bst-widget-body { padding-left: 20px; padding-right: 20px; }
}

/* Clear, high-contrast access action on each tool card. */
.bst-tool-arrow {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin-left: auto;
  color: #fff !important;
  background: linear-gradient(135deg, var(--bst-blue), var(--bst-indigo));
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 11px;
  box-shadow: 0 7px 16px rgba(37,130,244,.22);
  transition: transform var(--bst-ease), box-shadow var(--bst-ease), filter var(--bst-ease);
}
.bst-tool-arrow svg { width: 18px; height: 18px; stroke-width: 2; }
.bst-tool-card:hover .bst-tool-arrow {
  transform: translate(1px, -1px);
  filter: saturate(1.08);
  box-shadow: 0 10px 22px rgba(37,130,244,.30);
}

/* Support the different subscription list wrappers used by aMember versions. */
.bst-widget.is-subscriptions .am-list-subscriptions ul,
.bst-widget.is-subscriptions .am-list ul {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 14px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.bst-widget.is-subscriptions .am-list-subscriptions li,
.bst-widget.is-subscriptions .am-list li {
  min-height: 82px;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  margin: 0 !important;
  padding: 18px 20px 18px 58px !important;
  position: relative;
  color: var(--bst-ink-2) !important;
  background: #fff !important;
  border: 1px solid #e2e8f2 !important;
  border-radius: 15px !important;
  box-shadow: 0 7px 20px rgba(16,24,40,.045);
  list-style: none !important;
}
.bst-widget.is-subscriptions .am-list-subscriptions li::before,
.bst-widget.is-subscriptions .am-list li::before {
  content: "✓";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  color: #fff;
  background: linear-gradient(135deg, var(--bst-blue), var(--bst-indigo));
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 720px) {
  .bst-widget.is-subscriptions .am-list-subscriptions ul,
  .bst-widget.is-subscriptions .am-list ul { grid-template-columns: 1fr; }
}


/* Brand asset and dashboard polish — supplied ToolsBazar logo */
.bst-sidebar-brand {
  height: 48px;
  margin-bottom: 16px;
}
.bst-sidebar-brand .bst-logo {
  width: 214px !important;
  max-width: 100%;
  max-height: 34px;
  object-fit: contain;
  object-position: left center;
}
.bst-auth-brand img {
  width: 236px !important;
  max-height: 38px;
  object-fit: contain;
}
.bst-auth-mobile-brand img {
  width: 224px !important;
  max-height: 36px;
  object-fit: contain;
}
.bst-public-bar img {
  width: 232px !important;
  max-height: 38px;
  object-fit: contain;
}

/* Active subscriptions: remove the decorative tick and use a clean landscape plan row. */
.bst-widget.is-subscriptions .am-list-subscriptions,
.bst-widget.is-subscriptions ul.am-list-subscriptions,
.bst-widget.is-subscriptions .am-list,
.bst-widget.is-subscriptions .am-list-subscriptions ul,
.bst-widget.is-subscriptions .am-list ul {
  grid-template-columns: minmax(0, 1fr) !important;
}
.bst-widget.is-subscriptions .am-list-subscriptions > li,
.bst-widget.is-subscriptions .am-list-subscriptions > div,
.bst-widget.is-subscriptions .am-list > li,
.bst-widget.is-subscriptions .am-list > div,
.bst-widget.is-subscriptions .am-list-subscriptions li,
.bst-widget.is-subscriptions .am-list li {
  min-height: 88px;
  justify-content: center;
  padding: 20px 24px !important;
  line-height: 1.55;
  box-shadow: inset 4px 0 0 rgba(66, 104, 244, .72), 0 8px 22px rgba(16,24,40,.045) !important;
}
.bst-widget.is-subscriptions .am-list-subscriptions > li::before,
.bst-widget.is-subscriptions .am-list-subscriptions > div::before,
.bst-widget.is-subscriptions .am-list > li::before,
.bst-widget.is-subscriptions .am-list > div::before,
.bst-widget.is-subscriptions .am-list-subscriptions li::before,
.bst-widget.is-subscriptions .am-list li::before {
  content: none !important;
  display: none !important;
}

/* Canva/tool action: keep the external-link arrow exactly centered in its button. */
.bst-tool-copy {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: center;
  column-gap: 12px;
}
.bst-tool-arrow,
.bst-tool-copy .bst-tool-arrow {
  width: 40px !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: center;
  align-self: center;
  line-height: 0 !important;
}
.bst-tool-arrow svg {
  width: 18px !important;
  height: 18px !important;
  display: block;
  margin: 0;
  transform: none !important;
}

/* E-mail preferences: compact landscape footer row on desktop. */
.bst-widget.is-email-preferences {
  display: grid;
  grid-template-columns: minmax(220px, 290px) minmax(0, 1fr);
  align-items: center;
}
.bst-widget.is-email-preferences .bst-widget-head {
  padding: 22px 12px 22px 28px !important;
}
.bst-widget.is-email-preferences .bst-widget-body {
  padding: 14px 28px 14px 12px !important;
}
.bst-widget.is-email-preferences .am-row,
.bst-widget.is-email-preferences .am-form-row,
.bst-widget.is-email-preferences .form-group {
  min-height: 52px;
  padding: 10px 16px !important;
}

@media (max-width: 720px) {
  .bst-sidebar-brand .bst-logo { width: 205px !important; }
  .bst-widget.is-email-preferences { grid-template-columns: 1fr; }
  .bst-widget.is-email-preferences .bst-widget-head { padding: 20px 20px 7px !important; }
  .bst-widget.is-email-preferences .bst-widget-body { padding: 0 20px 20px !important; }
}

/* ToolsBazar 2026 brand layer */
:root {
  --bst-blue: #1289ed;
  --bst-blue-strong: #0878d6;
  --bst-indigo: #20b53d;
  --bst-cyan: #20cdd4;
  --bst-mint: #42d94e;
  --bst-ink: #0a1b29;
  --bst-ink-2: #32495b;
  --bst-muted: #667e91;
  --bst-soft: #91a4b2;
  --bst-line: #dfe9ed;
  --bst-line-strong: #cedce3;
  --bst-canvas: #f3f8f7;
  --bst-panel-2: #f6faf9;
  --bst-focus: 0 0 0 4px rgba(18, 137, 237, .13);
}

body { background-image: radial-gradient(circle at 90% 0, rgba(66,217,78,.07), transparent 28%); }
.bst-sidebar { border-right-color: #dce9e5; box-shadow: 9px 0 35px rgba(15,55,53,.035); }
.bst-agent-card { background: linear-gradient(115deg, #0878d6, #129ae7 52%, #20b53d); box-shadow: 0 13px 28px rgba(15,137,190,.2); }
.bst-agent-card:hover { box-shadow: 0 18px 34px rgba(15,137,190,.27); }
.bst-nav-link.is-active { background: linear-gradient(90deg, rgba(18,137,237,.1), rgba(66,217,78,.06)); }
.bst-avatar { background: linear-gradient(135deg, #0a82e2, #25bf45); }
.bst-button,.am-button,button.am-button,a.am-button { background: linear-gradient(120deg, #0878d6, #129ae7 55%, #20b53d) !important; background-size: 160% auto !important; }
.bst-button:hover,.am-button:hover,button.am-button:hover,a.am-button:hover { background-position: 100% 0 !important; }
.bst-tool-card:hover { border-color: rgba(18,137,237,.3); box-shadow: 0 18px 40px rgba(10,55,70,.11); }
.bst-tool-placeholder,.bst-welcome { background-image: linear-gradient(135deg,#0878d6,#1298e8 55%,#20b53d); }

/* Logo source is square with transparency; these frames crop its empty margins. */
.bst-sidebar-brand > a,.bst-public-bar > a { overflow: hidden; }
.bst-sidebar-brand > a { width: 225px; height: 62px; }
.bst-sidebar-brand .bst-logo { width: 225px !important; height: 225px !important; max-width: none !important; object-fit: contain; transform: translateY(-82px); }
.bst-auth-brand { width: 245px; height: 92px; justify-content: center; padding: 0; overflow: hidden; }
.bst-auth-brand img { width: 245px; height: 245px; max-width: none; object-fit: contain; transform: scale(1.07); }
.bst-auth-mobile-brand { height: 95px; overflow: hidden; align-items: center; }
.bst-auth-mobile-brand img { width: 205px; height: 205px; max-width: none; object-fit: contain; }
.bst-public-bar > a { width: 220px; height: 60px; display: flex; align-items: center; }
.bst-public-bar img { width: 220px; height: 220px; max-width: none; object-fit: contain; }

/* Futuristic authentication and signup experience */
.bst-auth-page { grid-template-columns: minmax(430px, .95fr) minmax(520px, 1.05fr); background: #07131d; }
.bst-auth-showcase {
  padding: clamp(36px,5vw,72px);
  background: radial-gradient(circle at 87% 10%,rgba(18,137,237,.22),transparent 30%),linear-gradient(145deg,#061722,#092739 52%,#071811);
  border-right: 1px solid rgba(90,205,218,.14);
}
.bst-auth-showcase::before { width: 510px; height: 510px; top: -250px; right: -220px; background: rgba(32,205,212,.09); animation: bst-float 9s ease-in-out infinite; }
.bst-auth-showcase::after { width: 430px; height: 430px; bottom: -230px; left: -190px; background: rgba(66,217,78,.09); animation: bst-float 11s ease-in-out -4s infinite reverse; }
.bst-auth-grid { position:absolute; z-index:-1; inset:0; opacity:.12; background-image:linear-gradient(rgba(32,205,212,.2) 1px,transparent 1px),linear-gradient(90deg,rgba(32,205,212,.2) 1px,transparent 1px); background-size:54px 54px; -webkit-mask-image:linear-gradient(to bottom,#000,transparent 90%); mask-image:linear-gradient(to bottom,#000,transparent 90%); }
.bst-auth-orb { position:absolute; z-index:-1; width:340px; height:340px; right:-120px; top:36%; border-radius:50%; background:radial-gradient(circle,rgba(18,137,237,.18),transparent 68%); filter:blur(4px); animation:bst-float 8s ease-in-out infinite; }
.bst-auth-brand { border:1px solid rgba(255,255,255,.14); border-radius:22px; background:rgba(255,255,255,.97); box-shadow:0 18px 45px rgba(0,0,0,.25); transition:transform .25s,box-shadow .25s; }
.bst-auth-brand:hover { transform:translateY(-3px); box-shadow:0 22px 50px rgba(0,0,0,.32); }
.bst-auth-pitch { position:relative; z-index:1; max-width:620px; }
.bst-auth-kicker { border-color:rgba(32,205,212,.3); background:rgba(12,110,129,.18); color:#c5f8ff; letter-spacing:.04em; }
.bst-auth-kicker::before { background:#42d94e; box-shadow:0 0 0 5px rgba(66,217,78,.12),0 0 20px #42d94e; animation:bst-pulse 2s infinite; }
.bst-auth-pitch h2 { font-family:Manrope,Inter,sans-serif; font-size:clamp(42px,4.2vw,67px); letter-spacing:-.055em; }
.bst-auth-pitch h2 span { background:linear-gradient(90deg,#33dcef,#2ba6f4 48%,#5be667); -webkit-background-clip:text; background-clip:text; color:transparent; }
.bst-auth-pitch p { color:#a9c0cc; line-height:1.75; }
.bst-auth-point { color:#c1d2d9; }
.bst-auth-point b { color:#f1fbff; }
.bst-auth-point i { border:1px solid rgba(32,205,212,.22); background:rgba(18,137,237,.12); color:#54e9ee; }
.bst-auth-note { position:relative; z-index:1; display:flex; align-items:center; gap:9px; color:#718d98; }
.bst-auth-note>i { width:6px; height:6px; border-radius:50%; background:#42d94e; box-shadow:0 0 12px #42d94e; }
.bst-auth-note>b { margin-left:auto; color:#718d98; font-weight:500; }
.bst-auth-main { background:radial-gradient(circle at 85% 7%,rgba(18,137,237,.1),transparent 28%),#07131d; }
.bst-auth-card { animation:bst-card-in .65s cubic-bezier(.2,.8,.2,1) both; }
.bst-auth-heading { font-family:Manrope,Inter,sans-serif; }
.bst-auth-heading h1 { color:#edf8ff; font-size:38px; letter-spacing:-.045em; }
.bst-auth-heading p { color:#8ca3b3; }
.bst-auth-eyebrow { display:block; margin-bottom:10px; color:#45dce2; font-size:10px; font-weight:800; letter-spacing:.17em; text-transform:uppercase; }
.bst-auth-surface { position:relative; padding:32px; border-color:rgba(137,184,205,.18); background:linear-gradient(145deg,rgba(15,37,52,.96),rgba(7,25,37,.97)); box-shadow:0 28px 75px rgba(0,0,0,.38); backdrop-filter:blur(20px); }
.bst-auth-surface::before { content:""; position:absolute; pointer-events:none; inset:0; border-radius:inherit; background:linear-gradient(125deg,rgba(32,205,212,.055),transparent 36%,rgba(66,217,78,.035)); }
.bst-auth-surface .am-form,.bst-auth-surface .am-auth-form,.bst-auth-surface form { position:relative; z-index:1; margin:0!important; padding:0!important; border:0!important; background:transparent!important; box-shadow:none!important; }
.bst-auth-surface .am-form fieldset,.bst-auth-surface .am-auth-form fieldset { margin:0!important; padding:0!important; border:0!important; background:transparent!important; box-shadow:none!important; }
.bst-auth-surface .am-form .am-row,.bst-auth-surface .am-auth-form .am-row { display:grid!important; grid-template-columns:1fr!important; gap:7px!important; margin:0 0 18px!important; padding:0!important; border:0!important; background:transparent!important; }
.bst-auth-surface .am-element-title,.bst-auth-surface label { width:auto!important; margin:0!important; padding:0!important; color:#c7d9e3!important; font-size:12px!important; text-align:left!important; }
.bst-auth-surface .am-element { width:100%!important; max-width:none!important; margin:0!important; padding:0!important; float:none!important; }
.bst-auth-surface input[type=text],.bst-auth-surface input[type=email],.bst-auth-surface input[type=password],.bst-auth-surface input[type=number],.bst-auth-surface input[type=tel],.bst-auth-surface select,.bst-auth-surface textarea { width:100%!important; min-height:53px!important; padding:11px 15px!important; border:1px solid rgba(147,187,207,.2)!important; border-radius:14px!important; background:rgba(3,15,23,.6)!important; color:#edf8ff!important; box-shadow:inset 0 1px rgba(255,255,255,.02)!important; }
.bst-auth-surface input:hover,.bst-auth-surface select:hover,.bst-auth-surface textarea:hover { border-color:rgba(32,205,212,.35)!important; }
.bst-auth-surface input:focus,.bst-auth-surface select:focus,.bst-auth-surface textarea:focus { border-color:#20cdd4!important; box-shadow:0 0 0 4px rgba(32,205,212,.1),0 10px 25px rgba(0,0,0,.16)!important; }
.bst-auth-surface input[type=submit],.bst-auth-surface button[type=submit] { width:100%!important; min-height:53px!important; background:linear-gradient(110deg,#0878d6,#129ae7 55%,#20b53d)!important; background-size:170% auto!important; border-radius:14px!important; box-shadow:0 14px 30px rgba(6,122,199,.27)!important; }
.bst-auth-surface input[type=submit]:hover,.bst-auth-surface button[type=submit]:hover { transform:translateY(-2px); background-position:100% 0!important; box-shadow:0 18px 38px rgba(16,157,191,.34)!important; }
.bst-auth-surface .am-auth-form .am-row-buttons .am-element { display:grid!important; grid-template-columns:minmax(0,1fr) auto!important; align-items:center!important; gap:15px!important; }
.bst-auth-surface .am-form-login-switch-wrapper { white-space:nowrap; text-align:right; }
.bst-auth-surface .am-form-login-switch,.bst-auth-surface a { color:#44dce4!important; }
.bst-auth-surface .am-form-login-switch:hover,.bst-auth-surface a:hover { color:#70f080!important; }
.bst-auth-surface #am-form-login-remember { color:#8ca3b3!important; }
.bst-auth-footer { color:#7e96a7; }
.bst-auth-footer a { color:#42dce3; }
.bst-auth-trust { color:#5f788a; }

/* Signup: stable full-width fields, selectable products and clean checkout actions. */
.bst-auth-card.is-signup { width:min(100%,760px); padding:20px 0; }
.bst-signup-form .am-form .am-row { grid-template-columns:minmax(150px,25%) minmax(0,1fr)!important; gap:12px 22px!important; padding:10px 0!important; margin:0!important; }
.bst-signup-form .am-form .am-row .am-element-title { padding-top:12px!important; }
.bst-signup-form .am-product { position:relative; margin:0 0 10px!important; padding:16px!important; border-color:rgba(147,187,207,.18)!important; background:rgba(3,15,23,.48)!important; transition:border-color .2s,transform .2s,background .2s; }
.bst-signup-form .am-product:hover { transform:translateY(-1px); border-color:rgba(32,205,212,.48)!important; background:rgba(8,37,48,.7)!important; }
.bst-signup-form .am-product-title,.bst-signup-form .am-product label { color:#e9f7fc!important; }
.bst-signup-form .am-product-desc,.bst-signup-form .am-product-terms,.bst-signup-form .comment { color:#829dac!important; }
.bst-signup-form .am-row-buttons .am-element { justify-content:flex-start; }
.bst-signup-form .am-row-buttons input[type=submit] { min-width:220px; }
.bst-login-offer .am-info { color:#aec2cd; border-color:rgba(32,205,212,.18); background:rgba(32,205,212,.06); }

@keyframes bst-card-in { from { opacity:0; transform:translateY(24px) scale(.985); } to { opacity:1; transform:none; } }
@keyframes bst-float { 50% { transform:translate3d(-12px,18px,0) scale(1.04); } }
@keyframes bst-pulse { 50% { opacity:.6; box-shadow:0 0 0 8px rgba(66,217,78,0),0 0 20px #42d94e; } }

@media(max-width:960px) {
  .bst-auth-page { display:block; }
  .bst-auth-main { min-height:100vh; min-height:100svh; }
  .bst-auth-mobile-brand { display:flex; }
}
@media(max-width:720px) {
  .bst-signup-form .am-form .am-row { grid-template-columns:1fr!important; gap:6px!important; }
  .bst-signup-form .am-form .am-row .am-element-title { padding-top:0!important; }
  .bst-auth-card.is-signup { padding:0; }
}
@media(max-width:480px) {
  .bst-auth-main { align-items:start; padding:20px 14px 30px; }
  .bst-auth-mobile-brand { margin-bottom:16px; height:76px; }
  .bst-auth-mobile-brand img { width:165px; height:165px; }
  .bst-auth-heading { text-align:center; margin-bottom:22px; }
  .bst-auth-heading h1 { font-size:30px; }
  .bst-auth-surface { padding:23px 18px; }
  .bst-auth-surface .am-auth-form .am-row-buttons .am-element { grid-template-columns:1fr!important; }
  .bst-auth-surface .am-form-login-switch-wrapper { text-align:center; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; scroll-behavior:auto!important; }
}

/* ToolsBazar layout corrections — v3 */
.am-form legend,.am-auth-form legend,.bst-auth-surface legend { display:none!important; }

/* The logo asset is now tightly cropped and transparent. */
.bst-sidebar-brand>a { width:auto!important; height:auto!important; overflow:visible!important; }
.bst-sidebar-brand .bst-logo { width:205px!important; height:auto!important; max-width:100%!important; object-fit:contain!important; transform:none!important; }
.bst-public-bar>a { width:auto!important; height:auto!important; overflow:visible!important; }
.bst-public-bar img { width:210px!important; height:auto!important; max-width:100%!important; object-fit:contain!important; transform:none!important; }
.bst-auth-brand { width:auto!important; height:auto!important; padding:0!important; overflow:visible!important; border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; }
.bst-auth-brand img { width:265px!important; height:auto!important; max-width:100%!important; object-fit:contain!important; transform:none!important; filter:drop-shadow(0 12px 22px rgba(0,40,90,.18)); }
.bst-auth-mobile-brand { height:auto!important; overflow:visible!important; }
.bst-auth-mobile-brand img { width:205px!important; height:auto!important; max-width:100%!important; object-fit:contain!important; transform:none!important; }

/* Login follows the supplied two-panel reference: blue story panel + light form panel. */
body:not(.bst-signup-page) .bst-auth-page { grid-template-columns:minmax(430px,45%) minmax(560px,55%); background:#fff; }
body:not(.bst-signup-page) .bst-auth-showcase { background:linear-gradient(145deg,#087de2 0%,#168eef 46%,#4058ec 100%); border:0; }
body:not(.bst-signup-page) .bst-auth-showcase::before { background:rgba(255,255,255,.14); }
body:not(.bst-signup-page) .bst-auth-showcase::after { background:rgba(6,50,132,.2); }
body:not(.bst-signup-page) .bst-auth-grid { opacity:.08; }
body:not(.bst-signup-page) .bst-auth-orb { background:radial-gradient(circle,rgba(255,255,255,.14),transparent 68%); }
body:not(.bst-signup-page) .bst-auth-kicker { color:#fff; border-color:rgba(255,255,255,.3); background:rgba(255,255,255,.12); }
body:not(.bst-signup-page) .bst-auth-pitch h2,body:not(.bst-signup-page) .bst-auth-pitch h2 span { color:#fff; background:none; -webkit-text-fill-color:initial; }
body:not(.bst-signup-page) .bst-auth-pitch p { color:rgba(255,255,255,.78); }
body:not(.bst-signup-page) .bst-auth-point { color:rgba(255,255,255,.9); }
body:not(.bst-signup-page) .bst-auth-point b { color:#fff; }
body:not(.bst-signup-page) .bst-auth-point i { color:#fff; border-color:rgba(255,255,255,.2); background:rgba(255,255,255,.14); }
body:not(.bst-signup-page) .bst-auth-note,body:not(.bst-signup-page) .bst-auth-note>b { color:rgba(255,255,255,.62); }
body:not(.bst-signup-page) .bst-auth-main { min-width:0; padding:50px clamp(32px,6vw,100px); background:radial-gradient(circle at 100% 0,rgba(18,137,237,.07),transparent 35%),#fff; }
body:not(.bst-signup-page) .bst-auth-card { width:min(100%,570px); }
body:not(.bst-signup-page) .bst-auth-heading { text-align:center; margin-bottom:26px; }
body:not(.bst-signup-page) .bst-auth-heading h1 { color:#0b1830; font-size:42px; font-weight:800; }
body:not(.bst-signup-page) .bst-auth-heading p { color:#6c7a91; font-size:15px; }
body:not(.bst-signup-page) .bst-auth-eyebrow { display:none; }
body:not(.bst-signup-page) .bst-auth-surface { padding:36px 38px 34px; border:1px solid #dbe5ef; background:#fff; box-shadow:0 22px 55px rgba(15,45,75,.11); }
body:not(.bst-signup-page) .bst-auth-surface::before { display:none; }
.bst-login-card-brand { display:flex; flex-direction:column; align-items:center; gap:7px; margin:-4px 0 30px; padding-bottom:25px; border-bottom:1px solid #e8edf3; text-decoration:none; }
.bst-login-card-brand img { display:block; width:225px; height:auto; }
.bst-login-card-brand span { color:#93a0b2; font-size:11px; font-weight:650; letter-spacing:.08em; text-transform:uppercase; }
body:not(.bst-signup-page) .bst-auth-surface .am-element-title,body:not(.bst-signup-page) .bst-auth-surface label { color:#344054!important; }
body:not(.bst-signup-page) .bst-auth-surface input[type=text],body:not(.bst-signup-page) .bst-auth-surface input[type=email],body:not(.bst-signup-page) .bst-auth-surface input[type=password] { min-height:56px!important; color:#132238!important; border:1px solid #d3deea!important; background:#fff!important; }
body:not(.bst-signup-page) .bst-auth-surface input::placeholder { color:#9aa9bb!important; }
body:not(.bst-signup-page) .bst-auth-surface input:focus { border-color:#1689ed!important; box-shadow:0 0 0 4px rgba(22,137,237,.11)!important; }
body:not(.bst-signup-page) .bst-auth-surface .am-auth-form .am-row-buttons .am-element { display:grid!important; grid-template-columns:1fr!important; gap:17px!important; }
body:not(.bst-signup-page) .bst-auth-surface .am-form-login-switch-wrapper { display:block; text-align:center!important; }
body:not(.bst-signup-page) .bst-auth-surface .am-form-login-switch,body:not(.bst-signup-page) .bst-auth-surface a { color:#1284e6!important; }
body:not(.bst-signup-page) .bst-auth-surface input[type=submit] { background:linear-gradient(110deg,#168ff3,#187fe8 58%,#22b344)!important; box-shadow:0 14px 28px rgba(18,126,226,.22)!important; }
body:not(.bst-signup-page) .bst-password-toggle { color:#93a4b6; }
body:not(.bst-signup-page) .bst-password-toggle:hover { color:#1689ed; background:#f0f7fd; }
body:not(.bst-signup-page) .bst-auth-footer { color:#738398; }
body:not(.bst-signup-page) .bst-auth-footer a { color:#1284e6; }
body:not(.bst-signup-page) .bst-auth-trust { color:#9aa8b8; }

/* Signup is deliberately single-column with no promotional sidebar. */
body.bst-signup-page { color:#132238; background:#f4f8fb; }
.bst-signup-page-shell { display:block!important; min-height:100vh; background:radial-gradient(circle at 10% 0,rgba(18,137,237,.08),transparent 30%),radial-gradient(circle at 90% 8%,rgba(34,179,68,.07),transparent 28%),#f4f8fb!important; }
.bst-signup-page-shell .bst-auth-main { display:block; min-height:100vh; padding:44px 24px 60px; background:transparent; }
.bst-signup-page-shell .bst-auth-card.is-signup { width:min(100%,980px); margin:0 auto; padding:0; }
.bst-signup-logo { display:block; width:max-content; max-width:100%; margin:0 auto 28px; transition:transform .25s; }
.bst-signup-logo:hover { transform:translateY(-2px); }
.bst-signup-logo img { display:block; width:255px; max-width:72vw; height:auto; filter:drop-shadow(0 10px 22px rgba(15,80,110,.12)); }
.bst-signup-page-shell .bst-auth-heading { margin:0 auto 28px; text-align:center; }
.bst-signup-page-shell .bst-auth-heading h1 { color:#0b1830; font-size:40px; font-weight:800; }
.bst-signup-page-shell .bst-auth-heading p { color:#687b8e; font-size:15px; }
.bst-signup-page-shell .bst-auth-eyebrow { color:#1387df; }
.bst-signup-page-shell .bst-auth-surface { padding:34px 40px; border:1px solid #dce6ed; background:#fff; box-shadow:0 22px 60px rgba(18,57,76,.09); }
.bst-signup-page-shell .bst-auth-surface::before { display:none; }
.bst-signup-page-shell .bst-auth-surface .am-form,.bst-signup-page-shell .bst-auth-surface form { color:#132238!important; }
.bst-signup-page-shell .bst-auth-surface .am-form .am-row { grid-template-columns:minmax(150px,23%) minmax(0,1fr)!important; gap:12px 25px!important; padding:13px 0!important; margin:0!important; }
.bst-signup-page-shell .bst-auth-surface .am-element-title,.bst-signup-page-shell .bst-auth-surface label { color:#344054!important; }
.bst-signup-page-shell .bst-auth-surface input[type=text],.bst-signup-page-shell .bst-auth-surface input[type=email],.bst-signup-page-shell .bst-auth-surface input[type=password],.bst-signup-page-shell .bst-auth-surface input[type=number],.bst-signup-page-shell .bst-auth-surface input[type=tel],.bst-signup-page-shell .bst-auth-surface select,.bst-signup-page-shell .bst-auth-surface textarea { color:#132238!important; border:1px solid #d3dee7!important; background:#fff!important; }
.bst-signup-page-shell .bst-auth-surface input:focus,.bst-signup-page-shell .bst-auth-surface select:focus,.bst-signup-page-shell .bst-auth-surface textarea:focus { border-color:#1689ed!important; box-shadow:0 0 0 4px rgba(22,137,237,.1)!important; }
.bst-signup-page-shell .bst-login-offer .am-info { color:#53687b; border-color:#d7e8ee; background:#f0faf9; }
.bst-signup-page-shell .bst-auth-surface a { color:#1185df!important; }
.bst-signup-page-shell .bst-signup-form .am-product { padding:15px 17px!important; color:#344054!important; border:1px solid #dce6ed!important; background:#f8fbfc!important; box-shadow:none; }
.bst-signup-page-shell .bst-signup-form .am-product:hover { border-color:#60adeb!important; background:#f3f9fd!important; }
.bst-signup-page-shell .bst-signup-form .am-product-title,.bst-signup-page-shell .bst-signup-form .am-product label { color:#172b3d!important; }
.bst-signup-page-shell .bst-signup-form .am-product-desc,.bst-signup-page-shell .bst-signup-form .am-product-terms,.bst-signup-page-shell .bst-signup-form .comment { color:#73879a!important; }
.bst-signup-page-shell .bst-auth-surface input[type=submit] { width:auto!important; min-width:230px; background:linear-gradient(110deg,#168ff3,#187fe8 58%,#22b344)!important; }
.bst-signup-page-shell .bst-auth-footer { color:#687b8e; }
.bst-signup-page-shell .bst-auth-footer a { color:#1185df; }
.bst-signup-page-shell .bst-auth-trust { color:#91a0af; }

@media(max-width:960px) {
  body:not(.bst-signup-page) .bst-auth-page { display:block; }
  body:not(.bst-signup-page) .bst-auth-showcase { display:none; }
  body:not(.bst-signup-page) .bst-auth-main { min-height:100vh; padding:38px 20px; }
  body:not(.bst-signup-page) .bst-auth-mobile-brand { display:flex; }
}
@media(max-width:720px) {
  .bst-signup-page-shell .bst-auth-main { padding:28px 15px 40px; }
  .bst-signup-page-shell .bst-auth-surface { padding:24px 20px; }
  .bst-signup-page-shell .bst-auth-surface .am-form .am-row { grid-template-columns:1fr!important; gap:7px!important; }
  .bst-signup-page-shell .bst-auth-surface input[type=submit] { width:100%!important; }
}
@media(max-width:480px) {
  body:not(.bst-signup-page) .bst-auth-main { padding:20px 14px 30px; }
  body:not(.bst-signup-page) .bst-auth-heading h1 { font-size:32px; }
  body:not(.bst-signup-page) .bst-auth-surface { padding:26px 19px; }
  .bst-login-card-brand { margin-bottom:24px; }
  .bst-login-card-brand img { width:195px; }
  .bst-signup-page-shell .bst-auth-heading h1 { font-size:31px; }
}

/* Signup action and localized price display — v4 */
.bst-signup-page-shell .bst-signup-form .am-row-buttons {
  display:grid!important;
  grid-template-columns:1fr!important;
  justify-items:center!important;
  width:100%!important;
  padding-top:24px!important;
}
.bst-signup-page-shell .bst-signup-form .am-row-buttons .am-element {
  grid-column:1 / -1!important;
  display:flex!important;
  justify-content:center!important;
  width:100%!important;
}
.bst-signup-page-shell .bst-signup-form .am-row-buttons input[type=submit],
.bst-signup-page-shell .bst-signup-form .am-row-buttons button[type=submit] {
  width:min(100%,320px)!important;
  min-width:0!important;
  margin:0 auto!important;
}
.bst-inr-note {
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:0 0 18px;
  padding:12px 14px;
  color:#39596c;
  background:#effaf5;
  border:1px solid #cfeadd;
  border-radius:12px;
  font-size:11px;
  line-height:1.55;
}
.bst-inr-note::before {
  content:"₹";
  display:grid;
  width:22px;
  height:22px;
  place-items:center;
  flex:0 0 auto;
  color:#fff;
  background:linear-gradient(135deg,#1689ed,#22b344);
  border-radius:7px;
  font-weight:800;
}
.bst-inr-price { color:#16824b; font-weight:800; }
