:root {
  color-scheme: dark;
  font-family:
    'Plus Jakarta Sans', Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #070709;
  color: #ffffff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --bg: #070709;
  --bg-sidebar: #111115;
  --surface: #111115;
  --surface-solid: #111115;
  --surface-raised: #18181e;
  --surface-border: #1E1E24;
  --line: #1E1E24;
  --text: #ffffff;
  --muted: #94A3B8;
  --blue: #10B981;
  --blue-bright: #34d399;
  --green: #10b981;
  --emerald: #10B981;
  --emerald-hover: #059669;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: #070709;
  color: var(--text);
  font-family: 'Plus Jakarta Sans', Inter, -apple-system, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(96, 165, 250, 0.75);
  outline-offset: 3px;
}

.site-shell {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(96, 165, 250, 0.38);
  border-radius: 13px;
  background: linear-gradient(145deg, #2563eb, #1747b4);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
  color: white;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 16px;
  font-weight: 780;
  letter-spacing: -0.035em;
}

.brand-copy small {
  color: #71829b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav > a {
  color: #a9b5c7;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.site-nav > a:hover {
  color: white;
}

.site-nav .header-login {
  padding: 11px 16px;
  border: 1px solid rgba(96, 165, 250, 0.38);
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.12);
  color: #dbeafe;
}

.site-nav .header-login:hover {
  border-color: rgba(96, 165, 250, 0.75);
  background: rgba(37, 99, 235, 0.2);
}

.site-nav .top-bot-link {
  color: #93c5fd;
}

body.is-authenticated .site-nav {
  display: none;
}

.hero-section {
  position: relative;
  display: grid;
  min-height: 575px;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  align-items: center;
  gap: clamp(44px, 8vw, 100px);
  padding: 82px 0 76px;
}

.hero-section::before {
  position: absolute;
  z-index: -1;
  top: 16%;
  right: 6%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.12);
  content: "";
  filter: blur(100px);
  pointer-events: none;
}

.hero-copy-column {
  max-width: 630px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 19px;
  color: #8cbcff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.status-dot,
.demo-status i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.7);
}

.hero-section h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(42px, 5.8vw, 72px);
  font-weight: 790;
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.hero-section h1 span {
  display: block;
  background: linear-gradient(105deg, #60a5fa 2%, #dbeafe 53%, #f8fafc 95%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
}

.hero-copy {
  max-width: 565px;
  margin: 23px 0 27px;
  color: #9aa9bd;
  font-size: 16px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%, 420px);
  margin-top: 2px;
}

.login-box {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
}

.login-box iframe {
  max-width: 100%;
}

.btn-telegram-auth {
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #2aabee 0%, #229ed9 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(34, 158, 217, 0.35);
  transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.btn-telegram-auth:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #229ed9 100%);
  box-shadow: 0 8px 28px rgba(56, 189, 248, 0.48);
  transform: translateY(-2px);
}

.btn-telegram-auth:active {
  transform: translateY(0);
}

.email-auth-panel {
  width: min(100%, 420px);
  margin-top: 22px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  background: #12131A;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.email-auth-form {
  display: grid;
  gap: 14px;
}

.auth-name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.email-auth-form .primary {
  width: 100%;
  min-height: 46px;
  font-size: 14px;
  font-weight: 750;
  border-radius: 12px;
  margin-top: 4px;
}

.auth-secondary-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.auth-mode-toggle {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #10B981;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: color 150ms ease;
}

.auth-mode-toggle:hover {
  color: #34d399;
}

.auth-divider {
  display: flex;
  width: min(100%, 420px);
  align-items: center;
  gap: 14px;
  margin: 18px 0 14px;
  color: #64748b;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  content: "";
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 9px;
  color: #34d399;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease;
}

.text-link:hover {
  border-color: #10B981;
  background: rgba(16, 185, 129, 0.12);
  color: #ffffff;
}

.auth-message {
  min-height: 21px;
  margin: 12px 0 0;
  color: #7f90a9;
  font-size: 12px;
  line-height: 1.6;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 21px;
  margin-top: 28px;
  color: #9aa9bd;
  font-size: 12px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-proof i {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.demo-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  justify-self: end;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  background: #12131A;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
}

.demo-card::before {
  position: absolute;
  top: -130px;
  right: -95px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.13);
  content: "";
  filter: blur(40px);
  pointer-events: none;
}

.demo-card-top,
.sms-heading,
.demo-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.demo-overline,
.panel-kicker {
  color: #73839d;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.demo-card-top h2 {
  margin: 5px 0 0;
  color: #f1f5f9;
  font-size: 19px;
  letter-spacing: -0.035em;
}

.demo-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 99px;
  background: rgba(16, 185, 129, 0.08);
  color: #6ee7b7;
  font-size: 10px;
  font-weight: 700;
}

.demo-status i {
  width: 6px;
  height: 6px;
}

.demo-disclaimer {
  margin: 15px 0 16px;
  color: #8190a6;
  font-size: 10px;
  line-height: 1.5;
}

.sms-feed {
  display: grid;
  gap: 10px;
}

.sms-card {
  position: relative;
  display: flex;
  min-height: 74px;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 14px;
  background: rgba(11, 15, 25, 0.54);
  animation: card-arrive 600ms both;
}

.sms-card-two {
  animation-delay: 140ms;
}

.sms-card-three {
  animation-delay: 280ms;
}

.sms-app-icon {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 11px;
  color: white;
  font-size: 13px;
  font-weight: 850;
}

.app-whatsapp {
  background: linear-gradient(145deg, #128c64, #075b48);
}

.app-telegram {
  background: linear-gradient(145deg, #36a8e8, #176aab);
}

.app-instagram {
  background: linear-gradient(145deg, #d94683, #7041bd);
}

.sms-content {
  min-width: 0;
  flex: 1;
}

.sms-heading strong {
  color: #e7edf6;
  font-size: 12px;
  font-weight: 700;
}

.sms-heading span {
  color: #73839d;
  font-size: 9px;
}

.sms-content p {
  margin: 5px 0 0;
  overflow: hidden;
  color: #9aa9bd;
  font-size: 10px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sms-content b {
  color: #e2e8f0;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.sms-check {
  display: grid;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  font-size: 10px;
}

.demo-card-foot {
  justify-content: flex-start;
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  color: #91a0b4;
  font-size: 11px;
}

.demo-foot-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.16);
  color: #93c5fd;
  font-size: 13px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px 22px;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.58);
}

.trust-strip > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 4px;
}

