@charset "UTF-8";
/* Tela de rastreio Anjun Express — visual clonado da página /trackPackage (anjunexpress.com).
   Tokens: Satoshi, verde #00a933 / #23cd5e, verde-escuro #0c2a20, texto #000/#777, borda #e0e0e0.
   Mobile-first. */

:root {
  --primary-color: #00a933;
  --primary-hover: #008a2b;
  --primary-light: #23cd5e;
  --primary-bg: #c1f0d0;
  --primary-dark: #007b25;
  --bg-primary: #fff;
  --bg-secondary: #f8f8f8;
  --bg-tertiary: #fafafa;
  --bg-card: #fff;
  --text-primary: #000;
  --text-secondary: #777;
  --text-muted: #b5b5b5;
  --text-dark: #0c2a20;
  --text-error: #ef4444;
  --border-primary: #545454;
  --border-secondary: #e0e0e0;
  --border-green: #00a933;
  --radius-sm: .25rem;
  --radius-md: .5rem;
  --radius-lg: 1rem;
  --font: Satoshi, -apple-system, "Segoe UI", Arial, sans-serif;
  --shadow-sm: 0 .125rem .3125rem rgba(0,0,0,.05);
  --shadow-md: 0 .3125rem .9375rem rgba(0,0,0,.1);
}
@font-face { font-family: Satoshi; src: url("https://anjunexpress.com/_nuxt/Satoshi-Variable.ChAXbpFa.ttf") format("truetype"); font-display: swap; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; overflow-x: hidden; }
body { background: var(--bg-primary); color: var(--text-primary); font-family: var(--font); line-height: 1.5; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; }
.container { width: 100%; }

