/* ============================================================
   Bert - Credential Stuffing Template Styles
   Pixel-perfect port. Scoped under .bert-page-credential-stuffing
   ============================================================ */

.bert-page-credential-stuffing,
.bert-page-credential-stuffing *,
.bert-page-credential-stuffing *::before,
.bert-page-credential-stuffing *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.bert-page-credential-stuffing {
  --bg: #06040e;
  --surface: #0a0716;
  --card: #0d091c;
  --card2: #130d26;
  --border: #1a1030;
  --border2: #251848;
  --violet: #c77dff;
  --violet2: #9d4edd;
  --violet3: #e0aaff;
  --mint: #06d6a0;
  --mint2: #04a87e;
  --red: #ef233c;
  --red2: #ff4d63;
  --amber: #ffd166;
  --steel: #8ecae6;
  --steel2: #adb5bd;
  --white: #f0ecff;
  --text: #d8d0f0;
  --text-mid: #6a5f90;
  --text-dim: #1e1638;
  --mono: 'Fira Code', monospace;
  --display: 'Teko', sans-serif;
  --body: 'Barlow', sans-serif;

  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  word-wrap: break-word;
}

/* Diagonal stripe texture */
.bert-page-credential-stuffing::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: repeating-linear-gradient(-55deg, transparent 0px, transparent 48px,
      rgba(157, 78, 221, .018) 48px, rgba(157, 78, 221, .018) 49px);
  pointer-events: none;
  z-index: 0;
}

/* Atmospheric glow */
.bert-page-credential-stuffing::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 10%, rgba(199, 125, 255, .07) 0%, transparent 40%),
    radial-gradient(ellipse at 85% 90%, rgba(6, 214, 160, .04) 0%, transparent 35%);
  pointer-events: none;
  z-index: 0;
}

/* ── PROGRESS BAR ── */
#prog {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet2), var(--violet), var(--violet3));
  box-shadow: 0 0 14px rgba(199, 125, 255, .6), 0 0 28px rgba(199, 125, 255, .2);
  transition: width .4s cubic-bezier(.4, 0, .2, 1);
  z-index: 1000;
}

.bert-page-credential-stuffing .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* ── BREACH BANNER ── */
.bert-page-credential-stuffing .breach-banner {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0;
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: stretch;
}

.bert-page-credential-stuffing .bb-label {
  display: flex;
  align-items: center;
  padding: 0 18px 0 18px;
  padding-right: 28px;
  background: var(--violet2);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .12em;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
}

.bert-page-credential-stuffing .bb-scroll {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
}

.bert-page-credential-stuffing .bb-scroll::before,
.bert-page-credential-stuffing .bb-scroll::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50px;
  z-index: 2;
}

.bert-page-credential-stuffing .bb-scroll::before {
  left: 0;
  background: linear-gradient(90deg, var(--surface), transparent);
}

.bert-page-credential-stuffing .bb-scroll::after {
  right: 0;
  background: linear-gradient(-90deg, var(--surface), transparent);
}

.bert-page-credential-stuffing .bb-inner {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: cs-scroll-breach 30s linear infinite;
  font-family: var(--mono);
  font-size: 10.5px;
}

@keyframes cs-scroll-breach {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

.bert-page-credential-stuffing .bb-item {
  padding: 0 24px;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
}

.bert-page-credential-stuffing .bb-item .bi-src {
  color: var(--text-mid);
  letter-spacing: .08em;
}

.bert-page-credential-stuffing .bb-item .bi-count {
  color: var(--violet);
  font-weight: 700;
}

.bert-page-credential-stuffing .bb-item .bi-sep {
  color: var(--text-dim);
}

.bert-page-credential-stuffing .bb-item.live .bi-count {
  color: var(--red2);
  animation: cs-count-pulse 1.2s ease-in-out infinite;
}

@keyframes cs-count-pulse {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .5
  }
}