.trust-strip strong {
  color: #60a5fa;
  font-size: 11px;
  letter-spacing: 0.09em;
}

.trust-strip span {
  color: #a7b3c4;
  font-size: 12px;
}

/* ==========================================================================
   CARROSSEL INFINITO DE LOGOS (INFINITE LOGO SLIDER)
   ========================================================================== */

.logo-slider-section {
  width: 100%;
  margin: 38px 0 20px;
  padding: 10px 0;
  text-align: center;
}

.logo-slider-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 20px;
  color: #8cbcff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.logo-slider-kicker::before,
.logo-slider-kicker::after {
  content: "";
  height: 1px;
  width: 36px;
  background: rgba(96, 165, 250, 0.25);
}

.logo-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 6px 0;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.logo-slider-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 16px;
  animation: infinite-logo-slide 32s linear infinite;
  will-change: transform;
}

.logo-slider-wrapper:hover .logo-slider-track {
  animation-play-state: paused;
}

@keyframes infinite-logo-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.logo-slider-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 99px;
  background: #12131A;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  user-select: none;
  transition: all 180ms ease;
  flex-shrink: 0;
}

.logo-slider-item:hover {
  background: #181924;
  border-color: rgba(16, 185, 129, 0.4);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.15);
}

.logo-slider-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-section {
  padding: 105px 0 20px;
}

.section-heading {
  max-width: 620px;
  margin-bottom: 31px;
}

.section-heading .eyebrow {
  margin-bottom: 11px;
}

.section-heading h2 {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(29px, 4vw, 42px);
  font-weight: 760;
  letter-spacing: -0.05em;
}

.section-heading > p:last-child {
  margin: 11px 0 0;
  color: #8e9cb0;
  font-size: 14px;
  line-height: 1.7;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-card {
  min-height: 172px;
  padding: 20px 17px;
  border: 1px solid #1E1E24;
  border-radius: 1rem;
  background: #111115;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.step-card:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 185, 129, 0.4);
  background: #16161c;
}

.step-number {
  display: inline-block;
  margin-bottom: 25px;
  color: #10B981;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.step-card h3 {
  margin: 0 0 7px;
  color: #eaf0f8;
  font-size: 13px;
  letter-spacing: -0.015em;
}

.step-card p {
  margin: 0;
  color: #8796aa;
  font-size: 11px;
  line-height: 1.6;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 60px;
  padding-bottom: 92px;
}

.faq-section .section-heading {
  margin-bottom: 0;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  padding: 20px 34px 20px 0;
  color: #e4eaf3;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  color: #10B981;
  content: "+";
  font-size: 20px;
  font-weight: 400;
  transform: translateY(-50%);
  transition: transform 180ms ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item > p {
  max-width: 650px;
  margin: -2px 0 20px;
  color: #8e9cb0;
  font-size: 12px;
  line-height: 1.75;
}

.account-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 54px 0 27px;
}

.account-welcome .eyebrow {
  margin-bottom: 12px;
}

.account-head h1 {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(31px, 4vw, 48px);
  font-weight: 760;
  letter-spacing: -0.055em;
}

.muted {
  margin: 9px 0 0;
  color: #8e9cb0;
  font-size: 13px;
}

.balance-card {
  min-width: 210px;
  padding: 16px 19px;
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.17), rgba(30, 41, 59, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.balance-card span,
.balance-card small {
  display: block;
  color: #9db2d0;
  font-size: 10px;
  font-weight: 650;
}

.balance-card strong {
  display: block;
  margin: 5px 0 4px;
  color: #93c5fd;
  font-size: 26px;
  font-weight: 760;
  letter-spacing: -0.04em;
}

.balance-card small {
  color: #71839e;
  font-size: 9px;
  font-weight: 500;
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  align-items: start;
  gap: 18px;
  padding-bottom: 20px;
}

.panel {
  min-width: 0;
  padding: 24px;
  border: 1px solid #1E1E24;
  border-radius: 1rem;
  background: #111115;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.4);
}

.panel-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 12px;
}

.panel-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  font-size: 11px;
  font-weight: 800;
}

.panel-icon-green {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
}

