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

:root {
  --green:        #1D9E75;
  --green-light:  #E1F5EE;
  --green-dark:   #085041;
  --green-mid:    #0F6E56;
  --amber:        #BA7517;
  --amber-light:  #FAEEDA;
  --amber-dark:   #412402;
  --red:          #A32D2D;
  --red-light:    #FCEBEB;
  --red-dark:     #4A1B0C;
  --gray:         #888780;
  --gray-light:   #F1EFE8;
  --gray-dark:    #2C2C2A;
  --surface:      #FFFFFF;
  --surface-2:    #F1EFE8;
  --border-med:   rgba(0,0,0,0.18);
  --text-1:       #1A1A18;
  --text-2:       #5F5E5A;
  --text-3:       #888780;
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    16px;
  --font:         'Inter', system-ui, sans-serif;
}

/* ── LAYOUTS ── */
.ask-page {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
.track-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem 4rem;
}

.ask-topbar{
  padding-top:10px;
  padding-bottom:10px;
}
.page {
  flex: 1;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.25rem;
  align-items: start;
}
.page > main,
.page > aside {
  min-width: 0;
}
@media (max-width: 720px) {
  .page {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 1rem;
  }
  .track-sidebar { order: 1; }
}
@media (max-width: 600px) {
  /* Ocultar nav del topbar, solo logo */

  /* Botón rastrear: solo ícono */
  .folio-btn-label { display: none; }
  .folio-btn {
    width: 38px; height: 38px;
    padding: 0;
    justify-content: center;
    flex-shrink: 0;
  }
  .folio-btn .ph { font-size: 16px; }

  .track-main {
    justify-content: flex-start;
    padding: 2.25rem 1rem 3.5rem;
  }

  .search-input-row {
    align-items: center;
    padding-inline: 1rem;
  }

  .search-input {
    min-width: 0;
  }
}
@media (max-width: 480px) {
  .search-input { font-size: 15px; }
  .how { gap: 1rem; }
  .hero-title { font-size: 26px; }
  .hero-sub { font-size: 14px; }
  .how-item { flex-basis: calc(50% - .5rem); }
  .how-item:last-child { flex-basis: 100%; }
}

/* ── HERO ── */
.hero { text-align: center; max-width: 520px; width: 100%; margin-bottom: 2rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 12px; font-weight: 500;
  padding: 5px 13px;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.8); }
}
.hero-title {
  font-size: clamp(26px, 5vw, 38px);
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.2;
  margin-bottom: .75rem;
  letter-spacing: -.02em;
}
.hero-sub {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto;
}

/* ── SEARCH BOX ── */
.box-wrap { max-width: 520px; width: 100%; }
.search-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06), 0 0 0 1px rgba(0,0,0,.04);
  margin-bottom: 1rem;
  margin:0px;
}
.search-label {
  padding: .9rem 1.25rem .4rem;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .07em;
}
.search-input-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 0 1.25rem 1.1rem;
}
.search-input {
  flex: 1;
  min-width: 0;
  border: none; outline: none;
  font-family: var(--font);
  font-size: 18px; font-weight: 500;
  color: var(--text-1);
  background: transparent;
  padding: 4px 0;
  letter-spacing: .02em;
}
.search-input::placeholder {
  color: var(--text-3); font-weight: 400; font-size: 16px;
}
.search-btn {
  display: flex; align-items: center; gap: 7px;
  background: var(--green); color: #fff;
  border: none; border-radius: var(--radius-sm);
  padding: .6rem 1.1rem;
  font-family: var(--font);
  font-size: 14px; font-weight: 600;
  cursor: pointer; white-space: nowrap; flex-shrink: 0;
  transition: background .15s, transform .1s;
}
.search-btn:hover   { background: var(--green-mid); }
.search-btn:active  { transform: scale(.97); }
.search-btn:disabled {
  background: var(--surface-2);
  color: var(--text-3);
  cursor: not-allowed;
}
.search-btn .ph { font-size: 16px; }
.search-footer {
  border-top: 1px solid var(--border);
  padding: .65rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-3);
}
.search-footer span,
.search-footer {
  min-width: 0;
}
.search-footer .ph { font-size: 14px; }