/* ── HEADER ── */
.bert-page-credential-stuffing header {
  padding: 52px 0 40px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.bert-page-credential-stuffing .cred-rain {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  overflow: hidden;
  opacity: .06;
  pointer-events: none;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.9;
  color: var(--violet3);
}

.bert-page-credential-stuffing .rain-col {
  position: absolute;
  top: -100%;
  display: flex;
  flex-direction: column;
  animation: cs-rain-fall linear infinite;
}

.bert-page-credential-stuffing .rain-col:nth-child(1) {
  left: 10px;
  animation-duration: 8s;
  animation-delay: 0s;
}

.bert-page-credential-stuffing .rain-col:nth-child(2) {
  left: 85px;
  animation-duration: 11s;
  animation-delay: -3s;
}

.bert-page-credential-stuffing .rain-col:nth-child(3) {
  left: 160px;
  animation-duration: 9s;
  animation-delay: -1s;
}

.bert-page-credential-stuffing .rain-col:nth-child(4) {
  left: 240px;
  animation-duration: 13s;
  animation-delay: -5s;
}

.bert-page-credential-stuffing .rain-col:nth-child(5) {
  left: 320px;
  animation-duration: 10s;
  animation-delay: -2s;
}

@keyframes cs-rain-fall {
  from {
    top: -100%
  }

  to {
    top: 110%
  }
}

.bert-page-credential-stuffing .h-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .35em;
  color: var(--violet2);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.bert-page-credential-stuffing .ey-tag {
  background: rgba(157, 78, 221, .15);
  border: 1px solid var(--violet2);
  padding: 2px 10px;
  font-size: 9px;
  color: var(--violet);
}

.bert-page-credential-stuffing h1 {
  font-family: var(--display);
  font-size: clamp(52px, 9vw, 108px);
  font-weight: 700;
  line-height: .88;
  letter-spacing: .03em;
  color: var(--white);
}

.bert-page-credential-stuffing h1 .accent {
  display: block;
  color: var(--violet);
  text-shadow: 0 0 40px rgba(199, 125, 255, .45), 0 0 80px rgba(199, 125, 255, .15);
}

.bert-page-credential-stuffing h1 .underline-bar {
  display: block;
  height: 4px;
  margin-top: 10px;
  width: 100%;
  background: linear-gradient(90deg, var(--violet), var(--violet2), transparent);
  animation: cs-bar-pulse 3s ease-in-out infinite;
}

@keyframes cs-bar-pulse {

  0%,
  100% {
    opacity: .7
  }

  50% {
    opacity: 1;
    box-shadow: 0 0 20px var(--violet2)
  }
}

.bert-page-credential-stuffing h1 .sub-line {
  display: block;
  font-family: var(--body);
  font-size: .28em;
  font-weight: 400;
  letter-spacing: .06em;
  color: var(--text-mid);
  margin-top: 14px;
}

.bert-page-credential-stuffing .h-desc {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 640px;
  margin-top: 20px;
  font-weight: 400;
  line-height: 1.8;
}

.bert-page-credential-stuffing .scale-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 8px 18px;
  background: rgba(239, 35, 60, .08);
  border: 1px solid rgba(239, 35, 60, .35);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--red2);
  letter-spacing: .18em;
}

.bert-page-credential-stuffing .scale-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red2);
  box-shadow: 0 0 8px var(--red2);
  animation: cs-count-pulse 1s step-end infinite;
}

/* ── STATS ── */
.bert-page-credential-stuffing .stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 40px;
}

.bert-page-credential-stuffing .s-cell {
  background: var(--card);
  padding: 22px 18px;
  position: relative;
  overflow: hidden;
  transition: background .2s;
}

.bert-page-credential-stuffing .s-cell:hover {
  background: var(--card2);
}

.bert-page-credential-stuffing .s-cell::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
}

.bert-page-credential-stuffing .s-cell:nth-child(1)::after {
  background: var(--violet);
}

.bert-page-credential-stuffing .s-cell:nth-child(2)::after {
  background: var(--red2);
}

.bert-page-credential-stuffing .s-cell:nth-child(3)::after {
  background: var(--mint);
}