.panel-kicker {
  margin: 0 0 4px;
  color: #10B981;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.panel h2,
.sub-heading h2 {
  margin: 0;
  color: #f8fafc;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.panel-intro {
  margin: 0 0 20px;
  color: #8796aa;
  font-size: 12px;
  line-height: 1.65;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: block;
  min-width: 0;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label,
.code-label {
  display: block;
  margin: 0 0 7px;
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 700;
}

.field select,
.field input,
.pix-code {
  width: 100%;
  min-height: 45px;
  padding: 0 12px;
  border: 1px solid #1e2430;
  border-radius: 10px;
  outline: none;
  background: #0c0e12;
  color: #f8fafc;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field select:focus,
.field input:focus,
.pix-code:focus {
  border-color: #10B981;
  background: #0f1218;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.field select:disabled,
.field input:disabled {
  opacity: 0.65;
}

.catalog-actions {
  margin-top: 16px;
}

.primary,
.secondary,
.danger,
.logout {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 740;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.primary {
  background: #10B981;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.15);
  color: #070709;
  font-weight: 700;
  transition: all 180ms ease;
}

.primary:hover {
  transform: translateY(-1px);
  background: #059669;
  color: #070709;
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.25);
}

.primary:disabled,
.secondary:disabled,
.danger:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.secondary {
  border-color: #1E1E24;
  background: #161a22;
  color: #cbd5e1;
}

.secondary:hover {
  border-color: rgba(16, 185, 129, 0.4);
  background: #1c2230;
  color: #34d399;
}

.danger {
  border-color: rgba(248, 113, 113, 0.2);
  background: rgba(239, 68, 68, 0.08);
  color: #fca5a5;
}

.danger:hover {
  border-color: rgba(248, 113, 113, 0.4);
  background: rgba(239, 68, 68, 0.14);
}

.message {
  min-height: 19px;
  margin: 12px 0 0;
  color: #8e9cb0;
  font-size: 11px;
  line-height: 1.6;
}

.message.error {
  color: #fca5a5;
}

.message.success {
  color: #6ee7b7;
}

.offers {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 13px;
  background: rgba(11, 15, 25, 0.45);
}

.offer strong {
  display: block;
  color: #e9eff7;
  font-size: 12px;
}

.offer span {
  display: block;
  margin-top: 5px;
  color: #8796aa;
  font-size: 10px;
}

.offer .primary {
  flex: 0 0 auto;
}

.empty {
  padding: 18px;
  border: 1px dashed rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  color: #8e9cb0;
  font-size: 11px;
  text-align: center;
}

.activation-panel {
  margin-top: 25px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.sub-heading {
  margin-bottom: 13px;
}

.sub-heading .panel-kicker {
  margin-bottom: 5px;
}

.order-details {
  display: grid;
  gap: 0;
  margin: 13px 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 12px;
  background: rgba(11, 15, 25, 0.45);
  color: #acb9ca;
  font-size: 11px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.order-details > div {
  padding: 9px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.09);
}

.order-details > div:last-child {
  border-bottom: 0;
}

.order-details strong {
  color: #e5edf7;
}

.countdown {
  color: #fbbf24;
  font-variant-numeric: tabular-nums;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.api-key-panel {
  margin: 0 0 18px;
  scroll-margin-top: 18px;
}

.api-key-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.api-key-doc-link {
  color: #93c5fd;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.api-key-doc-link:hover {
  color: #bfdbfe;
  text-decoration: underline;
}

.api-key-result {
  margin-top: 18px;
}

.api-key-value-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.gift-card-panel {
  margin-top: 24px;
}

.gift-card-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px;
  max-width: 760px;
}

.gift-card-form .field {
  min-width: 0;
}

@media (max-width: 620px) {
  .gift-card-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .gift-card-form button {
    width: 100%;
  }
}

.api-key-value {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  background: #101827;
  color: #dbeafe;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}

.pix-panel {
  border-color: rgba(16, 185, 129, 0.2);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(16, 185, 129, 0.08), transparent 55%),
    var(--surface);
}

.crypto-panel,
.admin-2328-panel {
  margin: 18px 0;
  scroll-margin-top: 18px;
}

.crypto-panel {
  border-color: rgba(96, 165, 250, 0.22);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(37, 99, 235, 0.1), transparent 55%),
    var(--surface);
}

.field-hint {
  display: block;
  margin-top: 7px;
  color: #91a0b4;
  font-size: 11px;
  line-height: 1.5;
}

.pix-submit {
  width: 100%;
  margin-top: 13px;
}

.crypto-submit {
  width: 100%;
  margin-top: 15px;
}

.pix-result {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.crypto-result {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.pix-qr {
  display: block;
  width: min(210px, 100%);
  height: auto;
  margin: 0 auto 15px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: white;
}

.crypto-qr {
  display: block;
  width: min(240px, 100%);
  height: auto;
  margin: 0 auto 16px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: white;
}

.crypto-payment-details {
  margin: 0 0 14px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.6;
  text-align: center;
}

.crypto-result-actions,
.admin-2328-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 11px;
}

.crypto-result-actions > * {
  flex: 1 1 auto;
}

.admin-2328-credentials {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.admin-2328-credentials h3,
.admin-2328-balance h3,
.admin-2328-directions h3 {
  margin: 0 0 13px;
  color: #e7edf6;
  font-size: 14px;
}

.admin-2328-credentials .primary {
  margin-top: 13px;
}

.admin-2328-balance,
.admin-2328-directions {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(11, 15, 25, 0.42);
}

.admin-2328-balance pre {
  max-height: 300px;
  margin: 0;
  overflow: auto;
  color: #bfdbfe;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.admin-direction-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: #9aa9bd;
  font-size: 11px;
}

.admin-direction-row strong {
  color: #e2e8f0;
  font-size: 12px;
}

.pix-code {
  min-height: 88px;
  padding: 11px;
  color: #c8d5e5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  resize: vertical;
}

.copy-pix {
  width: 100%;
  margin-top: 9px;
}

@media (max-width: 560px) {
  .admin-direction-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .crypto-result-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

.secure-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 19px;
  padding: 12px;
  border: 1px solid rgba(16, 185, 129, 0.14);
  border-radius: 11px;
  background: rgba(16, 185, 129, 0.055);
}

.secure-mark {
  display: grid;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.17);
  color: #6ee7b7;
  font-size: 10px;
}

.secure-note p {
  margin: 0;
  color: #8eaaa3;
  font-size: 10px;
  line-height: 1.6;
}

.logout-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 2px 0 34px;
}

.logout-row > span {
  color: #718096;
  font-size: 10px;
}

.logout {
  min-height: 36px;
  border-color: rgba(148, 163, 184, 0.15);
  background: rgba(30, 41, 59, 0.68);
  color: #a7b3c4;
}

.logout:hover {
  border-color: rgba(148, 163, 184, 0.3);
  background: rgba(30, 41, 59, 0.95);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  color: #68778d;
  font-size: 10px;
}

.footer-brand {
  flex: 0 0 auto;
  color: #b8c6d8;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.site-footer p {
  max-width: 620px;
  margin: 0;
  line-height: 1.6;
  text-align: center;
}

.site-footer > span {
  flex: 0 0 auto;
}

@keyframes card-arrive {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero-section {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
    gap: 38px;
  }

  .hero-section h1 {
    font-size: clamp(40px, 6vw, 58px);
  }

  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .account-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.8fr);
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 36px, 560px);
  }

  .topbar {
    min-height: 72px;
  }

  .site-nav {
    gap: 15px;
  }

  .site-nav > a {
    font-size: 11px;
  }

  .site-nav > a[href="#faq"] {
    display: none;
  }

  .site-nav .header-login {
    padding: 9px 11px;
  }

  .hero-section {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 37px;
    padding: 62px 0 42px;
  }

  .hero-section h1 {
    max-width: 600px;
    font-size: clamp(43px, 10vw, 62px);
  }

  .demo-card {
    max-width: 500px;
    justify-self: center;
  }

  .trust-strip {
    gap: 7px;
    padding: 14px 8px;
  }

  .trust-strip > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding: 6px 10px;
  }

  .trust-strip span {
    font-size: 10px;
    line-height: 1.45;
  }

  .info-section {
    padding-top: 76px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-card {
    min-height: 150px;
  }

  .step-number {
    margin-bottom: 19px;
  }

  .faq-section {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-bottom: 65px;
  }

  .account-head {
    align-items: stretch;
    flex-direction: column;
    padding-top: 36px;
  }

  .balance-card {
    width: 100%;
  }

  .account-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 460px) {
  .site-shell {
    width: min(100% - 28px, 430px);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy small {
    font-size: 8px;
  }

  .site-nav {
    gap: 11px;
  }

  .site-nav > a[href="#how-it-works"] {
    display: none;
  }

  .site-nav .header-login {
    padding: 9px 10px;
    font-size: 10px;
  }

  .hero-section {
    padding-top: 48px;
  }

  .hero-section h1 {
    font-size: clamp(39px, 11.3vw, 50px);
  }

  .hero-copy {
    margin: 17px 0 21px;
    font-size: 14px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-proof {
    display: grid;
    gap: 10px;
    margin-top: 22px;
  }

  .demo-card {
    padding: 18px;
    border-radius: 19px;
  }

  .sms-card {
    gap: 9px;
    padding: 11px;
  }

  .sms-content p {
    font-size: 9px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip > div {
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
    gap: 11px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: 0;
    padding: 16px;
  }

  .step-number {
    margin-bottom: 12px;
  }

  .panel {
    padding: 19px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .field-wide {
    grid-column: auto;
  }

  .offer {
    align-items: flex-start;
    flex-direction: column;
  }

  .offer .primary {
    width: 100%;
  }

  .action-row {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ANTIGRAVITY DARK MODE PREMIUM — ARQUITETURA MODULAR & COMPONENTE SMARTPHONE
   ========================================================================== */

:root {
  --bg-obsidian: #070b14;
  --graphite-900: #0d1322;
  --graphite-800: #131c31;
  --graphite-700: #1b2742;
  --neon-blue: #3b82f6;
  --neon-cyan: #38bdf8;
  --neon-glow: rgba(59, 130, 246, 0.38);
  --neon-border: rgba(96, 165, 250, 0.34);
}

body.is-authenticated {
  background: #090a0d;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body.is-authenticated .site-shell {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
  flex: 1;
  display: flex;
  flex-direction: column;
}

body.is-authenticated .topbar {
  display: none;
}

body.is-authenticated main {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
}

body.is-authenticated #account-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Layout Full-Width 100% Fluido da Área do Cliente */
body.is-authenticated .workspace-layout {
  flex: 1;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: stretch;
  gap: 20px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 16px 20px 16px 16px;
  box-sizing: border-box;
}

body.is-authenticated .workspace-sidebar {
  position: sticky;
  top: 16px;
  height: calc(100vh - 32px);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 16px;
  border: 1px solid #1E1E24;
  border-radius: 1rem;
  background: #111115;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.4);
}

body.is-authenticated .workspace-main {
  min-width: 0;
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

body.is-authenticated .workspace-view {
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

body.is-authenticated .panel {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.message:empty {
  display: none !important;
  margin: 0 !important;
  min-height: 0 !important;
}

/* Rodapé 100% Fluido na Base */
body.is-authenticated .site-footer {
  width: 100%;
  box-sizing: border-box;
  margin-top: auto;
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 24px;
  color: #64748b;
  font-size: 11px;
  text-align: center;
}

body.is-authenticated .site-footer .footer-brand {
  color: #94a3b8;
  font-weight: 600;
  font-size: 11px;
}

body.is-authenticated .site-footer p {
  max-width: none;
  margin: 0;
  color: #64748b;
  font-size: 11px;
  text-align: center;
}

body.is-authenticated .site-footer > span {
  color: #475569;
  font-size: 11px;
}

.workspace-sidebar {
  position: sticky;
  top: 16px;
  height: calc(100vh - 32px);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 16px;
  border: 1px solid #1E1E24;
  border-radius: 1rem;
  background: #111115;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.4);
  scrollbar-width: thin;
  scrollbar-color: rgba(16, 185, 129, 0.4) transparent;
}

.workspace-sidebar::-webkit-scrollbar {
  width: 5px;
}

.workspace-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.workspace-sidebar::-webkit-scrollbar-thumb {
  background: rgba(16, 185, 129, 0.35);
  border-radius: 4px;
}

.workspace-sidebar::-webkit-scrollbar-thumb:hover {
  background: #10B981;
}

/* Logotipo da Empresa com Estilo Lofy */
.sidebar-brand-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding-bottom: 14px;
  border-bottom: 1px solid #1E1E24;
}

.saas-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  user-select: none;
}

.saas-brand-avatar-wrap {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 11px;
  overflow: hidden;
  border: 1.5px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111115;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.saas-brand-logo:hover .saas-brand-avatar-wrap {
  transform: translateY(-1px) scale(1.04);
  border-color: #10B981;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.35);
}

.saas-brand-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.saas-brand-title-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.saas-brand-wordmark {
  font-family: 'Plus Jakarta Sans', Inter, -apple-system, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.1;
}

.saas-brand-wordmark .accent-dot {
  color: #10B981;
}

.saas-brand-subtag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #10B981;
  background: rgba(16, 185, 129, 0.12);
  padding: 1px 6px;
  border-radius: 4px;
}

/* Card de Perfil do Usuário na Sidebar (Estilo Escuro Padrão) */
.sidebar-profile-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #090a0d;
  border: 1px solid #1E1E24;
  cursor: pointer;
  transition: all 180ms ease;
}

.sidebar-profile-card:hover {
  background: #16161c;
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.15);
}

.sidebar-profile-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.sidebar-avatar {
  position: relative;
  overflow: hidden;
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1.5px solid #10B981;
  border-radius: 12px;
  background: #111115;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.2);
  color: #10B981;
  font-size: 13px;
  font-weight: 800;
}

.sidebar-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.sidebar-user-meta {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sidebar-user-meta strong {
  display: block;
  overflow: hidden;
  color: #f8fafc;
  font-size: 13px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-auth-tag {
  display: block;
  font-size: 10.5px;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-profile-arrow {
  color: #64748b;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  transition: transform 160ms ease, color 160ms ease;
}

.sidebar-profile-card:hover .sidebar-profile-arrow {
  color: #10B981;
  transform: translateX(2px);
}

/* Widget de Saldo Disponível (Estilo Escuro Padrão) */
.sidebar-balance-widget {
  padding: 14px 16px;
  border-radius: 14px;
  background: #090a0d;
  border: 1px solid #1E1E24;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 4px 16px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-balance-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-balance-label {
  font-size: 10.5px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sidebar-currency-pill {
  font-size: 9px;
  font-weight: 800;
  color: #10B981;
  background: rgba(16, 185, 129, 0.12);
  padding: 1px 6px;
  border-radius: 99px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.sidebar-balance-val {
  display: block;
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-shadow: 0 0 16px rgba(16, 185, 129, 0.25);
}

.sidebar-balance-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #64748b;
  font-weight: 600;
}

.sync-dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* Navegação da Sidebar */
.sidebar-nav {
  display: grid;
  gap: 6px;
}

.sidebar-nav-label {
  margin: 6px 0 4px 6px;
  color: #64748b;
  font-size: 9.5px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.workspace-nav-btn {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #1E1E24;
  border-radius: 12px;
  background: #090a0d;
  color: #94a3b8;
  cursor: pointer;
  text-align: left;
  transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.workspace-nav-btn:hover {
  border-color: #2E2E38;
  background: #16161c;
  color: #ffffff;
  transform: translateX(2px);
}

.workspace-nav-btn.is-active {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.08);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.12);
  color: #ffffff;
}

.workspace-nav-btn.is-active::before {
  position: absolute;
  left: -1px;
  top: 22%;
  height: 56%;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  content: "";
}

.nav-btn-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #1E1E24;
  border-radius: 9px;
  background: #111115;
  color: #94a3b8;
  transition: all 180ms ease;
}

.workspace-nav-btn:hover .nav-btn-icon {
  color: #ffffff;
  border-color: #2E2E38;
  background: #16161c;
}

.workspace-nav-btn.is-active .nav-btn-icon {
  border-color: #10B981;
  background: #10B981;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.35);
  color: #070709;
}

.nav-btn-copy {
  min-width: 0;
  flex: 1;
}

.nav-btn-copy strong {
  display: block;
  font-size: 12.5px;
  font-weight: 740;
  letter-spacing: -0.01em;
}

.nav-btn-copy small {
  display: block;
  margin-top: 1px;
  color: #64748b;
  font-size: 10px;
  font-weight: 500;
}

.workspace-nav-btn.is-active .nav-btn-copy small {
  color: #34d399;
}

.nav-badge-count {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  place-items: center;
  border-radius: 99px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 10px;
  font-weight: 800;
}

/* Card de Status / Meta Estilo LofyPay ("Pulseira 35%") */
.sidebar-level-card {
  padding: 12px 14px;
  border-radius: 14px;
  background: #090a0d;
  border: 1px solid #1E1E24;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-level-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-level-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #cbd5e1;
}

.sidebar-level-badge {
  font-size: 9.5px;
  font-weight: 800;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  padding: 1px 6px;
  border-radius: 99px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.sidebar-level-bar-wrap {
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: #1E1E24;
  overflow: hidden;
}

.sidebar-level-bar {
  width: 100%;
  height: 100%;
  border-radius: 99px;
  background: #10B981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.sidebar-level-sub {
  font-size: 10px;
  color: #64748b;
  font-weight: 500;
}

/* Rodapé da Sidebar */
.sidebar-footer {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid #1E1E24;
  display: grid;
  gap: 10px;
}

.sidebar-quick-deposit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  border: none;
  border-radius: 12px;
  background: #10B981;
  color: #070709;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.15);
  transition: all 180ms ease;
}

.sidebar-quick-deposit:hover {
  background: #059669;
  color: #070709;
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.25);
  transform: translateY(-1px);
}

.logout-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.logout-row .logout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: #94a3b8;
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 650;
  justify-content: center;
  transition: all 160ms ease;
}

.logout-row .logout:hover {
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
}

/* ==========================================================================
   TOPBAR HEADER DO WORKSPACE (LOFYPAY DARK HEADER)
   ========================================================================== */
.workspace-top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  border-radius: 1rem;
  background: #111115;
  border: 1px solid #1E1E24;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.top-header-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.top-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #64748b;
  font-weight: 600;
}

.top-breadcrumb .crumb-sep {
  color: #334155;
}

.top-breadcrumb .crumb-current {
  color: #10B981;
  font-weight: 700;
}

.top-heading {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.025em;
}

.top-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Barra de Busca com atalho Ctrl K */
.top-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 250px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #111115;
  border: 1px solid #1E1E24;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.top-search-box:focus-within {
  border-color: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.top-search-box .search-icon {
  color: #64748b;
  flex-shrink: 0;
}

.top-search-box input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: #f1f5f9;
  font-size: 12px;
}

.top-search-box input::placeholder {
  color: #64748b;
}

.search-shortcut {
  font-size: 9.5px;
  font-weight: 800;
  color: #94a3b8;
  background: #1b202c;
  border: 1px solid #2E2E38;
  border-radius: 5px;
  padding: 2px 6px;
  white-space: nowrap;
}

/* Pílula de Saldo no Header */
.top-balance-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #12151c;
  border: 1px solid #1E1E24;
  font-size: 12px;
  user-select: none;
}

.top-balance-pill .pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.top-balance-pill .pill-label {
  color: #94a3b8;
  font-weight: 600;
}

.top-balance-pill .sync-balance-val {
  color: #ffffff;
  font-weight: 800;
}

/* Botão de Notificações */
.top-notifications-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #12151c;
  border: 1px solid #1E1E24;
  color: #94a3b8;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 160ms ease;
}

.top-notifications-btn:hover {
  background: #181d27;
  border-color: #2E2E38;
  color: #f1f5f9;
}

.top-notifications-btn .notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 99px;
  background: #ef4444;
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid #0c0e12;
}

/* Avatar do Header */
.top-user-avatar-wrap {
  position: relative;
  cursor: pointer;
}

.top-user-avatar-wrap .welcome-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid #10B981;
  background: #16161c;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
}

.top-user-avatar-wrap .welcome-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-status-online {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #0c0e12;
}

/* ==========================================================================
   METRIC CARDS ROW (4 CARDS DE INDICADORES VISUAIS ESTILO LOFYPAY)
   ========================================================================== */
.metric-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 1100px) {
  .metric-cards-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .metric-cards-row {
    grid-template-columns: 1fr;
  }
}

