:root {
  --jadlog-primary: #e30613;
  --jadlog-primary-dark: #ba1e34;
  --jadlog-accent: #e0033b;
  --jadlog-navy: #1a1a2e;
  --jadlog-text: #222;
  --jadlog-muted: #6c757d;
  --jadlog-bg: #f5f3f0;
  --jadlog-beige: #efedea;
  --jadlog-warn: #f5a623;
  --jadlog-success: #28a745;
  --jadlog-gray: #807569;
  --altura-menu: 3.5rem;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Open Sans", "Trebuchet MS", Arial, Helvetica, sans-serif;
  color: var(--jadlog-text);
  background: #fff;
  line-height: 1.45;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--jadlog-primary-dark);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

/* ── Accessibility strip ── */
#acessibilidade {
  background: var(--jadlog-primary-dark);
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
}

#acessibilidade a {
  color: #fff;
  opacity: 0.9;
}

/* ── Top menu (Correios-style sticky bar) ── */
#menu {
  height: var(--altura-menu);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background: #fff;
  border-top: 3px solid var(--jadlog-primary);
  border-bottom: 3px solid var(--jadlog-primary);
  box-shadow: 0 2px 8px rgba(227, 6, 19, 0.08);
}

#menu .logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

#menu .hamburger {
  width: 2rem;
  height: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
}

#menu .hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--jadlog-primary);
  border-radius: 1px;
}

#menu .logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

#menu .menu-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#menu .menu-link {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  color: var(--jadlog-primary-dark);
  border-left: 1px solid #f0c4c8;
  font-weight: 600;
}

#menu .menu-link i {
  color: var(--jadlog-primary);
}

@media (min-width: 768px) {
  #menu .menu-link {
    display: flex;
  }
}

/* ── Main layout ── */
main {
  flex: 1;
  width: 100%;
}

.container-funnel {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1rem 2.5rem;
}

#trilha {
  font-size: 0.75rem;
  color: var(--jadlog-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

#trilha .sep {
  color: var(--jadlog-primary);
  opacity: 0.7;
}

.page-index #trilha,
.page-consulta #trilha {
  color: var(--jadlog-primary-dark);
  font-weight: 600;
}

#titulo-pagina h1,
#titulo-pagina h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--jadlog-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.page-index #titulo-pagina h1,
.page-consulta #titulo-pagina h1 {
  position: relative;
  padding-bottom: 0.55rem;
}

.page-index #titulo-pagina h1::after,
.page-consulta #titulo-pagina h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background: var(--jadlog-primary);
  border-radius: 2px;
}

/* ── Jumbotron / CPF form (index) ── */
.jumbotron {
  background: #e9ecef;
  padding: 1.25rem 1.1rem 1.5rem;
  margin: 0 -1rem 1.5rem;
  border-radius: 0;
}

.jumbotron-jadlog {
  background: linear-gradient(145deg, var(--jadlog-primary) 0%, var(--jadlog-primary-dark) 100%);
  box-shadow: 0 8px 24px rgba(186, 30, 52, 0.28);
  color: #fff;
}

.jumbotron-jadlog .rotulo label,
.jumbotron-jadlog .rotulo label strong,
.jumbotron-jadlog .campo,
.jumbotron-jadlog .campo * {
  color: #fff !important;
}

.jumbotron-jadlog .rotulo label strong {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.05em 0.35em;
  border-radius: 3px;
}

.jumbotron-jadlog .campo-cpf input {
  border: 2px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  color: #222 !important;
}

.jumbotron-jadlog .campo-cpf input:focus {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.jumbotron-jadlog .alert-cpf {
  color: #ffe0e3 !important;
}

.jumbotron-jadlog #message {
  color: rgba(255, 255, 255, 0.95) !important;
}

.jumbotron-jadlog #message.error {
  color: #ffe0e3 !important;
}

.jumbotron-jadlog #message.success {
  color: #d4edda !important;
}