.bert-page-credential-stuffing .s-cell:nth-child(4)::after {
  background: var(--amber);
}

.bert-page-credential-stuffing .sl {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .3em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.bert-page-credential-stuffing .sv {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1;
}

.bert-page-credential-stuffing .s-cell:nth-child(1) .sv {
  color: var(--violet);
}

.bert-page-credential-stuffing .s-cell:nth-child(2) .sv {
  color: var(--red2);
}

.bert-page-credential-stuffing .s-cell:nth-child(3) .sv {
  color: var(--mint);
}

.bert-page-credential-stuffing .s-cell:nth-child(4) .sv {
  color: var(--amber);
}

.bert-page-credential-stuffing .sd {
  font-size: 12px;
  color: var(--text-mid);
  font-weight: 400;
  line-height: 1.5;
}

/* ── SECTION HEADER ── */
.bert-page-credential-stuffing .sec {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 52px;
  margin-bottom: 26px;
}

.bert-page-credential-stuffing .sn {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--violet);
  opacity: .5;
}

.bert-page-credential-stuffing .st {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--white);
  text-transform: uppercase;
}

.bert-page-credential-stuffing .sr {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border2) 0%, transparent 100%);
}

/* ── STUFFING CONSOLE ── */
.bert-page-credential-stuffing .stuffing-console {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 52px;
}

.bert-page-credential-stuffing .sc-left {
  background: var(--card);
  padding: 28px;
}

.bert-page-credential-stuffing .sc-right {
  background: var(--surface);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bert-page-credential-stuffing .sc-title {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 5px;
}

.bert-page-credential-stuffing .sc-sub {
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 18px;
  line-height: 1.6;
}

.bert-page-credential-stuffing .cred-list-wrap {
  background: #040210;
  border: 1px solid var(--border);
  height: 240px;
  overflow: hidden;
  position: relative;
}

.bert-page-credential-stuffing .cred-list-wrap::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(transparent, #040210);
  z-index: 2;
  pointer-events: none;
}

.bert-page-credential-stuffing .cred-list-wrap::after {
  content: 'COMBO LIST';
  position: absolute;
  top: 8px;
  right: 10px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .2em;
  color: var(--text-dim);
  z-index: 3;
}

.bert-page-credential-stuffing .cred-list {
  padding: 10px 14px;
  animation: cs-list-scroll 18s linear infinite;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 2.1;
}

@keyframes cs-list-scroll {
  from {
    transform: translateY(0)
  }

  to {
    transform: translateY(-60%)
  }
}

.bert-page-credential-stuffing .cred-row {
  display: flex;
  gap: 8px;
}

.bert-page-credential-stuffing .cr-user {
  color: var(--steel2);
  min-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bert-page-credential-stuffing .cr-pass {
  color: var(--violet3);
}

.bert-page-credential-stuffing .cr-sep {
  color: var(--text-dim);
}

.bert-page-credential-stuffing .counter-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
  margin-top: 14px;
}

.bert-page-credential-stuffing .ctr {
  background: var(--card2);
  padding: 14px 16px;
  text-align: center;
}

.bert-page-credential-stuffing .ctr-lbl {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .25em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.bert-page-credential-stuffing .ctr-val {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .04em;
}

.bert-page-credential-stuffing .ctr.tried .ctr-val {
  color: var(--violet3);
}

.bert-page-credential-stuffing .ctr.hit .ctr-val {
  color: var(--mint);
}

.bert-page-credential-stuffing .ctr.failed .ctr-val {
  color: var(--red2);
}

.bert-page-credential-stuffing .rate-bar-wrap {
  margin-top: 14px;
}

.bert-page-credential-stuffing .rb-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.bert-page-credential-stuffing .rb-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .2em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.bert-page-credential-stuffing .rb-val {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--violet);
}

.bert-page-credential-stuffing .rate-bar {
  height: 8px;
  background: var(--border);
  border-radius: 1px;
  overflow: hidden;
}

.bert-page-credential-stuffing .rate-fill {
  height: 100%;
  border-radius: 1px;
  animation: cs-rate-anim 2.5s ease-in-out infinite;
}

.bert-page-credential-stuffing .rate-fill.v {
  background: var(--violet);
  animation-delay: 0s;
}

.bert-page-credential-stuffing .rate-fill.m {
  background: var(--mint);
  animation-delay: .3s;
}

.bert-page-credential-stuffing .rate-fill.r {
  background: var(--red2);
  animation-delay: .6s;
}

@keyframes cs-rate-anim {
  0% {
    width: 85%
  }

  30% {
    width: 92%
  }

  60% {
    width: 78%
  }

  100% {
    width: 85%
  }
}

.bert-page-credential-stuffing .proxy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.bert-page-credential-stuffing .proxy-dot {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 8px 6px;
  text-align: center;
  font-family: var(--mono);
  font-size: 9px;
  transition: all .3s;
}

.bert-page-credential-stuffing .proxy-dot .pd-flag {
  font-size: 16px;
  display: block;
  margin-bottom: 4px;
}

.bert-page-credential-stuffing .proxy-dot .pd-ip {
  color: var(--text-dim);
  font-size: 8px;
}

.bert-page-credential-stuffing .proxy-dot .pd-status {
  font-size: 7px;
  letter-spacing: .1em;
  margin-top: 3px;
}

.bert-page-credential-stuffing .proxy-dot.active {
  border-color: var(--violet2);
  background: rgba(157, 78, 221, .1);
}

.bert-page-credential-stuffing .proxy-dot.active .pd-status {
  color: var(--violet);
}

.bert-page-credential-stuffing .proxy-dot.used {
  border-color: var(--border);
  opacity: .3;
}

.bert-page-credential-stuffing .proxy-dot.used .pd-status {
  color: var(--text-dim);
}

.bert-page-credential-stuffing .proxy-dot.fresh .pd-status {
  color: var(--mint);
}

/* ── PIPELINE ── */
.bert-page-credential-stuffing .pipeline {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 36px 28px;
  margin-bottom: 52px;
  position: relative;
  overflow: hidden;
}

.bert-page-credential-stuffing .pipeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--violet), transparent);
}