.lofy-metric-card {
  padding: 18px 20px;
  border-radius: 1rem;
  background: #111115;
  border: 1px solid #1E1E24;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.lofy-metric-card:hover {
  transform: translateY(-2px);
  border-color: #2E2E38;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.lofy-metric-card .metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lofy-metric-card .metric-title {
  font-size: 12px;
  font-weight: 650;
  color: #8e9cb0;
}

.metric-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.metric-icon-wrap.violet {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.metric-icon-wrap.purple {
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.metric-icon-wrap.blue {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.metric-icon-wrap.emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.metric-value-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.lofy-metric-card .metric-val {
  font-size: 22px;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.03em;
}

.metric-badge {
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 99px;
  letter-spacing: 0.02em;
}

.metric-badge.green {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.metric-badge.purple {
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.lofy-metric-card .metric-footer {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}

/* ==========================================================================
   CONTEÚDO PRINCIPAL & COMPONENTES DAS VIEWS
   ========================================================================== */
.workspace-main {
  min-width: 0;
  display: grid;
  gap: 20px;
}

.workspace-view {
  display: grid;
  gap: 20px;
  animation: view-fade-in 220ms ease-out;
}

@keyframes view-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Seletor de Quantidade em Lote */
.batch-qty-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #1E1E24;
  border-radius: 14px;
  background: #0e1117;
}

.batch-qty-info strong {
  display: block;
  color: #f1f5f9;
  font-size: 12.5px;
  font-weight: 740;
}

.batch-qty-info span {
  display: block;
  margin-top: 3px;
  color: #94a3b8;
  font-size: 11px;
}

.batch-qty-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.qty-presets {
  display: inline-flex;
  gap: 6px;
}

.qty-preset-btn {
  min-width: 38px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #1E1E24;
  border-radius: 9px;
  background: #12151c;
  color: #94a3b8;
  cursor: pointer;
  font-size: 11px;
  font-weight: 760;
  transition: all 150ms ease;
}

.qty-preset-btn:hover {
  border-color: #10B981;
  color: #ffffff;
}

.qty-preset-btn.is-active {
  border-color: #10B981;
  background: rgba(16, 185, 129, 0.15);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.25);
  color: #34d399;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #1E1E24;
  border-radius: 10px;
  background: #0c0e12;
  overflow: hidden;
}

.qty-step-btn {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #10B981;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  transition: background 140ms ease;
}

.qty-step-btn:hover {
  background: rgba(16, 185, 129, 0.12);
}

.qty-stepper input {
  width: 46px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #f8fafc;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  outline: none;
  -moz-appearance: textfield;
}

.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Ofertas Modernizadas */
.offer {
  position: relative;
  border: 1px solid #1E1E24;
  border-radius: 14px;
  background: #0e1117;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.offer:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

.offer-service-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34d399;
  font-size: 10px;
  font-weight: 750;
}

/* ==========================================================================
   COMPONENTE DE EXIBIÇÃO DO NÚMERO EM LOTE (ESTILO SMARTPHONE)
   ========================================================================== */

.batch-section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.batch-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.batch-orders-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ========================================================
   ACTIVE ORDER CARD (MODELO OFICIAL AO)
   ======================================================== */
.active-order-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 22px;
  background: #111115;
  border: 1px solid #1E1E24;
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.38);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.active-order-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.48);
}

