/* ---- Base / tokens ---- */
:root {
  --navy:#0B1C3D;
  --navy-600:#122846;
  --ink:#0f172a;
  --text:#0f172a;
  --muted:#6b7280;
  --white:#fff;
  --red:#C7222A;
  --red-2:#E33B3F;
  --radius:16px;
  --shadow:0 10px 30px rgba(0,0,0,.12);
  --logo-w:200px; /* tweak 180–240px to taste */
}

/* Reset-ish */
* { box-sizing:border-box; }
html, body { height:100%; }

body {
  margin: 0;
  font: 16px/1.55 system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial,
    sans-serif;
  color: var(--text);
  background: #020617; /* solid deep navy for the canvas */
}

a {
  color:inherit;
  text-decoration:none;
}

/* Layout helpers */
.wrap {
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
}

.grid-3 {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}

@media (max-width:960px) {
  .grid-3 { grid-template-columns:1fr; }
  .br-md { display:none; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(
    90deg,
    #01081d 10%,
    #0a1024 25%,
    rgba(255, 255, 255, 0.95) 80%
  );
  box-shadow: 0 10px 32px rgba(2, 4, 22, 0.45);
  backdrop-filter: saturate(140%) blur(18px);
}

/* --- BrighTel wordmark tuning --- */

.site-header .brand-text,
.site-footer .brand-text{
  font-size: 18px;
  letter-spacing: .03em;
  display: inline-flex;
  align-items: baseline;
}

/* Let the T breathe + glow nicely */
.site-header .bt-accent,
.site-footer .bt-accent{
  background: linear-gradient(180deg,#ff4d4d 0%, #d81b60 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px rgba(255,77,77,.2);
  font-size: 1.18em;   /* slightly bigger than Brigh/el */
  margin: 0 0.6px;       /* tiny gap so it doesn’t feel crushed */
}

.site-header .brand-text,
.site-footer .brand-text,
.site-header .bt-prefix,
.site-header .bt-suffix,
.site-footer .bt-prefix,
.site-footer .bt-suffix{
  color: #f9fbff; /* bright, readable on navy */
}



.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header .wrap {
  height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* Brand lockup (shared with footer) */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--ink);
}

.brand::after {
  content:"";
  position:absolute;
  inset:-8px -12px -8px -12px;
  background:radial-gradient(120px 60px at left center,
              rgba(255,255,255,.10), transparent 60%);
  pointer-events:none;
}

.brand-glyph {
  width: 52px;
  height: 52px;
  display: block;
}

.brand-glyph.small {
  width: 24px;
  height: 24px;
}

.brand-text {
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* “Brigh” + “el” inherit; T gets the red glow */
.bt-prefix,
.bt-suffix,
.bt-divider,
.bt-product {
  color: var(--ink);
}

.bt-divider {
  margin: 0 0.35ch;
  opacity: 0.85;
}

.bt-accent {
  background: linear-gradient(180deg, #ff4d4d 0%, #d81b60 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 14px rgba(255, 77, 77, 0.25);
}

/* nav */
.nav {
  display:flex;
  gap:24px;
  align-items:center;
}

.nav a { opacity:.9; }
.nav a:hover { opacity:1; }

.nav .cta {
  padding:10px 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.35);
}

/* HERO -------------------------------------------------------------- */

.hero {
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 96px 0 72px;
  color: var(--white);
  background: #020617; /* same as body so it feels continuous */
}

.hero .wrap {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-glyph img {
  width: 140px;
  height: 140px;
  display: block;
}

.hero-inner {
  max-width:1120px;
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,320px) minmax(0,1.4fr);
  gap:3rem;
  align-items:center;
}

.hero-glyph {
  display:flex;
  justify-content:center;
}

.hero-copy h1 {
  font-size:clamp(2.4rem, 3vw, 3.1rem);
  line-height:1.1;
  margin:0 0 12px;
}

.hero-copy p {
  font-size:1.05rem;
  max-width: 560px;
  margin:0 0 28px;
  color: rgba(255,255,255,.72);
}

.actions {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* buttons */
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.25);
  transition:.2s transform,.2s box-shadow;
}

.button:hover {
  transform:translateY(-1px);
  box-shadow:var(--shadow);
}

.button.primary {
  background: linear-gradient(90deg,#e11d48,#fb503b);
}
.nav a:hover {
  color: #f97373;
}

.button.ghost {
  background:transparent;
  color:#fff;
}

/* MAIN CONTENT BELOW HERO ------------------------------------------- */

.main {
  padding:4rem 5vw 5rem;
  background:#040612;
  color:#f5f7ff;
}
main.hero {
  background: #020617;
  padding-top: 32px;
}
.main h1 {
  font-size:2.1rem;
  margin:0 0 12px;
}

.main .sub {
  max-width:720px;
  color:rgba(226,232,240,.9);
  margin:0 0 28px;
}

/* Cards */
.pillars {
  padding: 40px 0 64px;
  background: #020617;
}
.card {
  background: #020617;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,.4);
  box-shadow: 0 18px 45px rgba(15,23,42,.75);
}
.card h3 { color: #e5ecf7; }
.card p  { color: #9ca3af; }

/* Footer */
.site-footer {
  color: #e6eef6;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
  background: linear-gradient(
    90deg,
    #01081d 0%,
    #050c1f 30%,
    #050c1f 70%,
    #0b162f 100%
  );
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.site-footer .left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer .right {
  display: flex;
  gap: 18px;
}

/* accessibility helper */
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
}

h1, h2, h3 {
  letter-spacing: 0.02em;
  font-weight: 650;
}
.sub, p {
  color: #9ca3af; /* muted grey */
}

/* -------------------------------------------------------------- */

:root {
  --bt-bg: #020518;
  --bt-bg-alt: #050920;
  --bt-card: #070d24;
  --bt-border: rgba(255, 255, 255, 0.06);
  --bt-text: #f5f5f7;
  --bt-text-soft: #b4b6c4;
  --bt-accent: #ff4b5c;
  --bt-accent-soft: #ff8a7a;
  --bt-radius-lg: 18px;
  --bt-radius-md: 12px;
  --bt-shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.65);
  --bt-max-width: 1120px;
}

body.bt-page {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #0b1230 0, #020518 42%, #000000 100%);
  color: var(--bt-text);
  -webkit-font-smoothing: antialiased;
  padding-top: 50px; /* adjust to your actual header height */
}

.bt-section,
.bt-hero {
  scroll-margin-top: 60px;
}
/* HEADER */

.bt-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    to bottom,
    rgba(2, 5, 24, 0.97),
    rgba(2, 5, 24, 0.88),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.bt-header-inner {
  max-width: var(--bt-max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.bt-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.bt-logo svg,
.bt-logo img {
  display: block;
  height: 55px;
  width: 55px;
}

.bt-brand-name {
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--bt-text);
}

.bt-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.9rem;
}

.bt-nav a {
  color: var(--bt-text-soft);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}

.bt-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--bt-accent), var(--bt-accent-soft));
  border-radius: 999px;
  transition: width 0.18s ease-out;
}