/* ── ERROR ── */
.search-error {
  display: none;
  align-items: center; gap: 8px;
  background: #FCEBEB;
  color: #4A1B0C;
  border-radius: var(--radius-md);
  padding: .7rem 1rem;
  font-size: 13px;
  margin-bottom: 1rem;
}
.search-error.visible { display: flex; }
.search-error .ph { color: #A32D2D; font-size: 16px; }

/* ── CHIPS ── */
.chips-label {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: .6rem;
  text-align: center;
}
.chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
}
.chip {
  display: flex; align-items: center; gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border-med);
  border-radius: 20px;
  padding: 5px 13px;
  font-size: 12px; font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  transition: all .15s;
}
.chip:hover {
  border-color: var(--green);
  color: var(--green-dark);
  background: var(--green-light);
}
.chip .ph { font-size: 13px; }

/* ── HOW IT WORKS ── */
.how {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  max-width: 520px;
}
.how-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px;
  text-align: center;
  flex: 1;
  min-width: 100px;
}
.how-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--green);
  margin-bottom: 2px;
}
.how-label { font-size: 15px; font-weight: 500; color: var(--text-1); }
.how-sub   { font-size: 12px; color: var(--text-3); line-height: 1.4; }

/* ── DISCLAIMER ── */
.disclaimer {
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
  margin-top: 2rem;
  max-width: 380px;
}
.disclaimer a { color: var(--green-mid); text-decoration: none; }
.disclaimer a:hover { text-decoration: underline; }

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 1.25rem;
  font-size: 11px;
  color: var(--text-3);
  border-top: 1px solid var(--border);
  background: var(--surface);
}

/* ── FOLIO CARD (inline) ── */
.folio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: .85rem 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.folio-back {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border: 1px solid var(--border-med);
  border-radius: var(--radius-sm);
  background: none; cursor: pointer;
  color: var(--text-2); font-size: 16px;
  flex-shrink: 0;
  transition: background .15s, color .15s;
  text-decoration: none;
}
.folio-back:hover { background: var(--surface-2); color: var(--text-1); }
.folio-input-box {
  flex: 1;
  display: flex;
  align-items: center;
  border: 1px solid var(--border-med);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .15s;
}
.folio-input-box:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(29,158,117,.12);
}
.folio-input-icon {
  padding: 0 .6rem 0 .75rem;
  color: var(--text-3); font-size: 15px;
  display: flex; align-items: center;
  pointer-events: none;
}
.folio-input {
  border: none; outline: none;
  font-family: var(--font);
  font-size: 14px; font-weight: 500;
  color: var(--text-1);
  background: transparent;
  padding: .45rem 0;
  flex: 1; letter-spacing: .03em; min-width: 0;
}
.folio-input::placeholder { color: var(--text-3); font-weight: 400; }
.folio-clear {
  background: none; border: none; cursor: pointer;
  color: var(--text-3); font-size: 15px;
  padding: 0 .55rem;
  display: none; align-items: center;
  transition: color .15s;
}
.folio-clear:hover { color: var(--text-1); }
.folio-clear.visible { display: flex; }
.folio-btn {
  display: flex; align-items: center; gap: 6px;
  background: var(--green); color: #fff;
  border: none; border-radius: var(--radius-sm);
  padding: .45rem .9rem;
  font-family: var(--font);
  font-size: 13px; font-weight: 600;
  cursor: pointer; white-space: nowrap; flex-shrink: 0;
  transition: background .15s, transform .1s;
}
.folio-btn:hover  { background: var(--green-mid); }
.folio-btn:active { transform: scale(.97); }
.folio-btn:disabled {
  background: var(--surface-2); color: var(--text-3); cursor: not-allowed;
}
.folio-btn .ph { font-size: 14px; }