.active-order-card.is-received {
  border-color: rgba(16, 185, 129, 0.45);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, #111115 100%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 20px rgba(16, 185, 129, 0.12);
}

/* Header */
.ao-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ao-header-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.ao-id {
  font-family: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
  font-size: 14px;
  font-weight: 700;
  color: #94A3B8;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.15s ease;
}

.ao-id:hover {
  color: #38BDF8;
}

.ao-price {
  font-size: 12px;
  font-weight: 600;
  color: #64748B;
}

.ao-header-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ao-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ao-badge.badge-active {
  background: rgba(56, 189, 248, 0.12);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.ao-badge.badge-received {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.ao-badge.badge-ended {
  background: rgba(148, 163, 184, 0.12);
  color: #94A3B8;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.ao-timer {
  font-family: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
  font-size: 13.5px;
  font-weight: 700;
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: center;
}

/* Body */
.ao-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 640px) {
  .ao-body {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.ao-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.ao-field-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748B;
}

.ao-field-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 32px;
}

.ao-phone {
  font-family: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.03em;
  word-break: break-all;
}

.ao-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #94A3B8;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.ao-copy-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.ao-copy-btn.copied {
  background: rgba(16, 185, 129, 0.2);
  color: #10B981;
  border-color: rgba(16, 185, 129, 0.4);
}