.bert-page-credential-stuffing .pipe-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .3em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.bert-page-credential-stuffing .pipe-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  position: relative;
}

.bert-page-credential-stuffing .pipe-step {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 20px 16px;
  position: relative;
  transition: background .2s;
  cursor: default;
}

.bert-page-credential-stuffing .pipe-step:hover {
  background: var(--card2);
}

.bert-page-credential-stuffing .pipe-step+.pipe-step {
  border-left: none;
}

.bert-page-credential-stuffing .pipe-step::after {
  content: '▶';
  position: absolute;
  right: -11px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--violet2);
  z-index: 2;
  text-shadow: 0 0 8px rgba(157, 78, 221, .6);
}

.bert-page-credential-stuffing .pipe-step:last-child::after {
  display: none;
}

.bert-page-credential-stuffing .ps-num {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .2em;
  color: var(--violet2);
  margin-bottom: 10px;
}

.bert-page-credential-stuffing .ps-icon {
  font-size: 28px;
  margin-bottom: 10px;
  display: block;
}

.bert-page-credential-stuffing .ps-title {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.bert-page-credential-stuffing .ps-desc {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.6;
}

.bert-page-credential-stuffing .ps-count {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  color: var(--violet3);
  margin-top: 10px;
}

/* ── VECTOR CARDS ── */
.bert-page-credential-stuffing .vector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 52px;
}

.bert-page-credential-stuffing .vc {
  background: var(--card);
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
  transition: background .2s;
}

.bert-page-credential-stuffing .vc:hover {
  background: var(--card2);
}

.bert-page-credential-stuffing .vc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
}

.bert-page-credential-stuffing .vc:nth-child(1)::before {
  background: var(--red2);
}

.bert-page-credential-stuffing .vc:nth-child(2)::before {
  background: var(--violet);
}