.bt-nav a:hover {
  color: var(--bt-text);
}

.bt-nav a:hover::after {
  width: 100%;
}

/* HERO */

.bt-hero {
  padding: 72px 24px 40px;
}

.bt-hero-inner {
  max-width: var(--bt-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
}

.bt-hero-visual {
  flex: 0 0 320px;
  display: flex;
  justify-content: center;
}

.bt-hero-visual svg {
  max-width: 320px;
  height: auto;
  display: block;
}

.bt-hero-copy {
  flex: 1;
  max-width: 560px;
}

.bt-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bt-accent-soft);
  margin: 0 0 10px;
}

.bt-hero h1 {
  font-size: 3rem;
  line-height: 1.05;
  margin: 0 0 16px;
}

.bt-hero-sub {
  font-size: 1.1rem;
  color: var(--bt-text-soft);
  margin: 0 0 10px;
}

.bt-hero-support {
  font-size: 0.98rem;
  color: var(--bt-text-soft);
  margin: 0 0 24px;
}

.bt-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* BUTTONS */

.bt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out,
    background 0.12s ease-out, border-color 0.12s ease-out,
    color 0.12s ease-out;
}

.bt-btn-primary {
  background: linear-gradient(135deg, var(--bt-accent), var(--bt-accent-soft));
  color: #fff;
  box-shadow: 0 14px 45px rgba(255, 75, 92, 0.35);
}