.ao-copy-btn svg {
  width: 15px;
  height: 15px;
}

.ao-waiting {
  font-size: 14px;
  font-weight: 600;
  color: #38BDF8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  animation: aoPulse 2s infinite ease-in-out;
}

@keyframes aoPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.ao-otp {
  font-family: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
  font-size: 22px;
  font-weight: 800;
  color: #10B981;
  letter-spacing: 0.12em;
  text-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
}

/* Actions */
.ao-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding-top: 4px;
}

@media (max-width: 640px) {
  .ao-actions {
    grid-template-columns: 1fr 1fr;
  }
}

.ao-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.05);
  color: #E2E8F0;
  transition: all 0.15s ease;
}

.ao-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.ao-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.ao-btn:disabled {
  opacity: 0.32;
  cursor: not-allowed;
  filter: grayscale(0.8);
  pointer-events: none;
}

.ao-btn-finish {
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  border-color: rgba(16, 185, 129, 0.28);
}
.ao-btn-finish:hover:not(:disabled) {
  background: rgba(16, 185, 129, 0.22);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.ao-btn-resend {
  background: rgba(56, 189, 248, 0.12);
  color: #38BDF8;
  border-color: rgba(56, 189, 248, 0.28);
}
.ao-btn-resend:hover:not(:disabled) {
  background: rgba(56, 189, 248, 0.22);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.25);
}