.jumbotron-jadlog .botao-principal {
  background: #fff;
  color: var(--jadlog-primary) !important;
  max-width: 100%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.jumbotron-jadlog .botao-principal:hover:not(:disabled) {
  background: #fff5f5;
  color: var(--jadlog-primary-dark) !important;
}

@media (min-width: 768px) {
  .jumbotron {
    margin: 0 0 1.5rem;
    border-radius: 8px;
  }
}

.jumbotron .rotulo label {
  display: block;
  font-size: 1rem;
  color: var(--jadlog-text);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.jumbotron .rotulo label strong {
  font-weight: 700;
}

.campo-cpf input {
  width: 100%;
  height: 2.75rem;
  padding: 0.5rem 0.85rem;
  font-size: 1rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  outline: none;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.campo-cpf input:focus {
  border-color: var(--jadlog-primary);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.15);
}

.alert-cpf {
  display: none;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: #d50000;
  font-weight: 600;
}

.alert-cpf.visible {
  display: flex;
}

.botao-principal {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 1.1rem auto 0;
  height: 2.75rem;
  background: var(--jadlog-primary);
  color: #fff !important;
  border: none;
  border-radius: 4px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: inherit;
}

.botao-principal:hover:not(:disabled) {
  background: var(--jadlog-primary-dark);
}

.botao-principal:disabled {
  opacity: 0.65;
  cursor: wait;
}

.botao-principal:active:not(:disabled) {
  transform: scale(0.98);
}

#message {
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 1.4em;
  margin: 0.5rem 0 0;
}

#message.error {
  color: #d50000;
}

#message.success {
  color: var(--jadlog-success);
}

.bannersro {
  margin-top: 1.5rem;
  border-radius: 6px;
  overflow: hidden;
}

.bannersro img {
  width: 100%;
  display: block;
  border-radius: 6px;
}

/* Banner carousel (kept for index) */
.banner-container {
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 5;
  overflow: hidden;
  position: relative;
  border-radius: 6px;
  margin: 0 auto;
}

.banner-wrapper {
  display: flex;
  transition: transform 1s ease-in-out;
  height: 100%;
}

.banner-slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-index .bannersro {
  border: 2px solid rgba(227, 6, 19, 0.15);
  border-radius: 8px;
}

.page-index #rodape,
.page-consulta #rodape {
  background: linear-gradient(180deg, #3f3e40 0%, #2a1a1c 100%);
  border-top: 4px solid var(--jadlog-primary);
}

.page-index .lista-icone .ico,
.page-consulta .lista-icone .ico {
  background: var(--jadlog-primary);
}

.page-index .copyright,
.page-consulta .copyright {
  color: rgba(255, 200, 205, 0.75);
}

.banner-indicators {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 0.75rem;
}

/* ── Status / tracking page ── */
.status-hero {
  padding: 1.25rem 1.1rem 1.35rem;
  margin: 0 -1rem 1.5rem;
  border-radius: 0;
  color: #fff;
}

@media (min-width: 768px) {
  .status-hero {
    margin: 0 0 1.5rem;
    border-radius: 8px;
  }
}

.status-hero .status-block {
  margin-bottom: 0;
}

.status-hero .status-block h2,
.status-hero .saudacao,
.status-hero .saudacao b,
.status-hero .status-copy,
.status-hero .prazo-entrega {
  color: #fff !important;
}

.status-hero .status-line h3 {
  color: #ffe566 !important;
}

.status-hero .bolinha-piscando {
  background-color: #ffe566;
  box-shadow: 0 0 0 3px rgba(255, 229, 102, 0.25);
}

.status-hero .package-card {
  background: #fff;
  border: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.status-hero .package-card .pkg-code,
.status-hero .package-card .pkg-nome {
  color: var(--jadlog-navy) !important;
}

.status-hero .package-card .pkg-brand {
  color: var(--jadlog-primary) !important;
}

.status-hero #payment-btn {
  background: #fff !important;
  color: var(--jadlog-primary) !important;
  animation: cta-pulse-white 1.8s ease-in-out infinite;
}

