/* ═══════════════════════════════════════════════════════════════
   career.css — Teh Tarik Digital · Career Page
   Design-token–driven. Flat selectors. Zero !important. Zero
   magic numbers. Grid/Flex layout only.
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset ────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Design Tokens ────────────────────────────────────────────── */
:root {
  /* Brand colours */
  --brand-blue:       #2979ff;
  --brand-blue-dim:   #1a4fcc;
  --brand-orange:     #ff9f43;
  --brand-orange-dim: #e67e22;
  --brand-green:      #00e676;

  /* Semantic surface colours */
  --bg:               #05080f;
  --white:            #ffffff;
  --surface:          rgba(4, 8, 20, 0.5);
  --surface-input:    rgba(4, 8, 20, 0.8);

  /* Brand alpha ramps (blue) */
  --blue-a04:  rgba(41, 121, 255, 0.04);
  --blue-a05:  rgba(41, 121, 255, 0.05);
  --blue-a06:  rgba(41, 121, 255, 0.06);
  --blue-a08:  rgba(41, 121, 255, 0.08);
  --blue-a10:  rgba(41, 121, 255, 0.10);
  --blue-a15:  rgba(41, 121, 255, 0.15);
  --blue-a20:  rgba(41, 121, 255, 0.20);
  --blue-a032: rgba(41, 121, 255, 0.032);
  --blue-a40:  rgba(41, 121, 255, 0.40);

  /* Brand alpha ramps (orange) */
  --orange-a08: rgba(255, 159, 67, 0.08);
  --orange-a40: rgba(255, 159, 67, 0.40);

  /* Brand alpha ramps (green) */
  --green-a06:  rgba(0, 230, 118, 0.06);
  --green-a30:  rgba(0, 230, 118, 0.30);
  --green-a40:  rgba(0, 230, 118, 0.40);

  /* White alpha ramps */
  --white-a10:  rgba(255, 255, 255, 0.10);
  --white-a18:  rgba(255, 255, 255, 0.18);
  --white-a20:  rgba(255, 255, 255, 0.20);
  --white-a25:  rgba(255, 255, 255, 0.25);
  --white-a30:  rgba(255, 255, 255, 0.30);
  --white-a32:  rgba(255, 255, 255, 0.32);
  --white-a35:  rgba(255, 255, 255, 0.35);
  --white-a45:  rgba(255, 255, 255, 0.45);
  --white-a55:  rgba(255, 255, 255, 0.55);
  --white-a75:  rgba(255, 255, 255, 0.75);
  --white-a92:  rgba(5, 8, 15, 0.92);

  /* Typography */
  --font-mono:    'Share Tech Mono', monospace;
  --font-display: 'Orbitron', monospace;

  /* Layout */
  --page-w:    960px;
  --page-px:   40px;
  --section-py: 48px;
}

/* ── Base ─────────────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  font-family: var(--font-mono);
  color: var(--white);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Grid overlay texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--blue-a032) 1px, transparent 1px),
    linear-gradient(90deg, var(--blue-a032) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ── Nav — TTD Standard (matches services.css) ───────────────── */

:root {
  --brand-gold:        #c8922a;
  --brand-gold-dim:    rgba(200,146,42,0.15);
  --brand-gold-border: rgba(200,146,42,0.35);
  --grid-line:         rgba(41, 121, 255, 0.032);
  --text-faint:        rgba(255, 255, 255, 0.25);
  --text-muted:        rgba(255, 255, 255, 0.65);
  --text-footer-link:  rgba(255, 255, 255, 0.35);
  --text-footer-active:rgba(255, 255, 255, 0.75);
}

.nav {
  position:         sticky;
  top:              0;
  z-index:          100;
  display:          flex;
  align-items:      center;
  justify-content:  space-between;
  padding:          0 var(--page-px);
  height:           64px;
  background-color: rgba(5, 8, 15, 0.96);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size:  48px 48px;
  backdrop-filter:  blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom:    none;
}

.nav-logo {
  display:         flex;
  align-items:     center;
  text-decoration: none;
  flex-shrink:     0;
}

.nav-logo img {
  width:      150px;
  height:     52px;
  object-fit: contain;
  display:    block;
}

.nav-right {
  display:     flex;
  align-items: center;
  gap:         32px;
}

.nav-links {
  display:     flex;
  align-items: center;
  gap:         28px;
  list-style:  none;
}

.nav-links a {
  font-family:     var(--font-mono);
  font-size:       10px;
  letter-spacing:  2.5px;
  text-transform:  uppercase;
  color:           var(--white-a45);
  text-decoration: none;
  transition:      color 0.2s;
  white-space:     nowrap;
}