.bert-page-credential-stuffing .vc:nth-child(3)::before {
  background: var(--amber);
}

.bert-page-credential-stuffing .vc:nth-child(4)::before {
  background: var(--mint);
}

.bert-page-credential-stuffing .vc:nth-child(5)::before {
  background: var(--steel);
}

.bert-page-credential-stuffing .vc:nth-child(6)::before {
  background: var(--violet3);
}

.bert-page-credential-stuffing .vc-ico {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}

.bert-page-credential-stuffing .vc-name {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 5px;
}

.bert-page-credential-stuffing .vc-id {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .1em;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.bert-page-credential-stuffing .vc-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.65;
  font-weight: 400;
}

/* ── DIAGRAM ── */
.bert-page-credential-stuffing .diag {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 32px 16px 24px;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}

.bert-page-credential-stuffing .diag::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(157, 78, 221, .05) 0%, transparent 55%);
}

/* ── TABS ── */
.bert-page-credential-stuffing .tabs {
  display: flex;
  background: var(--border);
  border: 1px solid var(--border);
  gap: 1px;
  overflow-x: auto;
}

.bert-page-credential-stuffing .tab {
  flex: 1;
  min-width: 80px;
  background: var(--surface);
  border: none;
  cursor: pointer;
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  position: relative;
  transition: background .2s;
}

.bert-page-credential-stuffing .tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  transform: scaleX(0);
  transition: transform .25s;
}

.bert-page-credential-stuffing .tab.active {
  background: var(--card2);
}

.bert-page-credential-stuffing .tab.active::after {
  transform: scaleX(1);
  background: var(--violet);
  box-shadow: 0 0 10px rgba(199, 125, 255, .5);
}

.bert-page-credential-stuffing .tab.done::after {
  transform: scaleX(1);
  background: var(--mint);
}

.bert-page-credential-stuffing .tab .ti {
  font-size: 17px;
  filter: grayscale(1);
  opacity: .35;
  transition: all .2s;
}

.bert-page-credential-stuffing .tab.active .ti,
.bert-page-credential-stuffing .tab.done .ti {
  filter: none;
  opacity: 1;
}

.bert-page-credential-stuffing .tab .tn {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--text-dim);
  letter-spacing: .12em;
}

.bert-page-credential-stuffing .tab .tl {
  font-family: var(--body);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-dim);
  text-align: center;
}

.bert-page-credential-stuffing .tab.active .tn,
.bert-page-credential-stuffing .tab.active .tl {
  color: var(--violet);
}

.bert-page-credential-stuffing .tab.done .tn,
.bert-page-credential-stuffing .tab.done .tl {
  color: var(--mint);
}

/* ── PANELS ── */
.bert-page-credential-stuffing .panel {
  display: none;
  border: 1px solid var(--border);
  border-top: none;
  background: var(--card);
  animation: cs-panelIn .3s ease;
}

.bert-page-credential-stuffing .panel.active {
  display: block;
}

@keyframes cs-panelIn {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.bert-page-credential-stuffing .pgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

.bert-page-credential-stuffing .pl {
  padding: 36px 32px;
  border-right: 1px solid var(--border);
  min-width: 0;
}

.bert-page-credential-stuffing .pr {
  padding: 32px 28px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.bert-page-credential-stuffing .p-phase {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .35em;
  color: var(--violet2);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.bert-page-credential-stuffing .p-title {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 16px;
}

.bert-page-credential-stuffing .ctx-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  margin-bottom: 20px;
  background: rgba(157, 78, 221, .05);
  border-left: 3px solid var(--violet2);
}

.bert-page-credential-stuffing .cx-ico {
  font-size: 22px;
}

.bert-page-credential-stuffing .cx-lbl {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .2em;
  color: var(--text-dim);
  margin-bottom: 3px;
}

.bert-page-credential-stuffing .cx-val {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text);
}

.bert-page-credential-stuffing .p-body {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
  font-weight: 400;
  margin-bottom: 20px;
}

.bert-page-credential-stuffing .p-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.bert-page-credential-stuffing .p-list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.5;
}