.bt-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 55px rgba(255, 75, 92, 0.45);
}

.bt-btn-ghost {
  background: transparent;
  color: var(--bt-text-soft);
  border-color: rgba(255, 255, 255, 0.24);
}

.bt-btn-ghost:hover {
  color: var(--bt-text);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.03);
}

/* SECTIONS */

.bt-section {
  padding: 40px 24px;
}

.bt-section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent);
}

.bt-section-inner {
  max-width: var(--bt-max-width);
  margin: 0 auto;
}

.bt-section-header {
  max-width: 640px;
  margin-bottom: 24px;
}

.bt-section-header h2 {
  margin: 4px 0 8px;
  font-size: 1.6rem;
}

.bt-section-header p {
  margin: 0;
  color: var(--bt-text-soft);
  font-size: 0.96rem;
}

.bt-section-body {
  max-width: 720px;
  color: var(--bt-text-soft);
  font-size: 0.96rem;
}

.bt-section-split .bt-section-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bt-strong {
  margin-top: 14px;
  color: var(--bt-text);
  font-weight: 500;
}

/* GRID & CARDS */

.bt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.bt-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.bt-card {
  background: radial-gradient(circle at top left, #111937, var(--bt-card));
  border-radius: var(--bt-radius-lg);
  border: 1px solid var(--bt-border);
  padding: 18px 18px 20px;
  box-shadow: var(--bt-shadow-soft);
}

.bt-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.bt-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--bt-text-soft);
}

/* STEPS */

.bt-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.bt-step {
  background: rgba(2, 5, 24, 0.9);
  border-radius: var(--bt-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 16px 18px;
}

.bt-step h3 {
  margin: 0 0 8px;
  font-size: 0.96rem;
}

.bt-step p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--bt-text-soft);
}

/* LISTS */

.bt-list {
  padding-left: 18px;
  margin: 8px 0;
  color: var(--bt-text-soft);
  font-size: 0.94rem;
}

.bt-list li {
  margin-bottom: 6px;
}

.bt-nowrap {
  white-space: nowrap;
}

/* CONTACT */

.bt-contact {
  padding-bottom: 56px;
}