/* ── NOT FOUND ── */
.not-found {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  text-align: center;
  gap: 1rem;
}
.not-found-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--red-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--red);
}
.not-found h2 { font-size: 18px; font-weight: 600; color: var(--text-1); }
.not-found p  { font-size: 14px; color: var(--text-2); max-width: 320px; line-height: 1.6; }
.not-found-back {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--green); color: #fff;
  border: none; border-radius: var(--radius-sm);
  padding: .6rem 1.25rem;
  font-family: var(--font); font-size: 14px; font-weight: 600;
  cursor: pointer; text-decoration: none;
  margin-top: .5rem;
  transition: background .15s;
}
.not-found-back:hover { background: var(--green-mid); }

/* ── PANEL BASE ── */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.panel-header {
  padding: .85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
}
.panel-title {
  font-size: 11px; font-weight: 600;
  color: var(--text-3); text-transform: uppercase; letter-spacing: .07em;
}
.panel-body { padding: 1.25rem; }

/* ── STATUS HERO ── */
.status-hero {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden; margin-bottom: 1rem;
}
.status-bar { height: 4px; width: 100%; }
.status-bar.delivered  { background: var(--green); }
.status-bar.in-transit { background: var(--amber); }
.status-bar.retry      { background: var(--amber); }
.status-bar.failed     { background: var(--red); }
.status-bar.pending    { background: var(--gray); }
.status-inner { padding: 1.1rem 1.25rem; }
.status-top {
  display: flex; align-items: flex-start;
  gap: 12px; margin-bottom: .9rem;
}
.status-icon {
  width: 46px; height: 46px;
  border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.status-icon.delivered  { background: var(--green-light); color: var(--green); }
.status-icon.in-transit { background: var(--amber-light); color: var(--amber); }
.status-icon.retry      { background: var(--amber-light); color: var(--amber); }
.status-icon.failed     { background: var(--red-light);   color: var(--red); }
.status-icon.pending    { background: var(--gray-light);  color: var(--gray); }
.status-text { flex: 1; min-width: 0; }
.status-badge {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 20px;
  margin-bottom: 4px; letter-spacing: .03em;
}
.status-badge.delivered  { background: var(--green-light); color: var(--green-dark); }
.status-badge.in-transit { background: var(--amber-light); color: var(--amber-dark); }
.status-badge.retry      { background: var(--amber-light); color: var(--amber-dark); }
.status-badge.failed     { background: var(--red-light);   color: var(--red-dark); }
.status-badge.pending    { background: var(--gray-light);  color: var(--gray-dark); }
.status-headline { font-size: 22px; font-weight: 600; color: var(--text-1); line-height: 1.3; }
.status-sub      { font-size: 13px; color: var(--text-2); margin-top: 3px; line-height: 1.4; }
.metrics-row {
  display: grid; grid-template-columns: repeat(2,1fr);
  border-top: 1px solid var(--border); padding-top: .9rem;
}
.metric { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.metric + .metric { border-left: 1px solid var(--border); padding-left: 1rem; }
.metric-label { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; }
.metric-value { font-size: 14px; font-weight: 500; color: var(--text-1); overflow-wrap: anywhere; }
.metric-value.green { color: var(--green); }
.metric-value.amber { color: var(--amber); font-weight: 600; }
.metric-value.muted { color: var(--text-2); }

/* ── TIME HIGHLIGHT ── */
.time-highlight {
  display: flex; align-items: center; gap: 14px;
  background: var(--amber-light);
  border: 1px solid rgba(186,117,23,.22);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}
.time-hl-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: rgba(186,117,23,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--amber);
}
.time-hl-label {
  font-size: 11px; font-weight: 600;
  color: var(--amber-dark);
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 3px;
}
.time-hl-value {
  font-size: 26px; font-weight: 700;
  color: var(--amber-dark); line-height: 1;
  letter-spacing: -.01em;
}

/* ── NOTICE ── */
.notice {
  display: flex; align-items: flex-start; gap: 10px;
  border-radius: var(--radius-md);
  padding: .75rem 1rem; margin-bottom: 1rem;
  font-size: 13px; line-height: 1.5;
}
.notice .ph { font-size: 17px; flex-shrink: 0; margin-top: 1px; }
.notice > div { min-width: 0; overflow-wrap: anywhere; }
.notice.green { background: var(--green-light); color: var(--green-dark); }
.notice.green .ph { color: var(--green); }
.notice.red   { background: var(--red-light);   color: var(--red-dark); }
.notice.red .ph { color: var(--red); }
.notice.amber { background: var(--amber-light); color: var(--amber-dark); }
.notice.amber .ph { color: var(--amber); }

/* ── TIMELINE ── */
.timeline { display: flex; flex-direction: column; }
.tl-step { display: flex; gap: 12px; }
.tl-spine { display: flex; flex-direction: column; align-items: center; width: 22px; flex-shrink: 0; }
.tl-dot {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; z-index: 1;
}
.tl-dot.done    { background: var(--green); }
.tl-dot.active  { background: var(--amber); }
.tl-dot.fail    { background: var(--red-light); border: 2px solid var(--red); }
.tl-dot.pending { background: var(--surface-2); border: 1.5px solid var(--border-med); }
.tl-dot .ph { font-size: 12px; }
.tl-dot.done .ph    { color: #fff; }
.tl-dot.active .ph  { color: #fff; }
.tl-dot.fail .ph    { color: var(--red); }
.tl-dot.pending .ph { color: var(--text-3); }
.tl-line { width: 2px; flex: 1; min-height: 10px; margin: 2px 0; }
.tl-line.done    { background: var(--green); }
.tl-line.active  { background: linear-gradient(var(--amber), var(--amber-light)); }
.tl-line.fail    { background: linear-gradient(var(--red), var(--red-light)); }
.tl-line.pending { background: var(--border); }
.tl-content { flex: 1; padding-bottom: 1.25rem; }
.tl-step:last-child .tl-content { padding-bottom: 0; }
.tl-name { font-size: 14px; font-weight: 500; color: var(--text-1); }
.tl-name.pending-text { color: var(--text-3); font-weight: 400; }
.tl-time { font-size: 12px; color: var(--text-3); margin-top: 1px; }
.tl-detail {
  font-size: 12px; color: var(--text-2);
  margin-top: 4px; line-height: 1.5;
  background: var(--surface-2);
  border-radius: 6px; padding: 5px 8px;
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* ── ATTEMPTS ── */
.attempts {
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  overflow: hidden; margin-bottom: 1rem; background: var(--surface);
}
.attempts-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1.25rem; cursor: pointer; user-select: none;
  transition: background .15s;
}
.attempts-header:hover { background: var(--surface-2); }
.attempts-left { display: flex; align-items: center; gap: 8px; }
.attempts-left .ph { font-size: 17px; color: var(--text-2); }
.attempts-lbl { font-size: 14px; font-weight: 500; color: var(--text-1); }
.attempts-count { font-size: 12px; color: var(--text-3); margin-left: 4px; }
.attempts-chev { font-size: 17px; color: var(--text-3); transition: transform .2s; }
.attempts-chev.open { transform: rotate(180deg); }
.attempts-body { border-top: 1px solid var(--border); padding: .75rem 1.25rem; display: none; }
.attempts-body.open { display: block; }
.attempt-item { display: flex; gap: 10px; padding: .6rem 0; }
.attempt-item + .attempt-item { border-top: 1px solid var(--border); }
.attempt-num {
  width: 24px; height: 24px; border-radius: 50%;
  font-size: 11px; font-weight: 600; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.attempt-num.fail { background: var(--red-light); color: var(--red); }
.attempt-num.ok   { background: var(--green-light); color: var(--green-dark); }
.attempt-details { flex: 1; }
.attempt-date { font-size: 13px; font-weight: 500; color: var(--text-1); }
.attempt-note { font-size: 12px; color: var(--text-2); margin-top: 1px; }

/* ── EVIDENCES ── */
.evidences-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 8px;
}
.evidence-thumb {
  aspect-ratio: 1; border-radius: 8px; object-fit: cover;
  width: 100%; border: 1px solid var(--border);
  cursor: pointer; transition: opacity .15s;
}
.evidence-thumb:hover { opacity: .85; }

/* ── SIDEBAR ── */
.track-sidebar { display: flex; flex-direction: column; gap: 1rem; }

/* Demo controls */
.demo-panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1rem 1.25rem;
}
.demo-panel-title {
  font-size: 11px; font-weight: 600; color: var(--text-3);
  text-transform: uppercase; letter-spacing: .07em;
  margin-bottom: .75rem;
  display: flex; align-items: center; gap: 6px;
}
.demo-panel-title .ph { font-size: 14px; }
.state-btns { display: flex; flex-direction: column; gap: 6px; }
.state-btn {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: .6rem .9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface); cursor: pointer;
  font-size: 13px; font-weight: 500; color: var(--text-2);
  transition: all .15s; text-align: left;
}
.state-btn:hover { background: var(--surface-2); color: var(--text-1); }
.state-btn.active { background: var(--text-1); color: #fff; border-color: var(--text-1); }
.state-btn .ph { font-size: 16px; }
.state-btn-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0; margin-left: auto;
}
.state-btn.active .state-btn-dot { background: rgba(255,255,255,.4); }

/* Info card */
.info-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1rem 1.25rem;
}
.info-card-title {
  font-size: 11px; font-weight: 600; color: var(--text-3);
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: .85rem;
}
.info-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: .45rem 0;
}
.info-row + .info-row { border-top: 1px solid var(--border); }
.info-row-label {
  font-size: 12px; color: var(--text-3);
  display: flex; align-items: center; gap: 6px;
}
.info-row-label .ph { font-size: 14px; }
.info-row-value {
  font-size: 13px; font-weight: 500; color: var(--text-1);
  text-align: right; max-width: 55%;
  overflow-wrap: anywhere;
}