.bert-page-credential-stuffing .p-list li::before {
  content: '◆';
  color: var(--violet2);
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 8px;
}

/* ── TERMINAL ── */
.bert-page-credential-stuffing .term {
  background: #030110;
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 12px;
}

.bert-page-credential-stuffing .tbar {
  background: #060218;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}

.bert-page-credential-stuffing .td {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.bert-page-credential-stuffing .td.r {
  background: #ff5f57;
}

.bert-page-credential-stuffing .td.y {
  background: #ffbd2e;
}

.bert-page-credential-stuffing .td.g {
  background: #28ca41;
}

.bert-page-credential-stuffing .ttl {
  margin-left: 8px;
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: .1em;
}

.bert-page-credential-stuffing .tbody {
  padding: 16px 18px;
  line-height: 2.1;
  overflow-x: auto;
}

.bert-page-credential-stuffing .tbody .pr {
  color: var(--violet3);
}

.bert-page-credential-stuffing .tbody .cm {
  color: var(--text);
}

.bert-page-credential-stuffing .tbody .out {
  color: var(--text-mid);
}

.bert-page-credential-stuffing .tbody .hl {
  color: var(--violet);
}

.bert-page-credential-stuffing .tbody .hl2 {
  color: var(--violet3);
}

.bert-page-credential-stuffing .tbody .ok {
  color: var(--mint);
}

.bert-page-credential-stuffing .tbody .er {
  color: var(--red2);
}

.bert-page-credential-stuffing .tbody .or {
  color: var(--amber);
}

.bert-page-credential-stuffing .tbody .sp {
  color: var(--text-dim);
}

.bert-page-credential-stuffing .tbody .st {
  color: var(--steel);
}

.bert-page-credential-stuffing .tbody .wh {
  color: var(--white);
}

/* ── CONTROLS ── */
.bert-page-credential-stuffing .ctrl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: none;
}

.bert-page-credential-stuffing .cbtn {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  padding: 10px 22px;
  border: 1px solid;
  background: transparent;
  cursor: pointer;
  transition: all .2s;
  text-transform: uppercase;
}

.bert-page-credential-stuffing .cbtn-p {
  border-color: var(--border);
  color: var(--text-dim);
}

.bert-page-credential-stuffing .cbtn-p:hover:not(:disabled) {
  border-color: var(--text-mid);
  color: var(--text);
}

.bert-page-credential-stuffing .cbtn-p:disabled {
  opacity: .25;
  cursor: default;
}

.bert-page-credential-stuffing .cbtn-n {
  border-color: var(--violet2);
  color: var(--violet);
}

.bert-page-credential-stuffing .cbtn-n:hover:not(:disabled) {
  background: var(--violet);
  color: var(--bg);
  box-shadow: 0 0 24px rgba(199, 125, 255, .4);
}

.bert-page-credential-stuffing .cbtn-n:disabled {
  opacity: .25;
  cursor: default;
}

.bert-page-credential-stuffing .c-ind {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: .1em;
}

.bert-page-credential-stuffing .c-ind em {
  color: var(--violet);
  font-style: normal;
}

/* ── SITE TABLE ── */
.bert-page-credential-stuffing .site-table-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 32px;
  margin-bottom: 52px;
  overflow-x: auto;
}

.bert-page-credential-stuffing .sth-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .3em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.bert-page-credential-stuffing .site-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.bert-page-credential-stuffing .site-table th {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .18em;
  color: var(--text-dim);
  text-align: left;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
}

.bert-page-credential-stuffing .site-table td {
  font-size: 13px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.bert-page-credential-stuffing .site-table tr:last-child td {
  border-bottom: none;
}

.bert-page-credential-stuffing .site-table tr:hover td {
  background: rgba(157, 78, 221, .03);
}

.bert-page-credential-stuffing .td-site {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-mid);
}

.bert-page-credential-stuffing .td-ok {
  color: var(--mint);
  font-size: 13px;
}