.status-hero #payment-btn:hover {
  background: #fff5f5 !important;
  color: var(--jadlog-primary-dark) !important;
}

@keyframes cta-pulse-white {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
}

.status-block {
  margin-bottom: 1.25rem;
}

.status-block h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--jadlog-navy);
  margin-bottom: 0.85rem;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.bolinha-piscando {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background-color: var(--jadlog-warn);
  border-radius: 50%;
  animation: piscar 1s infinite;
}

@keyframes piscar {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

.status-line h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--jadlog-warn);
  line-height: 1.3;
}

.saudacao {
  font-size: 1.15rem;
  color: var(--jadlog-text);
  margin-bottom: 1rem;
}

.saudacao b {
  color: #010101;
}

.status-copy {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.55;
  margin-bottom: 1rem;
}

/* Package label card */
.package-card {
  position: relative;
  background: linear-gradient(145deg, #f8f8f8 0%, #eee 100%);
  border: 2px dashed #bbb;
  border-radius: 10px;
  padding: 1.25rem 1rem;
  margin: 1.25rem auto;
  max-width: 420px;
  text-align: center;
  overflow: hidden;
}

.package-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--jadlog-primary), var(--jadlog-primary-dark));
}

.package-card .pkg-brand {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jadlog-primary);
  margin-bottom: 0.5rem;
}

.package-card .pkg-code {
  font-family: ui-monospace, "Courier New", monospace;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--jadlog-navy);
  margin-bottom: 0.65rem;
}

.package-card .pkg-barcode {
  height: 48px;
  margin: 0.5rem auto;
  background: repeating-linear-gradient(
    90deg,
    #111 0px,
    #111 2px,
    transparent 2px,
    transparent 4px,
    #111 4px,
    #111 5px,
    transparent 5px,
    transparent 8px,
    #111 8px,
    #111 11px,
    transparent 11px,
    transparent 13px
  );
  width: 85%;
  max-width: 280px;
  border-radius: 2px;
}

.package-card .pkg-nome {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #2e2e2e;
  text-transform: uppercase;
  word-break: break-word;
}

#payment-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--jadlog-primary);
  color: #fff !important;
  border: none;
  border-radius: 5px;
  padding: 0.95rem 1.25rem;
  cursor: pointer;
  transition: background 0.25s, transform 0.15s;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.02em;
  margin: 1.25rem 0 0.75rem;
  animation: cta-pulse 1.8s ease-in-out infinite;
}

#payment-btn:hover {
  background: var(--jadlog-primary-dark);
}

@keyframes cta-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.45);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(227, 6, 19, 0);
  }
}

.prazo-entrega {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--jadlog-navy);
  text-align: center;
  margin: 0.5rem 0 0;
}

/* ── Tracking timeline (ship-steps) ── */
#tabs-rastreamento {
  margin-top: 0.25rem;
  padding: 1.25rem 0.5rem 0.5rem;
  border-top: 3px solid var(--jadlog-primary);
  border-radius: 0 0 8px 8px;
}

.page-consulta #tabs-rastreamento {
  background: #fff;
}

#ver-rastro-unico {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

#cabecalho-rastro {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.cabecalho-rastro {
  display: flex;
  align-items: flex-start;
  padding-bottom: 0;
  width: 100%;
  max-width: 375px;
}

.cabecalho-content {
  margin-left: 1.1rem;
  padding-bottom: 1rem;
  padding-top: 0.55rem;
}

.cabecalho-content .text-content {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--jadlog-primary);
  margin-top: 0;
}

.ship-steps .step {
  display: flex;
  padding-bottom: 0;
}

.step-content {
  margin-left: 1.1rem;
  padding-bottom: 1.15rem;
  flex: 1;
  min-width: 0;
}

.text-head {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--jadlog-navy);
  margin: 0;
}

.text-content {
  font-size: 0.78rem;
  font-weight: 400;
  color: #222;
  margin-top: 0.35rem;
}