.ao-btn-cancel {
  background: rgba(239, 68, 68, 0.12);
  color: #EF4444;
  border-color: rgba(239, 68, 68, 0.28);
}
.ao-btn-cancel:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.22);
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.25);
}

.ao-btn-replace {
  background: rgba(245, 158, 11, 0.12);
  color: #F59E0B;
  border-color: rgba(245, 158, 11, 0.28);
}
.ao-btn-replace:hover:not(:disabled) {
  background: rgba(245, 158, 11, 0.22);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
}

.smartphone-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid #1E1E24;
  border-radius: 1rem;
  background: #111115;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.smartphone-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
}

.smartphone-card.is-received {
  border-color: rgba(16, 185, 129, 0.4);
  background: #111115;
}

.smartphone-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.smartphone-service {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

/* Tag Comercial Limpa (sem siglas de 2 letras sobrepostas) */
.service-commercial-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.24), rgba(14, 165, 233, 0.14));
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.18);
  color: #f8fafc;
  font-size: 12.5px;
  font-weight: 780;
  letter-spacing: -0.01em;
  line-height: 1.2;
  white-space: nowrap;
}

.service-commercial-tag.accent-emerald {
  border-color: rgba(16, 185, 129, 0.42);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.24), rgba(5, 150, 105, 0.14));
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.18);
  color: #ecfdf5;
}

.service-commercial-tag.accent-amber {
  border-color: rgba(245, 158, 11, 0.42);
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.24), rgba(180, 83, 9, 0.14));
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.18);
  color: #fffbeb;
}

.service-commercial-tag.accent-purple {
  border-color: rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.1));
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.15);
  color: #ecfdf5;
}

.service-commercial-tag.accent-cyan {
  border-color: rgba(56, 189, 248, 0.42);
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.26), rgba(3, 105, 161, 0.14));
  box-shadow: 0 0 14px rgba(14, 165, 233, 0.2);
  color: #f0f9ff;
}

.smartphone-service-meta {
  min-width: 0;
}

.smartphone-service-meta small {
  display: block;
  color: #94a3b8;
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* Status da Ativação com Efeito de Pulsação Suave Alinhado à Direita */
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.02em;
  white-space: nowrap;
  margin: 0;
  flex: 0 0 auto;
}

.status-pill::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.status-pill.is-waiting {
  border: 1px solid rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.08);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.12);
  color: #34d399;
  animation: status-soft-pulse 2s infinite ease-in-out;
}

.status-pill.is-received {
  border: 1px solid rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.16);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.2);
  color: #10B981;
}

.status-pill.is-ended {
  border: 1px solid rgba(239, 68, 68, 0.25);
  background: rgba(239, 68, 68, 0.08);
  color: #fca5a5;
}

@keyframes status-soft-pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.12);
  }
  50% {
    opacity: 0.75;
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.28);
  }
}

/* Linha Simétrica do Card: Número Centralizado + Status à Direita */
.smartphone-main-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid #1E1E24;
  border-radius: 14px;
  background: #070709;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.45);
}

.smartphone-number-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
}

.smartphone-status-col {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
}

/* Visor de Dígitos em Blocos Individuais (.digit-box / .phone-digit-box) */
.screen-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.screen-label {
  color: #7c8da5;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.copy-mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  cursor: pointer;
  font-size: 11px;
  font-weight: 740;
  transition: all 140ms ease;
}

.copy-mini-btn:hover {
  border-color: #10B981;
  background: rgba(16, 185, 129, 0.2);
  color: #ffffff;
}

/* Exibição do Número em Texto Puro e Elegante (sem caixas individuais) */
.phone-number-text {
  display: inline-block;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #ffffff;
  font-family:
    'Plus Jakarta Sans', Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  line-height: 1.4;
  white-space: nowrap;
  user-select: all;
}

.phone-number-placeholder {
  padding: 4px 10px;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
}

/* Código SMS em Texto Limpo */
.smartphone-otp-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid #1E1E24;
  border-radius: 12px;
  background: #111115;
}

.otp-text-wrap {
  display: flex;
  align-items: center;
}

.otp-code-text {
  color: #34d399;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  user-select: all;
}

.otp-waiting-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
}

.otp-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
}

.otp-waiting-banner.is-pulsing .otp-pulse-dot {
  animation: pulse-neon 1.4s infinite ease-in-out;
}

@keyframes pulse-neon {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.88);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.smartphone-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.smartphone-timer {
  color: #fbbf24;
  font-size: 11.5px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.smartphone-actions {
  display: flex;
  gap: 8px;
}

.smartphone-actions button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 11px;
}

/* Lista de Histórico de Ativações: Tag à Esquerda, Número Centralizado no Meio, Status à Direita */
.history-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.history-item {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid #1E1E24;
  border-radius: 14px;
  background: #111115;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: all 180ms ease;
}

.history-item:hover {
  border-color: rgba(16, 185, 129, 0.4);
  background: #141419;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(16, 185, 129, 0.08);
  transform: translateY(-1px);
}

.history-item-left {
  display: flex;
  flex: 0 0 150px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  margin: 0;
}