.bert-page-credential-stuffing .td-warn {
  color: var(--amber);
  font-size: 13px;
}

.bert-page-credential-stuffing .td-risk-h {
  color: var(--red2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
}

.bert-page-credential-stuffing .td-risk-m {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
}

.bert-page-credential-stuffing .td-risk-l {
  color: var(--mint);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
}

.bert-page-credential-stuffing .rate-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid;
  font-family: var(--mono);
  font-size: 10px;
}

.bert-page-credential-stuffing .rate-pill.h {
  color: var(--red2);
  border-color: rgba(239, 35, 60, .4);
}

.bert-page-credential-stuffing .rate-pill.m {
  color: var(--amber);
  border-color: rgba(255, 209, 102, .4);
}

.bert-page-credential-stuffing .rate-pill.l {
  color: var(--mint);
  border-color: rgba(6, 214, 160, .4);
}

.bert-page-credential-stuffing .mini-bar {
  height: 5px;
  background: var(--border);
  border-radius: 2px;
  width: 100px;
  overflow: hidden;
}

.bert-page-credential-stuffing .mini-fill {
  height: 100%;
  border-radius: 2px;
}

/* ── SIGNAL CARDS ── */
.bert-page-credential-stuffing .signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 52px;
}

.bert-page-credential-stuffing .sg-card {
  background: var(--card);
  padding: 22px 18px;
  position: relative;
  overflow: hidden;
  transition: background .2s;
}

.bert-page-credential-stuffing .sg-card:hover {
  background: var(--card2);
}

.bert-page-credential-stuffing .sg-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 2px;
  opacity: .3;
  transition: opacity .2s;
}

.bert-page-credential-stuffing .sg-card:hover::after {
  opacity: 1;
}

.bert-page-credential-stuffing .sg-card:nth-child(1)::after {
  background: var(--red2);
}

.bert-page-credential-stuffing .sg-card:nth-child(2)::after {
  background: var(--red2);
}

.bert-page-credential-stuffing .sg-card:nth-child(3)::after {
  background: var(--amber);
}

.bert-page-credential-stuffing .sg-card:nth-child(4)::after {
  background: var(--amber);
}

.bert-page-credential-stuffing .sg-card:nth-child(5)::after {
  background: var(--mint);
}

.bert-page-credential-stuffing .sg-card:nth-child(6)::after {
  background: var(--mint);
}

.bert-page-credential-stuffing .sg-sev {
  display: inline-block;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .1em;
  padding: 2px 8px;
  border: 1px solid;
  margin-bottom: 10px;
}

.bert-page-credential-stuffing .sg-sev.h {
  color: var(--red2);
  border-color: rgba(239, 35, 60, .5);
}

.bert-page-credential-stuffing .sg-sev.m {
  color: var(--amber);
  border-color: rgba(255, 209, 102, .5);
}

.bert-page-credential-stuffing .sg-sev.l {
  color: var(--mint);
  border-color: rgba(6, 214, 160, .5);
}

.bert-page-credential-stuffing .sg-title {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}

.bert-page-credential-stuffing .sg-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.65;
  font-weight: 400;
}

.bert-page-credential-stuffing .sg-code {
  margin-top: 10px;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--violet3);
  line-height: 1.9;
}

/* ── DEFENSE GRID ── */
.bert-page-credential-stuffing .def-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 52px;
}

.bert-page-credential-stuffing .def-card {
  background: var(--card);
  padding: 24px 20px;
  transition: background .2s;
  position: relative;
  overflow: hidden;
}

.bert-page-credential-stuffing .def-card:hover {
  background: var(--card2);
}

.bert-page-credential-stuffing .def-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--mint2);
  opacity: .2;
  transition: opacity .2s;
}

.bert-page-credential-stuffing .def-card:hover::before {
  opacity: .8;
}

.bert-page-credential-stuffing .def-ico {
  font-size: 24px;
  margin-bottom: 12px;
}

.bert-page-credential-stuffing .def-title {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 8px;
}