.nav-links a:hover { color: var(--white); }

.nav-links a.nav-alliance {
  color:          var(--brand-gold);
  letter-spacing: 2px;
}
.nav-links a.nav-alliance:hover { color: #e8b040; }

.nav-sep {
  display:       block;
  width:         3px;
  height:        3px;
  background:    rgba(255,255,255,0.18);
  border-radius: 50%;
  flex-shrink:   0;
}

.nav-lang {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.lang-divider {
  width: 1px;
  height: 10px;
  background: rgba(255, 255, 255, 0.15);
  display: inline-block;
  margin: 0 2px;
}

.lang-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  padding: 4px 8px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.2s ease;
  position: relative;
}

.lang-btn:hover {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.lang-btn.active {
  color: var(--brand-blue);
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
  font-weight: 600;
}

.lang-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  background-color: var(--brand-blue);
  border-radius: 50%;
  box-shadow: 0 0 6px #00d2ff;
}

/* ── Hero ─────────────────────────────────────────────────────── */

/* Outer wrapper — full bleed, clipped, houses canvas overflow */
.hero-shell {
  position: relative;
  z-index: 1;
  overflow: hidden;             /* clips globe edge bleed */
}

/* Canvas — absolutely fills shell; globe can bleed top/right */
.hero-globe-canvas {
  position: absolute;
  top:    0;
  right: -20%;                 /* slight right bleed */
  width:  62%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

/* Inner constrained content column */
.hero {
  position: relative;
  z-index: 2;
  padding: 80px var(--page-px) 48px;
  max-width: var(--page-w);
  margin: 0 auto;
  /* text occupies left ~55% naturally; globe fills the right */
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-tag {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--white-a32);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.page-tag span { color: var(--brand-blue); }

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 15px;
  line-height: 1.8;
  color: var(--white-a55);
  max-width: 560px;
}

/* ── Perks Row ────────────────────────────────────────────────── */
.perks-row {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.perk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--blue-a20);
  background: var(--blue-a06);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white-a45);
}

.perk i { color: var(--brand-blue); font-size: 11px; }

/* ── Section Shell ────────────────────────────────────────────── */
.section {
  position: relative;
  z-index: 1;
  max-width: var(--page-w);
  margin: 0 auto;
  padding: var(--section-py) var(--page-px);
  /*border-top: 1px solid var(--blue-a10);*/
}

.section-tag {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--brand-blue);
  text-transform: uppercase;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-tag::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--blue-a20);
}

/* ── Roles Grid ───────────────────────────────────────────────── */
.roles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.roles-col-title {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--white-a25);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--blue-a10);
}

/* ── Role Card ────────────────────────────────────────────────── */
.role-card {
  border: 1px solid var(--blue-a15);
  background: var(--surface);
  padding: 20px;
  margin-bottom: 12px;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}

.role-card:last-child { margin-bottom: 0; }

/* Accent left-bar */
.role-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--brand-blue);
  opacity: 0;
  transition: opacity 0.2s;
}

.role-card:hover {
  border-color: var(--blue-a40);
  background: var(--blue-a05);
}

.role-card:hover::before { opacity: 1; }

/* ── Role Card Internals ──────────────────────────────────────── */
.role-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.role-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.3;
}

.role-badge {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid;
  white-space: nowrap;
  flex-shrink: 0;
}

.role-badge--eng    { color: var(--brand-blue);   border-color: var(--blue-a40);   background: var(--blue-a08); }
.role-badge--ops    { color: var(--brand-orange);  border-color: var(--orange-a40); background: var(--orange-a08); }
.role-badge--design { color: var(--brand-green);   border-color: var(--green-a40);  background: rgba(0, 230, 118, 0.08); }

.role-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--white-a45);
  margin-bottom: 14px;
}

.role-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.role-tag {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white-a30);
  padding: 3px 8px;
  border: 1px solid var(--white-a10);
}

.role-apply {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-blue);
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
}

.role-apply:hover {
  color: var(--brand-orange);
  gap: 10px;
}

/* ── Form Section ─────────────────────────────────────────────── */
.form-section {
  position: relative;
  z-index: 1;
  max-width: var(--page-w);
  margin: 0 auto;
  padding: var(--section-py) var(--page-px);
  /*border-top: 1px solid var(--blue-a10);*/
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group--full { grid-column: 1 / -1; }

.form-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white-a35);
}

.form-label span { color: var(--brand-orange); }

.form-input,
.form-select,
.form-textarea {
  background: var(--surface-input);
  border: 1px solid var(--blue-a20);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 15px;
  padding: 12px 16px;
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s, background 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--brand-blue);
  background: var(--blue-a05);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--white-a18);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232979ff' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-select option {
  background: var(--bg);
  color: var(--white);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.7;
}