.history-item-sub {
  color: #94A3B8;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.history-item-center {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.history-item-center .phone-number-text {
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', Inter, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
}

.history-item-right {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 170px;
  margin: 0;
}

.history-sms-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.12);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
  color: #34d399;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .history-item,
  .smartphone-main-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .history-item-left {
    flex: 1 1 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .history-item-center {
    margin: 4px auto;
  }

  .history-item-right {
    flex: 1 1 100%;
    justify-content: flex-end;
    min-width: 0;
  }
}

/* Módulos de Finanças e Desenvolvedor */
.finance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.pix-quick-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
}

.pix-preset-btn {
  flex: 1 1 60px;
  min-height: 34px;
  border: 1px solid rgba(16, 185, 129, 0.26);
  border-radius: 9px;
  background: rgba(16, 185, 129, 0.08);
  color: #6ee7b7;
  cursor: pointer;
  font-size: 11px;
  font-weight: 760;
  transition: all 140ms ease;
}

.pix-preset-btn:hover {
  border-color: rgba(16, 185, 129, 0.6);
  background: rgba(16, 185, 129, 0.18);
  color: #ecfdf5;
}

.dev-endpoints-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.dev-endpoint-card {
  padding: 14px;
  border: 1px solid rgba(96, 165, 250, 0.16);
  border-radius: 13px;
  background: rgba(10, 15, 27, 0.72);
}

.dev-endpoint-card code {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.15);
  color: #7dd3fc;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
}

.dev-endpoint-card p {
  margin: 0;
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.5;
}

/* ==========================================================================
   MODAL DARK MODE PREMIUM — RECUPERAÇÃO / ALTERAÇÃO DE SENHA (RESEND 6 DÍGITOS)
   ========================================================================== */

.auth-secondary-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.auth-recovery-trigger {
  padding: 0;
  border: 0;
  background: transparent;
  color: #38bdf8;
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  transition: color 150ms ease;
}

.auth-recovery-trigger:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

.sidebar-change-password {
  width: 100%;
  min-height: 36px;
  border: 1px solid #1E1E24;
  border-radius: 10px;
  background: #090a0d;
  color: #94a3b8;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  transition: all 150ms ease;
}

.sidebar-change-password:hover {
  border-color: rgba(16, 185, 129, 0.4);
  background: #16161c;
  color: #ffffff;
}

.recovery-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 8, 17, 0.82);
  backdrop-filter: blur(10px);
  animation: view-fade-in 180ms ease-out;
}

.recovery-modal-card {
  width: 100%;
  max-width: 440px;
  padding: 26px 28px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 0%, rgba(56, 189, 248, 0.14), transparent 55%),
    linear-gradient(165deg, #131d33 0%, #0a101d 100%);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.recovery-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.recovery-modal-head h2 {
  margin: 4px 0 0;
  color: #f8fafc;
  font-size: 20px;
  font-weight: 780;
  letter-spacing: -0.025em;
}

.recovery-close-btn {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.7);
  color: #94a3b8;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: all 150ms ease;
}

.recovery-close-btn:hover {
  border-color: rgba(248, 113, 113, 0.45);
  color: #f8fafc;
}

.recovery-step {
  display: grid;
  gap: 16px;
}

.recovery-step-desc {
  margin: 0;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.6;
}

.recovery-email-highlight {
  color: #38bdf8;
  font-weight: 700;
}

/* Caixinhas Individuais de 6 Dígitos (Estilo Inputs OTP de Smartphone) */
.recovery-otp-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

.recovery-otp-input {
  width: 44px;
  height: 50px;
  padding: 0;
  border: 1px solid #334155;
  border-radius: 6px;
  background: #1e293b;
  color: #38bdf8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.recovery-otp-input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.32);
  transform: translateY(-1px);
}

.recovery-action-btn {
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
}

.recovery-back-btn {
  width: 100%;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  transition: color 150ms ease;
}

.recovery-back-btn:hover {
  color: #e2e8f0;
}

/* Feedback Inline Discreto Dark Mode (Sem blocos vermelhos gigantes) */
.recovery-inline-feedback {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.recovery-inline-feedback.is-error {
  color: #fb7185; /* rose-400 suave */
}

.recovery-inline-feedback.is-success {
  color: #34d399; /* emerald-400 suave */
}

/* Borda sutil neon para campos com erro de validação */
.recovery-step input.is-input-error,
.recovery-otp-input.is-input-error {
  border-color: rgba(251, 113, 133, 0.72) !important;
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.22) !important;
}

@media (max-width: 960px) {
  .workspace-layout {
    grid-template-columns: 1fr;
  }

  .workspace-sidebar {
    position: static;
  }

  .sidebar-nav {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .workspace-top-header {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .top-header-right {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .top-search-box {
    width: 100%;
    min-width: 0;
  }
}

/* ==========================================================================
   MÓDULO MEU PERFIL (DARK SAAS LOFYPAY)
   ========================================================================== */
.profile-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  margin-top: 18px;
}

.profile-card {
  background: #12151c;
  border: 1px solid #1E1E24;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.profile-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #1c212b;
}

.profile-card-icon {
  font-size: 22px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34d399;
  flex-shrink: 0;
}

.profile-card-header h3 {
  margin: 0;
  color: #f8fafc;
  font-size: 16px;
  font-weight: 750;
}

.profile-card-header p {
  margin: 2px 0 0;
  color: #8e9cb0;
  font-size: 12px;
}

.profile-avatar-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  padding: 16px;
  background: #070709;
  border-radius: 14px;
  border: 1px solid #1E1E24;
}

.profile-preview-avatar {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid #10B981;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
  background: #16161c;
  display: grid;
  place-items: center;
  color: #10B981;
  font-size: 26px;
  font-weight: 800;
  flex-shrink: 0;
}

.profile-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.profile-avatar-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-hint {
  color: #64748b;
  font-size: 11px;
}

.ghost-danger-btn {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 180ms ease;
}

.ghost-danger-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.6);
  color: #ffffff;
}

.profile-btn-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.profile-security-box {
  padding: 4px 0;
}

.profile-security-desc {
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 16px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