.arrow-current {
  border-right: 2.5px solid var(--jadlog-primary);
  height: auto;
  width: 21px;
  flex-shrink: 0;
  position: relative;
}

.arrow-none {
  height: auto;
  width: 21px;
  flex-shrink: 0;
  position: relative;
}

.arrow-dashed {
  height: 52px;
  border-right: 1.5px dashed var(--jadlog-primary);
  width: 21px;
  flex-shrink: 0;
  position: relative;
}

.circle {
  background-color: #ddd;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -10px;
  flex-shrink: 0;
}

.circle.current {
  background: var(--jadlog-primary);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.25);
}

.circle.done {
  background: var(--jadlog-primary-dark);
}

.circle i,
.circle .circle-icon {
  color: #fff !important;
  font-size: 0.95rem;
}

.circle .circle-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* ── Footer ── */
#rodape {
  background: #3f3e40;
  color: #fff;
  margin-top: auto;
  padding: 1.75rem 1rem 1rem;
}

#rodape .recipiente {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  #rodape .recipiente {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rodape-links h2 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.lista-icone li {
  margin-bottom: 0.55rem;
}

.lista-icone a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  transition: color 0.15s;
}

.lista-icone a:hover {
  color: #fff;
}

.lista-icone .ico {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  font-size: 0.7rem;
  color: #fff;
}

.copyright {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  padding: 1.25rem 0 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 1.5rem;
}

.footer-logo {
  display: block;
  height: 48px;
  width: auto;
  margin: 0 auto 1rem;
  opacity: 0.9;
}

/* ── Custom popup ── */
.custom-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 16px;
}

.custom-overlay.hidden {
  display: none;
}

.custom-popup {
  position: relative;
  width: 90%;
  max-width: 560px;
  max-height: 90%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  animation: popup-in 0.35s ease-out;
}

@keyframes popup-in {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.custom-popup img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.custom-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  font-size: 1.75rem;
  font-weight: bold;
  color: #333;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
}

.custom-close-btn:hover {
  background: var(--jadlog-primary);
  color: #fff;
}

/* ── Confirm modal ── */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  padding: 16px;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: #fff;
  padding: 1.35rem 1.25rem 1.25rem;
  border-radius: 18px;
  width: 100%;
  max-width: 380px;
  min-height: 220px;
  position: relative;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.45);
  animation: modal-slide-down 0.35s ease-out;
}