.bert-page-credential-stuffing .def-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.65;
  font-weight: 400;
}

.bert-page-credential-stuffing .def-code {
  margin-top: 10px;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--mint);
  line-height: 1.9;
}

/* ── FOOTER ── */
.bert-page-credential-stuffing footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: .15em;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .bert-page-credential-stuffing .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .bert-page-credential-stuffing .vector-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .bert-page-credential-stuffing .container {
    padding: 0 16px;
  }

  .bert-page-credential-stuffing header {
    padding: 32px 0 28px;
  }

  .bert-page-credential-stuffing .cred-rain {
    display: none;
  }

  .bert-page-credential-stuffing .stats,
  .bert-page-credential-stuffing .vector-grid,
  .bert-page-credential-stuffing .def-grid,
  .bert-page-credential-stuffing .signal-grid {
    grid-template-columns: 1fr;
  }

  .bert-page-credential-stuffing .pgrid {
    grid-template-columns: 1fr;
  }

  .bert-page-credential-stuffing .pl {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 24px 20px;
  }

  .bert-page-credential-stuffing .pr {
    padding: 24px 20px;
  }

  .bert-page-credential-stuffing .p-title {
    font-size: 26px;
  }

  .bert-page-credential-stuffing .tbody {
    font-size: 10px;
    padding: 12px 14px;
    white-space: pre;
    word-break: normal;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .bert-page-credential-stuffing .stuffing-console {
    grid-template-columns: 1fr;
    margin-bottom: 32px;
  }

  .bert-page-credential-stuffing .sc-left,
  .bert-page-credential-stuffing .sc-right {
    padding: 20px 16px;
    min-width: 0;
    overflow: hidden;
  }

  .bert-page-credential-stuffing .cr-user {
    min-width: 120px;
  }

  .bert-page-credential-stuffing .pipeline {
    padding: 24px 16px;
  }

  .bert-page-credential-stuffing .diag {
    padding: 20px 10px;
  }

  .bert-page-credential-stuffing .pipe-steps {
    flex-direction: column;
  }

  .bert-page-credential-stuffing .pipe-step::after {
    content: '▼';
    right: auto;
    left: 50%;
    top: auto;
    bottom: -12px;
    transform: translateX(-50%);
  }

  .bert-page-credential-stuffing .pipe-step {
    margin-bottom: 16px;
  }

  .bert-page-credential-stuffing .proxy-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bert-page-credential-stuffing .pgrid {
    min-height: unset;
    overflow: hidden;
  }

  .bert-page-credential-stuffing .site-table-wrap {
    padding: 16px;
    margin-bottom: 32px;
  }

  .bert-page-credential-stuffing .signal-grid,
  .bert-page-credential-stuffing .def-grid {
    margin-bottom: 32px;
  }

  .bert-page-credential-stuffing .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .bert-page-credential-stuffing .tabs::-webkit-scrollbar {
    display: none;
  }

  .bert-page-credential-stuffing .tab {
    flex: 0 0 calc(25% - 1px);
    min-width: 80px;
  }
}

@media (max-width: 480px) {
  .bert-page-credential-stuffing h1 {
    font-size: 42px;
  }

  .bert-page-credential-stuffing h1 .sub-line {
    font-size: 14px;
  }

  .bert-page-credential-stuffing .h-desc {
    font-size: 15px;
  }

  .bert-page-credential-stuffing .stats {
    grid-template-columns: 1fr;
  }

  .bert-page-credential-stuffing .proxy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bert-page-credential-stuffing .tab {
    flex: 0 0 calc(33.333% - 1px);
    min-width: 80px;
  }

  .bert-page-credential-stuffing .counter-strip {
    grid-template-columns: 1fr;
  }

  .bert-page-credential-stuffing .tbody {
    font-size: 8.5px;
    line-height: 1.8;
  }

  .bert-page-credential-stuffing .ctx-box {
    padding: 10px;
    gap: 10px;
  }

  .bert-page-credential-stuffing .cx-val {
    font-size: 13px;
  }
}