/* Help */
.help-btns { display: flex; flex-direction: column; gap: 8px; }
.help-btn {
  display: flex; align-items: center; gap: 8px;
  padding: .7rem 1rem;
  border: 1px solid var(--border-med);
  border-radius: var(--radius-sm);
  background: var(--surface); cursor: pointer;
  font-size: 13px; font-weight: 500; color: var(--text-1);
  text-decoration: none; transition: background .15s;
}
.help-btn:hover { background: var(--surface-2); }
.help-btn .ph { font-size: 16px; color: var(--text-2); }
.help-btn-arrow { margin-left: auto; font-size: 14px; color: var(--text-3); }

/* ── LIGHTBOX ── */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,.8);
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(255,255,255,.15); border: none; cursor: pointer;
  color: #fff; width: 40px; height: 40px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }

/* ── LOADING ── */
.loading-state {
  grid-column: 1 / -1;
  display: flex; flex-direction: column; align-items: center;
  padding: 4rem 1rem; gap: 1rem; text-align: center;
}
.loading-spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { font-size: 14px; color: var(--text-2); }

@media (max-width: 600px) {
  .search-btn {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
    font-size: 0;
  }

  .search-btn .ph {
    font-size: 18px;
  }

  .tl-name {
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .track-main {
    padding-inline: .85rem;
  }

  .search-input-row {
    gap: 8px;
    padding-inline: 1rem;
  }

  .search-label,
  .search-footer {
    padding-inline: 1rem;
  }

  .folio-card {
    padding: .75rem;
    gap: 8px;
  }

  .status-inner,
  .panel-body,
  .panel-header {
    padding-inline: 1rem;
  }
}