/* ── Upload Zone ──────────────────────────────────────────────── */
.upload-zone {
  border: 1px dashed rgba(41, 121, 255, 0.3);
  background: var(--surface);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--brand-blue);
  background: var(--blue-a06);
}

.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.upload-icon {
  font-size: 24px;
  color: var(--blue-a40);
  margin-bottom: 12px;
}

.upload-label {
  font-size: 11px;
  color: var(--white-a45);
  letter-spacing: 1px;
}

.upload-label span { color: var(--brand-blue); }

.upload-hint {
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--white-a20);
  margin-top: 6px;
  text-transform: uppercase;
}

.upload-filename {
  display: none;
  font-size: 11px;
  color: var(--brand-green);
  margin-top: 10px;
}

/* ── Submit Button ────────────────────────────────────────────── */
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--brand-orange);
  border: none;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s, transform 0.15s;
}

.btn-submit:hover {
  background: var(--brand-orange-dim);
  transform: translateY(-1px);
}

.btn-submit:active { transform: translateY(0); }

.form-note {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--white-a20);
  margin-top: 16px;
  line-height: 1.7;
  text-transform: uppercase;
}

/* ── Form Success State ───────────────────────────────────────── */
.form-success {
  display: none;
  margin-top: 20px;
  padding: 16px 20px;
  border: 1px solid var(--green-a30);
  background: var(--green-a06);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--brand-green);
}

/* ── Footer — TTD Standard (matches services.css) ────────────── */
.site-footer {
  position:   relative;
  z-index:    1;
  background: var(--surface);
  border-top: 1px solid var(--blue-a10);
}

.footer-main {
  max-width: 1200px;
  margin:    0 auto;
  padding:   56px 10px 48px;
  display:   grid;
  grid-template-columns: 1.9fr 1.1fr 1.1fr 0.85fr 1.35fr;
  gap: 40px clamp(20px, 2.5vw, 30px);
  align-items: start;
}

.footer-col-label {
  font-family:    var(--font-mono);
  font-size:      11px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color:          var(--brand-gold);
  margin-bottom:  20px;
  display:        flex;
  align-items:    center;
  gap:            10px;
}

.footer-col-label::after {
  content:    '';
  flex:       1;
  height:     1px;
  background: var(--brand-gold-border);
  opacity:    0.5;
}

.footer-col-label--gap { margin-top: 24px; }

.footer-brand {
  display:        flex;
  flex-direction: column;
  gap:            0;
}

.footer-logo-row {
  display:       flex;
  align-items:   flex-end;
  gap:           10px;
  margin-bottom: 12px;
}

.footer-logo-row .footer-logo {
  margin-bottom: 0;
  flex-shrink:   0;
}

.footer-reg-block {
  display:        flex;
  flex-direction: column;
  gap:            2px;
  padding-bottom: 6px;
}

.footer-reg-block .footer-reg {
  margin-bottom:  0;
  line-height:    1.4;
  font-family:    var(--font-mono);
  font-size:      9px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color:          var(--text-faint);
}

.footer-logo {
  display:         block;
  text-decoration: none;
  margin-bottom:   12px;
}

.footer-logo img {
  width:      150px;
  height:     52px;
  object-fit: contain;
  display:    block;
}

.footer-tagline {
  font-family:    var(--font-mono);
  font-size:      11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color:          var(--white-a25);
  margin-bottom:  16px;
}

.footer-brand-desc {
  font-family:   var(--font-mono);
  font-size:     13px;
  line-height:   1.9;
  color:         var(--text-muted);
  margin-bottom: 24px;
  max-width:     360px;
}

.footer-badges {
  display:     flex;
  gap:         17px;
  flex-wrap:   nowrap;
  align-items: center;
}

.compliance-badge {
  width:      42px;
  height:     42px;
  flex-shrink:0;
  opacity:    0.7;
  transition: opacity 0.2s;
}

.compliance-badge:hover { opacity: 1; }

.footer-nav-list {
  list-style:     none;
  display:        flex;
  flex-direction: column;
  gap:            11px;
}

.footer-nav-list a {
  font-family:     var(--font-mono);
  font-size:       13px;
  letter-spacing:  1px;
  color:           var(--text-footer-link);
  text-decoration: none;
  transition:      color 0.2s;
  display:         inline-flex;
  align-items:     center;
  gap:             8px;
}

.footer-nav-list a:hover { color: rgba(255,255,255,0.85); }