/* ===== header ===== */
.header { position: sticky; top: 0; z-index: 50; height: 60px; background: rgba(255,255,255,.85); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border-secondary); }
.header-container { height: 100%; max-width: 1400px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; }
.logo-img { height: 30px; display: block; }
.header-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.lang-btn { display: inline-flex; align-items: center; gap: .3rem; background: none; border: 0; font-size: .85rem; color: var(--text-primary); }
.hamburger { display: inline-flex; flex-direction: column; gap: 4px; }
.hamburger span { width: 20px; height: 2px; background: var(--text-primary); border-radius: 2px; }
.mobile-track-btn { background: var(--primary-color); color: #fff; font-weight: 700; font-size: .8rem; padding: .55rem .9rem; border-radius: .4rem; }
@media (min-width: 900px) {
  .header-nav { display: block; }
  .header-nav ul { display: flex; gap: 1.6rem; list-style: none; }
  .header-nav a { font-size: .9rem; color: var(--text-primary); }
  .hamburger { display: none; }
}

/* ===== hero ===== */
.main-content { flex: 1; }
.page { max-width: 1200px; margin: 0 auto; padding: 3rem 1rem 4rem; }
.hero { text-align: center; margin-bottom: 2rem; }
.hero h1 { font-size: 2rem; font-weight: 700; }
.hero p { color: var(--text-secondary); margin-top: .5rem; font-size: .95rem; }
.hero h1::selection { background: var(--primary-bg); }

/* ===== card busca ===== */
.track-input-card { max-width: 520px; margin: 0 auto 3rem; border: 1px solid var(--border-secondary); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.track-input-card__top { background: #f0fbf3; padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--border-secondary); display: flex; align-items: center; gap: .6rem; }
.track-input-card__top h2 { font-size: 1.15rem; color: var(--text-dark); display: flex; align-items: center; gap: .5rem; }
.track-input-card__top p { color: var(--text-secondary); font-size: .8rem; margin-top: .25rem; }
.track-input-card__body { padding: 1.5rem; }
.input-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.input-row input { flex: 1; min-width: 0; border: 1px solid var(--border-secondary); border-radius: var(--radius-sm); padding: .8rem 1rem; font-size: .95rem; color: var(--text-primary); }
.input-row input:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 .125rem #00a65133; }
.btn-green { background: var(--primary-light); color: #fff; border: 0; border-radius: var(--radius-sm); font-weight: 700; padding: .8rem 1.4rem; font-size: .95rem; }
.btn-green:hover { background: var(--primary-hover); }

/* ===== lead (sem topo) ===== */
.page-lead { padding-top: 2rem; }
.lead-code { color: var(--text-secondary); font-size: 1rem; margin-bottom: 1rem; }
.lead-code b { color: var(--text-dark); }

/* ===== resultado ===== */
.track-result { border: 1px solid #eee; border-radius: 7px; overflow: hidden; }
.result-card { display: flex; flex-direction: column; gap: 2.2rem; padding: 2.2rem 2rem; background: linear-gradient(90deg,#edfff3 -21.42%,#fff 117.65%); }
.order-header { display: flex; align-items: flex-start; justify-content: space-between; }
.order-code { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.order-code h1 { color: var(--text-dark); font-size: 1.25rem; font-weight: 700; }
.order-update { color: #878787; font-size: .85rem; }
.order-actions { display: flex; gap: .5rem; color: var(--text-secondary); }
.order-actions svg { cursor: pointer; }
.order-actions svg:hover { opacity: .7; }
.progress-header { display: flex; flex-direction: column; gap: .75rem; }
.progress-header > div:first-child { color: var(--text-dark); font-weight: 700; font-size: 1rem; }
.progress-line { background: #f5f5f5; border-radius: 4px; height: 8px; overflow: hidden; }
.progress-line::after { content: ""; display: block; height: 100%; width: var(--progress, 0%); background: var(--primary-light); border-radius: 4px; transition: width .3s ease; }
.status-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
.status-item { background: var(--text-dark); border-radius: 7px; padding: 1.1rem 1.25rem; display: flex; flex-direction: column; gap: .6rem; }
.status-title { color: #fffc; font-size: 1rem; font-weight: 500; }
.status-value { color: #fff; font-size: 1.1rem; font-weight: 700; display: flex; align-items: center; gap: .5rem; }
.status-value svg { flex: none; }

.result-content { padding: 1.4rem 1.25rem; display: flex; flex-direction: column; gap: 1.25rem; }
.tab-group { display: flex; gap: .6rem; }
.tab-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem; height: 42px; border-radius: 7px; background: #f5f5f5; }
.tab-btn.active { background: var(--primary-light); }
.tab-title { color: var(--text-dark); font-weight: 700; font-size: .85rem; }
.tab-btn.active .tab-title { color: #000; }
.progress-list { display: flex; flex-direction: column; gap: 1.25rem; }
.progress-item { display: flex; gap: 1.25rem; align-items: center; }
.progress-icon { flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--primary-light); color: #fff; display: flex; align-items: center; justify-content: center; }
.progress-info { flex: 1; background: #f5f5f5; border-radius: 7px; padding: 1.1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.progress-title { color: #1f7256; font-size: 1.05rem; font-weight: 700; margin-bottom: .25rem; }
.progress-desc { color: #878787; font-size: .95rem; display: flex; gap: .25rem; flex-wrap: wrap; }
.progress-time { color: #878787; font-size: .9rem; white-space: nowrap; }

/* ===== dados ===== */
.section { margin-top: 1.5rem; }
.section-title { display: flex; align-items: center; gap: .5rem; color: var(--text-dark); font-size: 1.05rem; font-weight: 700; margin-bottom: .9rem; }
.section-title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary-color); }
.info-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .info-grid { grid-template-columns: 1fr 1fr; } }
.info-block { background: #f8fffe; border: 1px solid #e5f4f0; border-radius: 12px; padding: 1.4rem; }
.info-items { display: flex; flex-direction: column; }
.info-item { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid #e5f4f0; align-items: center; }
.info-item:last-child { border-bottom: 0; }
.info-label { color: #878787; font-size: .85rem; font-weight: 500; }
.info-value { color: var(--text-dark); font-size: .9rem; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.info-value.upper { text-transform: uppercase; }

/* ===== aviso ICMS ===== */
.update-card { border: 1px solid var(--border-secondary); border-left: 4px solid var(--primary-color); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 1.5rem; margin-top: 2rem; }
.update-flag { display: inline-block; background: var(--primary-bg); color: var(--primary-dark); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .3rem .6rem; border-radius: .35rem; margin-bottom: .8rem; }
.update-card h3 { color: var(--text-dark); font-size: 1.05rem; margin-bottom: .5rem; }
.update-card p { color: var(--text-secondary); font-size: .92rem; }
.update-card .valor { color: var(--primary-dark); font-size: 1.6rem; font-weight: 700; margin: .7rem 0 1rem; }
.btn-block { display: block; width: 100%; border: 0; border-radius: .5rem; padding: .95rem; font-size: 1rem; font-weight: 700; background: var(--primary-color); color: #fff; }
.btn-block:hover { background: var(--primary-hover); }
.btn-outline-download { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid var(--border-secondary); border-radius: .5rem; padding: .6rem 1rem; font-weight: 700; font-size: .85rem; color: var(--text-dark); margin-bottom: 1rem; }
.btn-outline-download:hover { border-color: var(--primary-color); color: var(--primary-dark); }

/* ===== PIX ===== */
.pix-card { text-align: center; max-width: 520px; margin: 1rem auto; border: 1px solid var(--border-secondary); border-radius: var(--radius-md); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.pix-card h1 { color: var(--text-dark); font-size: 1.2rem; }
.pix-valor { color: var(--primary-dark); font-size: 2rem; font-weight: 700; margin: .4rem 0 1rem; }
.qr { display: block; width: 210px; max-width: 100%; margin: 0 auto 1rem; border: 1px solid var(--border-secondary); border-radius: .5rem; padding: 8px; }
.qr img { display: block; width: 100%; }
.codigo-pix { background: var(--bg-secondary); border: 1px solid var(--border-secondary); border-radius: .5rem; padding: .85rem; font-size: .75rem; word-break: break-all; margin-bottom: 1rem; color: var(--text-secondary); }
.sub-rotulo { color: var(--text-secondary); font-size: .8rem; margin-bottom: .5rem; }
.verificando { display: inline-flex; align-items: center; gap: .5rem; color: var(--primary-dark); font-size: .85rem; margin-top: 1rem; }
.spinner { width: 14px; height: 14px; border: 2px solid #bfe9cd; border-top-color: var(--primary-color); border-radius: 50%; animation: girar .8s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }

/* ===== sucesso ===== */
.sucesso { text-align: center; max-width: 520px; margin: 1rem auto; padding: 2rem 1rem; }
.sucesso .check { width: 70px; height: 70px; border-radius: 50%; background: var(--primary-color); color: #fff; font-size: 40px; line-height: 70px; margin: 0 auto 1rem; }
.sucesso h1 { color: var(--text-dark); }
.sucesso p { color: var(--text-secondary); margin-top: .5rem; }

/* ===== modal pix ===== */
body.modal-open { overflow: hidden; }
.pix-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 1rem; background: rgba(5,19,14,.5); }
.pix-modal-card { width: min(100%, 380px); background: #fff; border-radius: .75rem; border-top: 4px solid var(--primary-color); padding: 1.5rem; box-shadow: 0 12px 40px rgba(0,20,10,.25); }
.pix-modal-card h2 { color: var(--text-dark); font-size: 1.1rem; }
.pix-modal-bar { height: 3px; background: #eaf5ee; border-radius: 3px; overflow: hidden; margin-top: 1rem; }
.pix-modal-bar span { display: block; width: 30%; height: 100%; background: var(--primary-color); animation: prog 1.2s ease-in-out infinite alternate; }
@keyframes prog { from { transform: translateX(-20%); } to { transform: translateX(190%); } }
.pix-modal-texto { color: var(--text-secondary); font-size: .9rem; margin-top: .75rem; }

.erro { text-align: center; padding: 3rem 1rem; font-size: .95rem; }
.erro h2 { color: var(--text-dark); margin-bottom: .5rem; }

/* ===== footer ===== */
.footer { background: #000; color: #fff; padding: 2.2rem 1.5rem 1.5rem; font-size: .8rem; }
.footer-container { max-width: 1400px; margin: 0 auto; display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .footer-container { grid-template-columns: repeat(4, 1fr); } }
.footer h3 { font-size: .85rem; margin-bottom: .6rem; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.footer a:hover { text-decoration: underline; }
.footer .logo-img { height: 30px; margin-bottom: 1rem; }
.footer .track-btn { display: inline-block; color: var(--primary-light); font-weight: 700; }
.footer-bottom { max-width: 1400px; margin: 1.5rem auto 0; padding-top: 1rem; border-top: 1px solid #222; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; color: #bbb; font-size: .75rem; }

@media (max-width: 600px) {
  .header { height: 50px; }
  .header-container { padding: 0 .9rem; }
  .logo-img { height: 26px; }
  .page, .page-lead { padding: 0.8rem 0.7rem 0.8rem; }
  .lead-code { font-size: 13px; margin-bottom: .6rem; }
  .section { margin-top: .7rem; }
  .section-title { font-size: 14px; margin-bottom: .5rem; }
  .info-grid { grid-template-columns: 1fr; gap: .5rem; }
  .info-block { padding: 8px 10px; border-radius: 9px; min-width: 0; max-width: 100%; }
  .info-item { padding: 5px 0; gap: 6px; min-width: 0; }
  .info-label { font-size: 11px; flex: none; }
  .info-value { font-size: 13px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-width: 0; overflow-wrap: anywhere; }
  .update-card { padding: 12px 13px; margin-top: .8rem; border-radius: 9px; }
  .update-flag { font-size: .62rem; padding: .2rem .5rem; margin-bottom: .45rem; }
  .update-card h3 { font-size: 13px; margin-bottom: .3rem; }
  .update-card p { font-size: 11.5px; line-height: 1.3; }
  .update-card .valor { font-size: 23px; margin: .35rem 0 .55rem; }
  .btn-block { padding: .8rem; font-size: 15px; }
  .btn-outline-download { margin-bottom: .5rem; padding: .45rem .7rem; font-size: 12.5px; }
}