@keyframes modal-slide-down {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-header {
  display: flex;
  justify-content: flex-end;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #000;
  line-height: 1;
}

.spinner-container {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.loader-modal {
  border: 14px solid #f3f3f3;
  border-radius: 50%;
  border-top: 14px solid var(--jadlog-accent);
  width: 100px;
  height: 100px;
  animation: spin 1.2s linear infinite;
}

.loader-button {
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  border-top: 3px solid #fff;
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.fields-container {
  text-align: left;
}

.fields-container h3 {
  margin-top: 0;
  text-align: center;
  color: var(--jadlog-primary);
  font-size: 1.1rem;
}

.fields-container hr {
  border: none;
  border-top: 2px solid var(--jadlog-accent);
  margin: 0.75rem 0 1rem;
}

.fields-container p {
  margin: 0.55rem 0;
  font-size: 0.95rem;
}

.confirm-btn {
  display: block;
  margin: 1.1rem auto 0;
  background: var(--jadlog-accent);
  color: #fff;
  border: none;
  padding: 0.85rem 1.25rem;
  cursor: pointer;
  border-radius: 5px;
  animation: cta-pulse 1.2s infinite;
  font-weight: 700;
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
}

.fields-container.only-taxa {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}

.fields-container.only-taxa .taxa {
  text-align: center;
  margin: 0;
  font-size: 1.2rem;
  color: var(--jadlog-primary);
}

/* ── PIX modal (chat modal-content style) ── */
.pix-pay-modal {
  z-index: 2000;
  background: rgba(15, 23, 42, 0.75);
  animation: modal-fade-in 0.35s ease-out;
}

.pix-pay-content {
  max-width: 420px;
  max-height: 90vh;
  min-height: 0;
  overflow-y: auto;
  padding: 22px 20px 20px;
}

.pix-pay-head {
  text-align: center;
  margin-bottom: 1.1rem;
}

.pix-pay-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--jadlog-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

.pix-pay-head h2 {
  color: var(--jadlog-primary);
  font-weight: 700;
  margin: 0 0 6px;
  font-size: 1.25rem;
}

.pix-pay-head p {
  color: #64748b;
  font-size: 0.9rem;
  margin: 0;
}

.pix-deadline-box {
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 14px;
}

.pix-deadline-box.is-urgent,
.pix-deadline-box.is-expired {
  background: #fef2f2;
  border-color: #fca5a5;
}

.pix-deadline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pix-deadline-label {
  color: #9a3412;
  font-weight: 700;
  font-size: 0.84rem;
}

.pix-countdown {
  font-size: 1rem;
  font-weight: 800;
  color: #b45309;
}

.pix-deadline-box.is-urgent .pix-countdown,
.pix-deadline-box.is-expired .pix-countdown {
  color: #dc2626;
}

.pix-countdown-track {
  margin-top: 8px;
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: #fed7aa;
  overflow: hidden;
}

.pix-countdown-bar {
  height: 100%;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f59e0b, #fb923c);
  transition: width 1s linear;
}

.pix-deadline-box.is-urgent .pix-countdown-bar,
.pix-deadline-box.is-expired .pix-countdown-bar {
  background: linear-gradient(90deg, #ef4444, #f97316);
}

.pix-qr-center {
  text-align: center;
  margin: 16px 0 18px;
}

.pix-qr-card {
  display: inline-block;
  padding: 10px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.pix-qr-card img {
  width: 180px;
  height: 180px;
  display: block;
  object-fit: contain;
}

.pix-copy-panel {
  background: #f8fafc;
  padding: 14px;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid #e2e8f0;
}

.pix-copy-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #0f172a;
  font-size: 0.9rem;
}

.pix-code-textarea {
  width: 100%;
  height: 110px;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: ui-monospace, monospace;
  font-size: 0.82rem;
  resize: none;
  line-height: 1.35;
  word-wrap: break-word;
  color: #0f172a;
  background: #fff;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.pix-copy-full-btn {
  width: 100%;
  padding: 11px 16px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.2s, filter 0.2s;
}

.pix-copy-full-btn:hover:not(.is-disabled) {
  filter: brightness(1.05);
}

.pix-copy-full-btn.is-copied {
  background: #28a745;
}

.pix-copy-full-btn.is-disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.pix-info-box {
  background: #f1f5f9;
  padding: 12px;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.pix-info-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #fee2e2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--jadlog-primary);
  font-size: 0.8rem;
}

.pix-info-text {
  color: #475569;
  font-size: 0.85rem;
  line-height: 1.4;
  text-align: left;
}

.pix-info-text p {
  margin: 0 0 4px;
}

.pix-info-text p:last-child {
  margin: 0;
}

.pix-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem;
  background: #fff8e1;
  border-radius: 8px;
  color: #856404;
  font-size: 0.82rem;
  font-weight: 500;
}

.pix-status.paid {
  background: #d4edda;
  color: #155724;
}

.pix-regenerate-btn {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 11px 16px;
  background: linear-gradient(135deg, var(--jadlog-primary), var(--jadlog-primary-dark));
  color: #fff;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.92rem;
  font-family: inherit;
}

.pix-regenerate-btn.hidden {
  display: none;
}

/* Legacy class aliases (if referenced elsewhere) */
.menu-principal,
.pesquisa,
.rastreio,
.padding-padrao,
.sobre,
.noticias,
.parceiros,
.rodape,
.rodape-fim,
.jadlog-tracking-container {
  /* kept empty for safety — pages no longer rely on these */
}