.bt-contact-box {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: radial-gradient(circle at top left, #181f3e, #050819);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.8);
  padding: 22px 22px 24px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.bt-contact-copy h2 {
  margin: 0 0 10px;
}

.bt-contact-copy p {
  margin: 0;
  color: var(--bt-text-soft);
  font-size: 0.96rem;
}

.bt-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* FOOTER */

.bt-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 18px 24px 20px;
  background: #020414;
}

.bt-footer-inner {
  max-width: var(--bt-max-width);
  margin: 0 auto;
  font-size: 0.8rem;
  color: var(--bt-text-soft);
}

.bt-footer-note {
  margin-top: 6px;
  opacity: 0.8;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .bt-header-inner {
    padding-inline: 16px;
  }

  .bt-nav {
    display: none; /* later: mobile menu */
  }

  .bt-hero {
    padding-top: 56px;
  }

  .bt-hero-inner {
    flex-direction: column;
    text-align: left;
  }

  .bt-hero h1 {
    font-size: 2.3rem;
  }

  .bt-hero-visual {
    order: -1;
  }

  .bt-section {
    padding-inline: 16px;
  }

  .bt-contact-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .bt-contact-actions {
    width: 100%;
  }

  .bt-contact-actions .bt-btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

.bt-section,
.bt-hero {
  scroll-margin-top: 80px; /* roughly header height */
}
.bt-brand-T {
  color: var(--bt-accent);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-shadow: 0 0 6px rgba(255, 75, 92, 0.6);
}

.bt-verify-section{padding:80px 0}
.bt-verify-form{margin-top:24px;margin-bottom:32px;display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end}
.bt-verify-form .bt-form-row{flex:1 1 260px;display:flex;flex-direction:column;gap:8px}
.bt-verify-result{margin-top:24px;padding:20px 24px;border-radius:16px;background:rgba(15,23,42,0.85);box-shadow:0 18px 45px rgba(15,23,42,0.7)}
.bt-verify-result--valid{border:1px solid rgba(74,222,128,0.5)}
.bt-verify-result--error{border:1px solid rgba(248,113,113,0.5)}
.bt-verify-code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;margin-bottom:8px}
.bt-verify-footnote{margin-top:12px;font-size:12px;opacity:0.75}

/* ===== Saasha – base container (fixed bottom-right) ===== */
.saasha-widget{position:fixed;right:24px;bottom:24px;z-index:9999;display:flex;flex-direction:column;align-items:flex-end;gap:8px;pointer-events:auto}

/* ===== Toggle button ===== */
.saasha-toggle-btn{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;border:0.6px solid rgba(248, 90, 90, 0.412);cursor:pointer;background:linear-gradient(135deg,#223254,#0a1018);box-shadow:0 8px 20px rgba(0,0,0,0.45);color:#f5f5ff;font-size:12px;line-height:1.2}
.saasha-toggle-avatar{width:38px;height:38px;border-radius:999px;display:flex;align-items:center;justify-content:center;background:#050816;border:0.8px solid rgba(248, 90, 90, 0.412);overflow:hidden;position:relative}
.saasha-logo{position:relative;overflow:hidden}
.saasha-toggle-logo{width:32px;height:32px;object-fit:contain;display:block;position:relative;z-index:9}
.saasha-beam{position:absolute;top:-30%;left:-80%;width:60%;height:160%;background:linear-gradient(120deg,transparent,rgba(248,113,113,0.9),transparent);opacity:.8;transform:skewX(-10deg);pointer-events:none;animation:saashaBeamSweep 3s infinite;z-index:2}
@keyframes saashaBeamSweep{0%{left:-80%;opacity:0}20%{opacity:.8}50%{left:120%;opacity:.7}100%{left:140%;opacity:0}}
.saasha-toggle-text{display:flex;flex-direction:column;text-align:left}
.saasha-toggle-title{font-weight:600;font-size:13px}
.saasha-toggle-subtitle{font-size:10.5px;opacity:0.8}

/* ===== Panel ===== */
.saasha-panel{display:none;width:320px;max-height:420px;border-radius:16px;background:radial-gradient(circle at top left,#2f3560,#0a0b16 60%);box-shadow:0 14px 40px rgba(0,0,0,0.65);overflow:hidden;color:#f5f5ff;border:1px solid rgba(148,163,255,0.25);backdrop-filter:blur(14px);flex-direction:column}
.saasha-panel.saasha-panel-open{display:flex}

/* ===== Header ===== */
.saasha-header{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid rgba(148,163,255,0.2);background:linear-gradient(135deg,rgba(15,23,42,0.95),rgba(30,64,175,0.6))}
.saasha-header-main{display:flex;flex-direction:column;gap:2px}
.saasha-title{font-size:13px;font-weight:600}
.saasha-mode-label{font-size:11px;color:#a5b4fc}
.saasha-close-btn{border:none;background:transparent;color:#e5e7eb;cursor:pointer;font-size:16px;line-height:1}

/* ===== Messages ===== */
.saasha-messages{flex:1;padding:10px 10px 8px;overflow-y:auto;display:flex;flex-direction:column;gap:6px;font-size:12px}
.saasha-messages::-webkit-scrollbar{width:6px}
.saasha-messages::-webkit-scrollbar-thumb{background:rgba(148,163,255,0.4);border-radius:999px}

/* bubbles */
.saasha-bubble{max-width:85%;padding:6px 9px;border-radius:12px;line-height:1.4}
.saasha-bubble-user{margin-left:auto;background:linear-gradient(135deg,#6366f1,#a855f7);color:#f9fafb;border-bottom-right-radius:4px}
.saasha-bubble-saasha{margin-right:auto;background:rgba(15,23,42,0.9);border-bottom-left-radius:4px;border:1px solid rgba(148,163,255,0.35)}

/* ===== Input row ===== */
.saasha-input-row{display:flex;align-items:center;gap:6px;padding:8px 8px 10px;border-top:1px solid rgba(148,163,255,0.2);background:rgba(15,23,42,0.95)}
.saasha-input{flex:1;border-radius:999px;border:1px solid rgba(148,163,255,0.4);background:rgba(15,23,42,0.9);color:#e5e7eb;font-size:12px;padding:6px 10px;outline:none}
.saasha-input::placeholder{color:rgba(148,163,255,0.7)}
.saasha-send-btn{border:none;border-radius:999px;padding:6px 10px;font-size:12px;cursor:pointer;background:linear-gradient(135deg,#4f46e5,#8b5cf6);color:#f9fafb}

/* ===== Loading state (optional) ===== */
.saasha-widget.saasha-loading .saasha-panel{opacity:0.8}

/* Breadcrumb + table links for admin consoles */
.admin-breadcrumb a,
.admin-table a,
.admin-link {
  color: #c4b5fd;
  text-decoration: none;
  font-weight: 500;
  text-shadow: 0 0 6px rgba(148, 163, 255, 0.6);
}

.admin-link-strong {
  color: #e5e7ff;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 0 8px rgba(148, 163, 255, 0.8);
}

.admin-breadcrumb a:hover,
.admin-table a:hover,
.admin-link:hover,
.admin-link-strong:hover {
  color: #e5e7ff;
  text-decoration: underline;
  text-shadow: 0 0 8px rgba(192, 132, 252, 0.8);
}

.public-toast {
  background: rgba(34, 197, 94, 0.12);
  color: #bbf7d0;
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 12px;
  padding: 10px 12px;
  margin: 0 0 8px 0;
  transition: opacity 0.4s ease;
}

@keyframes flashGreen {
  0% { box-shadow: 0 0 0px rgba(74, 222, 128, 0.5); }
  50% { box-shadow: 0 0 12px rgba(74, 222, 128, 0.85); }
  100% { box-shadow: 0 0 0px rgba(74, 222, 128, 0.5); }
}

.btn-flash-green {
  animation: flashGreen 1.4s ease-in-out infinite;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  color: #0b1c16;
}

.btn-flash-green:hover {
  color: #04100b;
}

.pill {
  display: inline-block;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}

.pill-new {
  background: #022c22;
  color: #bbf7d0;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.admin-highlight,
.admin-highlight-mono {
  color: #e5e7ff;
  font-weight: 600;
}

.admin-highlight-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.admin-status-active {
  color: #bbf7d0;
}

.admin-status-inactive,
.admin-status-deleted {
  color: #fecaca;
}

/* Admin form layout */
.admin-form .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-form .form-field {
  flex: 1 1 0;
  min-width: 180px;
}

.admin-form label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 4px;
  opacity: 0.9;
}

.admin-input,
.admin-select,
.admin-textarea,
.admin-form input[type="text"],
.admin-form input[type="email"],
.admin-form input[type="tel"],
.admin-form input[type="date"],
.admin-form input[type="number"],
.admin-form select,
.admin-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(circle at top left, rgba(148, 163, 253, 0.18), #020617);
  color: #f9fafb;
  padding: 10px 12px;
  font-size: 0.95rem;
  outline: none;
}

.admin-input:focus,
.admin-select:focus,
.admin-textarea:focus {
  border-color: rgba(129, 140, 248, 0.9);
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.6);
}

.admin-textarea {
  resize: vertical;
}

/* Promote placeholder button */
.admin-action-promote {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-promote-disabled {
  background: rgba(15, 23, 42, 0.6);
  color: rgba(226, 232, 240, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.btn-promote-disabled:hover {
  opacity: 0.5;
}

.admin-warning-title {
  color: #facc15;
  letter-spacing: 0.02em;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 0 0 6px rgba(250, 204, 21, 0.4);
}

/* Sticky header for HR job applications page */
body.bec-console-hr-job-applications .job-app-page-header,
body.bec-console-hr-applications .job-app-page-header {
  position: sticky;
  top: 90px; /* sits just below the fixed BEC header */
  z-index: 40;
  padding: 6px 0 8px;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

/* Keep the global BEC header fixed on application pages */
body.bec-console-hr-job-applications .admin-header,
body.bec-console-hr-applications .admin-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
}

/* Add top padding so content clears the fixed header */
body.bec-console-hr-job-applications .admin-main,
body.bec-console-hr-applications .admin-main {
  padding-top: 138px;
}

/* Keep the BEC header fixed across all console pages (non-HR apps get a lighter offset) */
body[class^="bec-console-"] .admin-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
}

body[class^="bec-console-"] .admin-main {
  padding-top: 118px;
}

/* HR job applications status tabs */
body#bec-console-hr-job-applications .job-app-status-tabs {
  display: flex;
  gap: 8px;
  margin: 12px 0 18px;
  flex-wrap: wrap;
}

body#bec-console-hr-job-applications .job-app-status-tabs .status-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid rgba(148,163,184,0.4);
  background: rgba(15,23,42,0.7);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

body#bec-console-hr-job-applications .job-app-status-tabs .status-chip--active {
  border-color: rgba(129,140,248,1);
  background: radial-gradient(circle at 0% 0%, rgba(79,70,229,0.9), rgba(15,23,42,0.95));
  color: #f9fafb;
}

/* HR jobs hub status pills */
body#bec-console-hr-jobs .job-status-hub {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin: 8px 0 4px;
}

body#bec-console-hr-jobs .job-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #e5e7eb;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

body#bec-console-hr-jobs .job-status-pill:hover {
  border-color: rgba(129, 140, 248, 0.9);
  transform: translateY(-1px);
  background: rgba(30, 41, 59, 0.95);
}

body#bec-console-hr-jobs .job-status-pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(129, 140, 248, 0.18);
  color: #c7d2fe;
  font-weight: 700;
  font-size: 12px;
}

body#bec-console-hr-jobs .job-status-pill-age {
  color: rgba(226, 232, 240, 0.75);
  font-size: 12px;
}

/* BEC console – darker/navy header nav (covers all BEC pages) */
body[id^="bec-console"] .admin-header .bt-nav a {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.9);   /* deep navy edge */
  color: #0f172a;                             /* navy text */
  background: rgba(15, 23, 42, 0.06);        /* soft navy pill */
  text-decoration: none;
}

/* Hover / focus */
body[id^="bec-console"] .admin-header .bt-nav a:hover {
  color: #e5e7eb;
  border-color: rgba(56, 189, 248, 0.9);
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.98),
    rgba(30, 64, 175, 0.96)
  );
}

/* Underline animation – keep, but use accent gradient */
body[id^="bec-console"] .admin-header .bt-nav a::after {
  background: linear-gradient(90deg, #38bdf8, #a855f7);
}

body[id^="bec-console"] .admin-header .bt-nav a.bt-nav-active {
  color: #e5e7eb;
  border-color: rgba(56, 189, 248, 0.9);
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.98),
    rgba(30, 64, 175, 0.96)
  );
}

.hr-status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.85rem;
}
.hr-status-chip {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.45);
  background: radial-gradient(circle at top left,
    rgba(148,163,184,0.18),
    rgba(15,23,42,0.9)
  );
  color: var(--bt-text-soft);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color 0.16s ease-out,
              background 0.16s ease-out,
              color 0.16s ease-out;
}
.hr-status-chip:hover {
  border-color: var(--bt-accent-soft);
  color: var(--bt-text);
}
.hr-status-count {
  font-variant-numeric: tabular-nums;
  opacity: 0.9;
}

.hr-status-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.hr-status-tab {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.4);
  color: var(--bt-text-soft);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.75);
  transition: border-color 0.16s ease-out,
              background 0.16s ease-out,
              color 0.16s ease-out;
}
.hr-status-tab:hover {
  border-color: var(--bt-accent-soft);
  color: var(--bt-text);
}
.hr-status-tab-active {
  border-color: var(--bt-accent-soft);
  color: var(--bt-text);
  background: linear-gradient(135deg, rgba(56,189,248,0.2), rgba(59,130,246,0.18));
}