.ai-tag {
  display:        inline-flex;
  align-items:    center;
  padding:        3px 8px;
  font-family:    var(--font-mono);
  font-size:      11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color:          var(--brand-gold);
  border:         1px solid var(--brand-gold-border);
  background:     var(--brand-gold-dim);
  line-height:    1;
}

.footer-reach {
  display:        flex;
  flex-direction: column;
}

.footer-contact-list {
  list-style:     none;
  display:        flex;
  flex-direction: column;
  gap:            10px;
}

.footer-contact-list li {
  display:     flex;
  align-items: flex-start;
  gap:         10px;
}

.contact-icon {
  font-size:   13px;
  color:       rgba(41, 121, 255, 0.55);
  margin-top:  1px;
  flex-shrink: 0;
  width:       14px;
  text-align:  center;
}

.contact-text {
  font-family: var(--font-mono);
  font-size:   13px;
  line-height: 1.65;
  color:       rgba(255,255,255,0.40);
  transition:  color 0.2s;
}

.footer-contact-list li:hover .contact-text { color: rgba(255,255,255,0.7); }

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

/* ── Footer social icons ──────────────────────────────── */
.footer-social-row {
  display:     flex;
  align-items: center;
  gap:         18px;
  margin-top:  20px;
}

.footer-social-icon {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  font-size:       15px;
  color:           rgba(255, 255, 255, 0.30);
  text-decoration: none;
  transition:      color 0.2s;
  line-height:     1;
}

.footer-social-icon:hover {
  color: rgba(255, 255, 255, 0.80);
}

.cb-badge {
  font-family:    'Orbitron', sans-serif;
  font-weight:    700;
  font-size:      11px;
  letter-spacing: 0.5px;
  line-height:    1;
  user-select:    none;
}

.footer-bottom {
  border-top: 1px solid rgba(41, 121, 255, 0.08);
  background: rgba(3, 5, 10, 0.55);
}

.footer-bottom-inner {
  max-width:       1200px;
  margin:          0 auto;
  padding:         16px 10px;
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  gap:             16px;
  flex-wrap:       wrap;
}

.footer-copy {
  font-size:      11px;
  letter-spacing: 1.8px;
  color:          var(--white-a25);
  text-transform: uppercase;
}

.footer-legal-links {
  display:     flex;
  align-items: center;
  gap:         0;
  list-style:  none;
}

.footer-legal-links li { display: flex; align-items: center; }

.footer-legal-links a {
  font-size:       11px;
  letter-spacing:  1.8px;
  text-transform:  uppercase;
  color:           var(--white-a25);
  text-decoration: none;
  transition:      color 0.2s;
  padding:         0 14px;
}

.footer-legal-links a:hover { color: var(--brand-blue); }

.footer-legal-links li + li::before {
  content: '·';
  color:   rgba(255,255,255,0.10);
}

/* Footer responsive */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    padding: 40px 20px 32px;
  }
  .footer-brand { grid-column: 1 / -1; }
}

/* ── Fade-in Animation ────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --page-px:    20px;
    --section-py: 28px;
  }

  .nav-links { gap: 16px; }
  .hero      { padding: 32px var(--page-px) 32px; min-height: 360px; }
  .hero-globe-canvas { width: 100%; height: 50%; top: auto; bottom: -8%; right: -5%; opacity: 0.55; }
  .roles-grid { grid-template-columns: 1fr; }
  .form-grid  { grid-template-columns: 1fr; }
  .form-group--full { grid-column: 1; }
}

@media (max-width: 480px) {
  .nav-links  { display: none; }
  .perks-row  { gap: 8px; }
}

/* ── reCAPTCHA + Submit row ───────────────────────────────────
   Appended Packet 04 — layout for recaptcha-career + btn-submit
   ──────────────────────────────────────────────────────────── */
.recaptcha-wrap {
  margin-top: 28px;
}

#recaptcha-career {
  display: inline-block;
}

/* Row: recaptcha left, button right, aligned center, gap above */
.hub-recaptcha-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Override btn-submit margin when inside the row */
.hub-recaptcha-row .btn-submit {
  margin-top: 0;
  flex-shrink: 0;
}

/* ── Transmitting animated dots ───────────────────────────────
   Appended Packet 04 — loading state on form submit
   ──────────────────────────────────────────────────────────── */
.transmit-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  vertical-align: middle;
}

.transmit-dots span {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  animation: dot-wave 1.2s ease-in-out infinite;
  opacity: 0.4;
}

.transmit-dots span:nth-child(1) { animation-delay: 0s; }
.transmit-dots span:nth-child(2) { animation-delay: 0.2s; }
.transmit-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dot-wave {
  0%, 100% { transform: translateY(0);   opacity: 0.4; }
  50%       { transform: translateY(-4px); opacity: 1;   }
}