.hr-status-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hr-status-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 500;
}
.hr-status-note-pill {
  margin-top: 4px;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(148,163,184,0.18);
  font-size: 0.75rem;
  color: var(--bt-text-soft);
}
.hr-status-change-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.hr-status-change-form select {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  color: var(--bt-text);
  font-size: 0.75rem;
}
.hr-status-note-form {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hr-status-note-form input {
  flex: 1;
  min-width: 0;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  font-size: 0.75rem;
  color: var(--bt-text);
}
.hr-status-note-form button,
.hr-status-change-form button {
  border-radius: 999px;
  border: none;
  padding: 3px 10px;
  font-size: 0.75rem;
  line-height: 1.1;
  min-height: 0;
  cursor: pointer;
  background: linear-gradient(90deg, var(--bt-accent-soft), var(--bt-accent));
  color: #0b1020;
}
.hr-app-focus {
  box-shadow: 0 0 0 1px var(--bt-accent-soft),
              0 0 18px rgba(56,189,248,0.45);
  transition: box-shadow 0.3s ease-out;
}

/* ==========================================================
   Launch polish (scoped) — NO class renames
   Targets:
   - Capabilities (#solutions)
   - How we work (#process)
   - Our product ecosystem (#ecosystem)
   ========================================================== */

/* Mobile reading flow */
@media (max-width: 768px) {
  main p,
  main li {
    line-height: 1.7;
    letter-spacing: 0.01em;
    text-wrap: pretty;
  }
}

/* Lists inside cards: tidy spacing (your new richer cards) */
.bt-card .bt-list {
  margin: 12px 0 0 0;
  padding-left: 18px;
}
.bt-card .bt-list li {
  margin: 6px 0;
}

/* --- Hover effects (ONLY the sections you asked) --- */
#solutions .bt-card,
#ecosystem .bt-card {
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  will-change: transform;
}
#solutions .bt-card:hover,
#ecosystem .bt-card:hover {
  transform: translateY(-16px);
  box-shadow: 0 10px 28px rgba(131, 130, 130, 0.272);
  filter: saturate(1.03);
}

/* How we work: step hover polish */
#process .bt-step {
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  will-change: transform;
}
#process .bt-step:hover {
  transform: translateY(-16px);
  box-shadow: 0 10px 28px rgba(131, 130, 130, 0.272);
  filter: saturate(1.03);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  #solutions .bt-card,
  #ecosystem .bt-card,
  #process .bt-step {
    transition: none !important;
  }
  #solutions .bt-card:hover,
  #ecosystem .bt-card:hover,
  #process .bt-step:hover {
    transform: none !important;
  }
}
