/* ============================================================
   PEDIDOS CUSTOMER CSS v2
   Visual: Offwhite quente, Poppins, sombras decididas, split-view desktop
   PRESERVA todos os nomes de classe/IDs usados pelo JS.
   ============================================================ */

/* ── BASE & PAGE ── */

body {
  font-family: var(--font-body);
  margin: 0;
  padding: 0;
  background-color: var(--bg-primary);
  background-image: url('../pedidos/assets/paper-grain.svg');
  background-repeat: repeat;
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── CLOUDS PATTERN (nuvens animadas — idêntico à Home Admin) ── */

@keyframes cloud-float {
  from { transform: translateX(-300px); }
  to   { transform: translateX(calc(100vw + 300px)); }
}

.clouds-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.clouds-container .cloud {
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  animation: cloud-float linear infinite;
  left: -300px;
}

.clouds-container .cloud.flipped {
  transform: scaleX(-1);
}

.clouds-container .cloud.layer-front {
  z-index: 3;
  animation-duration: 51s;
  filter: brightness(0.25) contrast(1.1) saturate(0);
  opacity: 0.12;
}

.clouds-container .cloud.layer-mid {
  z-index: 2;
  animation-duration: 60s;
  filter: brightness(0.3) contrast(1.05) saturate(0);
  opacity: 0.10;
}

.clouds-container .cloud.layer-back {
  z-index: 1;
  animation-duration: 72s;
  filter: brightness(0.35) contrast(1.0) saturate(0);
  opacity: 0.08;
}

.clouds-container .cloud-1 { background-image: url('../../../imagens/nuvem-1.png'); }
.clouds-container .cloud-2 { background-image: url('../../../imagens/nuvem-2.png'); }
.clouds-container .cloud-3 { background-image: url('../../../imagens/nuvem-3.png'); }

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

/* ── Z-INDEX para conteúdo acima do pattern ── */
.site-header,
.main-container,
.menu-flutuante-container,
.back-link {
  position: relative;
  z-index: 1;
}

/* ── HEADER OVERRIDES (transparente como original) ── */

.site-header {
  background: transparent !important;
  border-bottom: none;
  box-shadow: none;
}

.site-header .header-btn {
  background: var(--primary) !important;
  color: #fff !important;
  border: 2px solid var(--primary) !important;
  border-radius: 999px;
  font-weight: 500;
  font-size: 13px;
  padding: 8px 16px;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 6px rgba(44, 82, 130, 0.15);
}

.site-header .header-btn:hover {
  background: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(44, 82, 130, 0.22);
}

.site-header .header-btn i,
.site-header .header-btn img {
  color: #fff !important;
}

.site-header .header-btn:hover i,
.site-header .header-btn:hover img {
  color: #fff !important;
}

.site-header .header-btn.loja-rapida-destaque {
  background: #fff !important;
  color: var(--primary) !important;
  border: 2px solid var(--primary) !important;
  box-shadow: var(--shadow-md);
  font-weight: 600;
}

.site-header .header-btn.loja-rapida-destaque i {
  color: var(--primary) !important;
}

.site-header .header-btn.loja-rapida-destaque:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
  box-shadow: var(--shadow-lg);
}

.site-header .header-btn.loja-rapida-destaque:hover i {
  color: #fff !important;
}

/* ── CONTAINERS ── */

.main-container {
  max-width: 700px;
  margin: 32px auto;
  padding: 0 48px;
  overflow: visible;
}

.main-container:has(.auth-container) {
  max-width: 720px;
}

.main-container:has(.access-container) {
  max-width: 1060px;
}

.main-container.wide {
  max-width: 1200px;
  padding: 0 48px;
  overflow: visible;
}

/* ── GREETING ── */

.greeting {
  margin-bottom: 28px;
  text-align: center;
}

.greeting__name {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
  margin: 0 0 6px;
}

.greeting__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* ── HEADER SECTION ── */

.header-section {
  background: var(--card-bg);
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.header-section h1 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.header-section p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 14px;
}

.access-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
}

.access-simple {
  background: var(--info-light);
  color: var(--info);
  border: 1px solid rgba(41, 104, 168, 0.2);
}

.access-complete {
  background: var(--success-light);
  color: var(--success);
  border: 1px solid rgba(45, 122, 74, 0.2);
}

/* ── STATUS HERO ── */

.status-hero {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  border: 1px solid rgba(var(--theme-rgb), 0.2);
  box-shadow: 0 12px 36px rgba(var(--theme-rgb), 0.1), 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  margin-bottom: 24px;
  animation: heroFadeUp 0.4s var(--transition-smooth) both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.status-hero__icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 18px;
  background: rgba(var(--theme-rgb), 0.1);
  color: var(--theme-color);
  box-shadow: 0 4px 12px rgba(var(--theme-rgb), 0.12);
}

.status-hero__eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--theme-color);
  margin: 0 0 8px;
}

.status-hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text-primary);
  margin: 0 0 10px;
}

.status-hero__desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* ── SPLIT VIEW LAYOUT (desktop) ── */

.split-layout {
  display: block;
}

.split-layout__left {
  width: 100%;
}

.split-layout__right {
  width: 100%;
  min-width: 0;
}

.split-layout__right .timeline-container {
  display: block !important;
  box-shadow: var(--shadow-md);
}

@media (min-width: 769px) {
  .split-layout--active {
    display: flex;
    gap: 28px;
    align-items: flex-start;
  }
  .split-layout--active .split-layout__left {
    flex: 0 0 440px;
    max-width: 440px;
    position: sticky;
    top: 24px;
    overflow-y: auto;
    max-height: calc(100vh - 48px);
    padding: 10px 40px;
    margin: -10px -40px;
  }
  .split-layout--active .split-layout__right {
    flex: 1;
    min-width: 0;
    animation: fadeInRight 0.35s cubic-bezier(0.4, 0, 0.2, 1) both;
  }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ── ORDERS LIST ── */

.orders-list {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 4px 6px;
  margin-bottom: 24px;
}

.orders-list h2 {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
}

.orders-list h2 i {
  color: var(--theme-color);
  font-size: 14px;
}

/* ── ORDER ITEM ── */

.order-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-normal), border-color var(--transition-fast), background 0.3s ease, color 0.2s ease;
  position: relative;
  overflow: visible;
  box-shadow: var(--shadow-sm);
}

.order-item::before {
  display: none !important;
}

.order-item > * {
  position: relative;
  z-index: 1;
}

.order-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.order-item.active:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.order-item.active {
  border-color: transparent;
  background: var(--theme-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  color: #fff;
}

.order-item.active .order-id { color: #fff; }
.order-item.active .order-header i { color: rgba(255, 255, 255, 0.85); }
.order-item.active .info-label { color: rgba(255, 255, 255, 0.7); }
.order-item.active .info-value { color: #fff; font-weight: 700; }
.order-item.active .products-label { color: rgba(255, 255, 255, 0.7); }
.order-item.active .product-tag {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.order-item.active .order-products { border-color: rgba(255, 255, 255, 0.2); }
.order-item.active .order-badge-address,
.order-item.active .order-badge-school,
.order-item.active .order-badge-direction,
.order-item.active .order-badge-channel {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.order-item.active .order-badge-status {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.order-id {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-mono);
}

/* ── ORDER BADGES ── */

.order-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.3;
}

.order-badge i { font-size: 9px; }

.order-badge-address {
  background: var(--info-light);
  color: var(--info);
  border: 1px solid rgba(41, 104, 168, 0.2);
}

.order-badge-school {
  background: rgba(124, 58, 237, 0.08);
  color: #5b21b6;
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.order-badge-manual {
  background: rgba(139, 115, 85, 0.08);
  color: #7a5e38;
  border: 1px solid rgba(139, 115, 85, 0.2);
}

.order-badge-type {
    background: rgba(124, 58, 237, 0.12);
    color: #6d28d9;
    border: 1px solid rgba(124, 58, 237, 0.25);
}

.order-badge-type--replacement { background: rgba(124, 58, 237, 0.12); color: #6d28d9; border-color: rgba(124, 58, 237, 0.25); }
.order-badge-type--exchange_partial,
.order-badge-type--exchange_total { background: rgba(41, 104, 168, 0.12); color: #1e5a8f; border-color: rgba(41, 104, 168, 0.25); }
.order-badge-type--resend { background: rgba(184, 134, 11, 0.12); color: #8b6914; border-color: rgba(184, 134, 11, 0.25); }
.order-badge-type--split { background: rgba(107, 114, 128, 0.12); color: #4b5563; border-color: rgba(107, 114, 128, 0.25); }

.timeline-derived-intro {
    border-radius: var(--radius-md);
    margin-bottom: 4px;
}
.timeline-derived-intro--replacement { background: linear-gradient(135deg, rgba(124, 58, 237, 0.95), rgba(91, 33, 182, 0.95)); border-color: #7c3aed; }
.timeline-derived-intro--exchange_partial { background: linear-gradient(135deg, rgba(41, 104, 168, 0.95), rgba(30, 90, 143, 0.95)); border-color: #2968a8; }
.timeline-derived-intro--resend { background: linear-gradient(135deg, rgba(184, 134, 11, 0.95), rgba(139, 105, 20, 0.95)); border-color: #b8860b; }
.timeline-derived-intro--split { background: linear-gradient(135deg, rgba(75, 85, 99, 0.95), rgba(55, 65, 81, 0.95)); border-color: #6b7280; }
.timeline-derived-intro .timeline-title,
.timeline-derived-intro .timeline-description,
.timeline-derived-intro .timeline-description i { color: #fff !important; }
.timeline-derived-intro .timeline-btn { background: #fff !important; color: #333 !important; }

.order-badge-direction.order-badge-forward {
  background: rgba(44, 82, 130, 0.1);
  color: var(--primary);
  border: 1px solid rgba(44, 82, 130, 0.22);
}

.order-badge-reverse,
.order-badge-direction.order-badge-reverse {
  background: var(--danger-light);
  color: var(--danger);
  border: 1px solid rgba(192, 57, 43, 0.2);
}

.order-badge-channel--granular {
  background: var(--info-light);
  color: var(--info);
  border: 1px solid rgba(41, 104, 168, 0.2);
}

.order-badge-channel--grouped {
  background: rgba(124, 58, 237, 0.08);
  color: #5b21b6;
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.order-badge-channel--manual {
  background: rgba(139, 115, 85, 0.08);
  color: #7a5e38;
  border: 1px solid rgba(139, 115, 85, 0.2);
}

.status-hero__badges,
.timeline-order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 10px 0 14px;
}

.timeline-order-meta {
  margin-top: 8px;
  margin-bottom: 0;
}

.order-badge-status {
  color: #fff;
  border: none;
  font-weight: 600;
}

.order-badge-status.status-yellow {
  color: #1a1816 !important;
}

/* ── ORDER INFO GRID ── */

.order-info {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 12px;
}

.info-item { text-align: center; }

.info-label {
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.info-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

/* ── ORDER PRODUCTS ── */

.order-products {
  border-top: 1px solid var(--border-light);
  padding-top: 10px;
}

.products-label {
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.product-list { display: flex; flex-wrap: wrap; gap: 6px; }

.product-tag {
  background: var(--bg-surface);
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  border: 1px solid var(--border-color);
}

/* ── ORDER DETAILS ── */

.order-details {
  background: transparent;
  padding: 0;
  margin-bottom: 24px;
  display: none;
  color: var(--text-primary);
}

.order-details.show {
  display: block;
  animation: slideDown 0.3s var(--transition-smooth) both;
}

.order-details-title {
  text-align: center;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.order-details-title i { color: var(--theme-color); font-size: 14px; }

/* ── DETAIL WRAPPER ── */

.detail-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--text-primary);
  width: 100%;
}

/* ── DETAIL CARD ── */

.detail-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.detail-card-title {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 14px 22px;
  margin-bottom: 0;
  color: var(--text-primary);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
}

.detail-card-title i { font-size: 14px; color: var(--theme-color); }

/* ── DETAIL INFO LIST ── */

.detail-info-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 6px 22px;
}

.detail-info-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 0;
  background: transparent;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--border-light);
}

.detail-info-row:last-child { border-bottom: none; }

.detail-info-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: left;
  width: 100%;
}

.detail-info-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  text-align: left;
  width: 100%;
}

/* ── CARRINHO ITEMS ── */

.detail-wrapper .carrinho-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 6px 22px;
}

.detail-wrapper .carrinho-item {
  border-radius: 0;
  border: none !important;
  padding: 14px 0;
  background: transparent !important;
  backdrop-filter: none;
  color: var(--text-primary) !important;
  position: relative;
  border-bottom: 1px solid var(--border-light) !important;
}

.detail-wrapper .carrinho-item:last-child { border-bottom: none !important; }
.detail-wrapper .carrinho-item.cupom { background: transparent !important; border: none !important; border-bottom: 1px solid var(--border-light) !important; }
.detail-wrapper .carrinho-item.frete { border: none !important; background: transparent !important; border-bottom: 1px solid var(--border-light) !important; }

.detail-wrapper .carrinho-item-info { align-items: flex-start; }
.detail-wrapper .carrinho-item-nome { font-weight: 600; font-size: 14px; color: var(--text-primary); }
.detail-wrapper .carrinho-item-detalhes { color: var(--text-secondary); font-weight: 400; font-size: 12px; }
.detail-wrapper .carrinho-filhos-vinculados { color: var(--text-primary); }
.detail-wrapper .carrinho-filhos-vinculados span { color: var(--text-primary); font-weight: 500; }

.detail-wrapper .carrinho-item-preco { position: static; display: flex; align-items: center; justify-content: flex-end; min-width: 110px; }
.detail-wrapper .item-prices { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.detail-wrapper .item-price-original { color: var(--text-muted); text-decoration: line-through; font-size: 12px; font-weight: 500; }
.detail-wrapper .item-price-final { color: var(--success); font-size: 14px; font-weight: 700; }
.detail-wrapper .coupon-value { color: var(--warning); font-weight: 700; }
.detail-wrapper .freight-value { color: var(--success); font-weight: 600; }

/* ── DETAIL TOTAL ── */

.detail-total-divider { height: 0; margin: 0; background: transparent; }

.detail-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.detail-total-row span:first-child { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.detail-total { color: var(--success); font-weight: 700; font-size: 1.4rem; line-height: 1; }

/* ── TIMELINE CONTAINER ── */

.timeline-container {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px;
  margin-bottom: 24px;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.timeline-container.show {
  animation: slideDown 0.35s var(--transition-smooth) both;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.timeline-header { text-align: center; margin-bottom: 28px; }
.timeline-header h3 { color: var(--text-primary); font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.timeline-order-id { color: var(--text-muted); font-size: 12px; font-family: var(--font-mono); }

/* ── TIMELINE ── */

.timeline { position: relative; max-width: 650px; margin: 0 auto; }

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  background: var(--border-color);
  transform: translateX(-50%);
  border-radius: 1px;
  height: var(--timeline-height, calc(100% - 60px));
  z-index: 0;
}

.timeline::after {
  content: '';
  position: absolute;
  left: 50%;
  top: var(--dashed-line-start, calc(var(--timeline-height, 0px) + 25px));
  width: 2px;
  min-height: 40px;
  height: calc(100% - var(--dashed-line-start, calc(var(--timeline-height, 0px) + 25px)));
  background-image: repeating-linear-gradient(
    to bottom,
    var(--border-color) 0px, var(--border-color) 5px,
    transparent 5px, transparent 10px
  );
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}

.timeline-item { position: relative; margin: 20px 0; width: 100%; z-index: 10; }

/* ── TIMELINE CONTENT ── */

.timeline-content {
  background: var(--card-bg);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
  width: 43%;
  border: 1px solid var(--border-color);
  transition: transform var(--transition-fast), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) .timeline-content { margin-left: 0; margin-right: auto; }
.timeline-item:nth-child(even) .timeline-content { margin-left: auto; margin-right: 0; }
.timeline-content:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Completed */
.timeline-content.completed {
  border-color: var(--border-color);
  background: var(--bg-surface);
}
.timeline-content.completed * { color: var(--text-secondary) !important; }
.timeline-content.completed .timeline-title { color: var(--text-primary) !important; font-weight: 600; }
.timeline-content.completed .btn-download,
.timeline-content.completed .btn-track { background: var(--theme-color) !important; color: #fff !important; border: none !important; box-shadow: var(--shadow-sm); border-radius: var(--radius-sm); }
.timeline-content.completed .btn-download *,
.timeline-content.completed .btn-track * { color: #fff !important; }

/* Current */
.timeline-content.current {
  border: none;
  background: var(--theme-color);
  box-shadow: var(--shadow-md);
}
.timeline-content.current * { color: #fff !important; }
.timeline-content.current .timeline-title { color: #fff !important; font-weight: 700; }
.timeline-content.current .timeline-date { color: rgba(255, 255, 255, 0.7) !important; }
.timeline-content.current .timeline-date i { color: rgba(255, 255, 255, 0.7) !important; }

.timeline-item:has(.timeline-content.current)::after {
  content: 'Etapa Atual';
  position: absolute;
  top: 50%;
  padding: 5px 12px;
  background: var(--theme-color);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 2;
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.timeline-item:nth-child(odd):has(.timeline-content.current)::after { left: 50%; transform: translate(32px, -50%); }
.timeline-item:nth-child(even):has(.timeline-content.current)::after { right: 50%; transform: translate(-32px, -50%); }

.timeline-content.current .btn-download,
.timeline-content.current .btn-track { background: #fff !important; color: var(--theme-color) !important; border: none !important; border-radius: var(--radius-sm); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); }
.timeline-content.current .btn-download *,
.timeline-content.current .btn-track * { color: var(--theme-color) !important; }

/* Pending (etapas futuras) */
.timeline-content.pending {
  border: 2px dashed rgba(var(--theme-rgb), 0.4);
  background: var(--card-bg);
  color: var(--text-secondary) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  box-shadow: var(--shadow-sm);
  opacity: 1;
}
.timeline-content.pending * { color: var(--text-secondary) !important; }
.timeline-content.pending .timeline-title {
  margin-bottom: 0;
  text-align: center;
  padding-left: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary) !important;
}
.timeline-content.pending .timeline-title::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--border-color);
  border-top: 2px solid var(--theme-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  flex-shrink: 0;
  margin-left: -32px;
}
.timeline-content.pending .timeline-description, .timeline-content.pending .timeline-date, .timeline-content.pending .timeline-actions { display: none; }

/* Rejected */
.timeline-content.rejected { border-color: rgba(192, 57, 43, 0.3); background: var(--danger-light); }
.timeline-content.rejected * { color: var(--danger) !important; }
.timeline-content.rejected .timeline-title { font-weight: 700; }

/* Special blocks */
.timeline-content.canceling-block { border-color: rgba(192, 57, 43, 0.25); background: var(--danger-light); }
.timeline-content.canceling-block * { color: var(--danger) !important; }
.timeline-content.refunded-block { border-color: rgba(45, 122, 74, 0.25); background: var(--success-light); }
.timeline-content.refunded-block * { color: var(--success) !important; }
.timeline-content.exchanging-block { border-color: rgba(41, 104, 168, 0.25); background: var(--info-light); }
.timeline-content.exchanging-block * { color: var(--info) !important; }

/* ── TIMELINE ICONS ── */

.timeline-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  z-index: 20;
  border: 3px solid var(--card-bg);
  box-shadow: var(--shadow-sm);
}

.timeline-icon.completed { background: var(--bg-surface); color: var(--text-muted); }
.timeline-icon.current { background: var(--theme-color); color: #fff; animation: pulse 2.5s ease-in-out infinite; }
.timeline-icon.pending {
  background: var(--card-bg);
  color: var(--text-secondary);
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.timeline-icon.rejected { background: var(--danger); color: #fff; }

.timeline-item:has(.timeline-icon.pending)::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-primary);
  z-index: 5;
  pointer-events: none;
}

@keyframes pulse {
  0% { box-shadow: var(--shadow-sm), 0 0 0 0 rgba(30, 58, 95, 0.4); }
  70% { box-shadow: var(--shadow-sm), 0 0 0 8px rgba(30, 58, 95, 0); }
  100% { box-shadow: var(--shadow-sm), 0 0 0 0 rgba(30, 58, 95, 0); }
}

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ── TIMELINE TEXT ── */

.timeline-content .timeline-title { font-size: 14px; font-weight: 600; margin-bottom: 6px; line-height: 1.3; }
.timeline-description { font-size: 12px; line-height: 1.5; margin-bottom: 8px; color: var(--text-secondary); }
.timeline-date { font-size: 11px; color: var(--text-muted); margin: 0; }
.timeline-date i { margin-right: 4px; }
.timeline-actions + .timeline-date { margin-top: 16px; padding-top: 0; }

.timeline-tracking { margin-top: 10px; width: 100%; }
.timeline-tracking p { margin: 0; line-height: 1.5; }
.timeline-tracking-code {
  font-family: var(--font-mono);
  background: rgba(0, 0, 0, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
}
.timeline-content.current .timeline-tracking-code {
  background: rgba(255, 255, 255, 0.2);
}

/* ── TIMELINE ACTIONS ── */

.timeline-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 0;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
  clear: both;
}

.timeline-btn {
  padding: 7px 14px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 34px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.btn-download, .btn-download:visited, .btn-download:active {
  background: var(--theme-color) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: var(--shadow-sm);
  text-decoration: none !important;
  border-radius: var(--radius-sm);
}
.btn-download:hover { filter: brightness(0.85); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-download i { color: #fff !important; font-size: 11px; }

.btn-track { background: var(--theme-color) !important; color: #fff !important; border: none !important; box-shadow: var(--shadow-sm); text-decoration: none !important; border-radius: var(--radius-sm); }
.btn-track:hover { filter: brightness(0.85); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-track i { color: #fff !important; font-size: 11px; }

.rejection-details { margin: 10px 0; padding: 10px 12px; background: rgba(192, 57, 43, 0.05); border-radius: var(--radius-sm); border-left: 3px solid var(--danger); }
.rejection-details p { margin: 3px 0; font-size: 12px; }

/* ── BACK SECTION & BUTTON ── */

.back-section {
  text-align: center;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.back-link {
  text-align: center;
  margin-top: 24px;
}

.back-link a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  background: var(--card-bg);
  padding: 10px 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.back-link a:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ── INFO BOX ── */

.info-box {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin: 32px auto 0;
  max-width: 650px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.info-box h3 { color: var(--text-primary); font-size: 16px; font-weight: 600; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.info-box h3 i { color: var(--primary); }
.info-box p { color: var(--text-secondary); line-height: 1.7; font-size: 14px; text-align: left; margin: 0; }

/* ── AUTH CONTAINER (meus-pedidos) ── */

.auth-container {
  max-width: 620px;
  margin: 60px auto;
  background: var(--card-bg);
  padding: 56px 56px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.auth-header { text-align: center; margin-bottom: 32px; }
.auth-header h1 { font-family: var(--font-display); color: var(--text-primary); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 600; margin-bottom: 12px; letter-spacing: -0.02em; }
.auth-header p { color: var(--text-secondary); font-size: 17px; margin: 0 auto; max-width: 440px; line-height: 1.5; }

.auth-icon {
  width: 72px;
  height: 72px;
  background: var(--accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  color: var(--primary);
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.1);
}

.auth-container label[for="cpf"] { color: var(--text-primary) !important; font-weight: 600 !important; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px !important; display: block !important; text-align: center !important; }
.form-group { text-align: center; margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 8px; }

.cpf-input {
  width: 100%;
  max-width: 400px;
  margin: 14px auto 22px auto !important;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  font-size: 18px;
  text-align: center !important;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  display: block;
  font-weight: 500;
  font-family: var(--font-body);
  background: var(--card-bg);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.cpf-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1), var(--shadow-sm); }

.btn-auth {
  width: 100%;
  max-width: 400px;
  margin: 18px auto;
  padding: 18px 28px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-body);
}

.btn-auth:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-auth:disabled { background: var(--border-color); color: var(--text-muted); cursor: not-allowed; transform: none; box-shadow: none; }
.btn-auth.loading { pointer-events: none; }
.btn-auth.loading::after { content: ''; width: 16px; height: 16px; border: 2px solid transparent; border-top: 2px solid #fff; border-radius: 50%; animation: spin 0.8s linear infinite; margin-left: 6px; }

#cpfForm { position: relative; background: transparent; border-radius: var(--radius-md); padding: 14px 0; margin: 14px 0; }
#cpfForm::before { display: none !important; }

/* ── ACCESS CONTAINER (escolher-acesso) ── */

.access-container {
  max-width: 960px;
  margin: 36px auto;
  background: var(--card-bg);
  padding: 56px 64px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.access-header { text-align: center; margin-bottom: 36px; }
.access-header h1 { font-family: var(--font-display); color: var(--text-primary); font-size: clamp(1.7rem, 3.5vw, 2.3rem); font-weight: 600; margin-bottom: 12px; letter-spacing: -0.02em; }
.access-header p { color: var(--text-secondary); font-size: 17px; line-height: 1.5; }

.pedidos-info { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 22px; margin-bottom: 30px; text-align: center; }
.pedidos-info h3 { color: var(--text-primary); font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.pedidos-count { background: var(--primary); color: #fff; display: inline-block; padding: 6px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; }

.access-options { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-bottom: 32px; }

.access-option {
  background: var(--card-bg);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: visible;
  box-shadow: var(--shadow-sm);
}

.access-option::before { display: none !important; }
.access-option:hover { border-color: var(--primary-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.access-option.selected {
  border-color: var(--primary);
  background: rgba(30, 58, 95, 0.03);
  box-shadow: 0 0 0 2px var(--primary), var(--shadow-md);
}

.option-icon {
  width: 64px;
  height: 64px;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
  color: var(--primary);
  box-shadow: 0 3px 8px rgba(30, 58, 95, 0.08);
}

.access-option.selected .option-icon { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(30, 58, 95, 0.2); }
.option-title { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--text-primary); }
.access-option.selected .option-title { color: var(--primary); }
.option-description { font-size: 16px; line-height: 1.55; color: var(--text-secondary); margin-bottom: 20px; }
.option-features { list-style: none; padding: 0; margin: 0; text-align: left; }
.option-features li { padding: 7px 0; color: var(--text-secondary); font-size: 15px; }
.option-features li i { width: 18px; margin-right: 10px; color: var(--success); }
.access-option.selected .option-features li i { color: var(--primary); }

.email-verification { background: var(--warning-light); border: 1px solid rgba(184, 134, 11, 0.25); border-radius: var(--radius-md); padding: 22px; margin: 18px 0; display: none; }
.email-verification.show { display: block; }
.email-verification h4 { color: var(--warning); font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.email-verification p { color: var(--text-secondary); margin-bottom: 12px; font-size: 14px; line-height: 1.5; }
.verification-input { display: flex; gap: 10px; margin-bottom: 12px; }
.verification-input input { flex: 1; padding: 12px 14px; border: 1.5px solid var(--border-color); border-radius: var(--radius-sm); font-size: 15px; font-family: var(--font-body); }
.verification-input input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.08); }
.btn-verify { background: var(--success); color: #fff; border: none; padding: 12px 18px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; cursor: pointer; }
.btn-verify:hover { filter: brightness(0.9); }

.btn-action {
  width: 100%;
  padding: 18px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-body);
}

.btn-action:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-action:disabled { background: var(--bg-surface); color: var(--text-light); cursor: not-allowed; transform: none; box-shadow: none; border: 1.5px solid var(--border-color); }

/* ── COMPLETE INFO ── */

.complete-info { background: var(--success-light); border: 1px solid rgba(45, 122, 74, 0.2); border-radius: var(--radius-md); padding: 14px 18px; margin-bottom: 18px; text-align: center; }
.complete-info h3 { color: var(--success); font-size: 13px; font-weight: 600; margin-bottom: 4px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.complete-info p { color: var(--text-secondary); margin: 0; font-size: 12px; }

/* ── MESSAGES ── */

.error-message { background: var(--danger-light); color: var(--danger); padding: 12px 14px; border-radius: var(--radius-sm); margin: 14px 0; border: 1px solid rgba(192, 57, 43, 0.2); display: none; font-size: 13px; font-weight: 500; }
.success-message { background: var(--success-light); color: var(--success); padding: 12px 14px; border-radius: var(--radius-sm); margin: 14px 0; border: 1px solid rgba(45, 122, 74, 0.2); display: none; font-size: 13px; font-weight: 500; }

/* ── MISC ELEMENTS ── */

.order-status { padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 600; color: #fff; }
.product-complete { display: block; background: transparent; padding: 12px 0; border: none; border-bottom: 1px solid var(--border-light); }
.product-complete:last-child { border-bottom: none; }
.product-thumbnail { width: 44px; height: 44px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--border-light); }
.product-name { font-weight: 600; color: var(--text-primary); font-size: 13px; }
.product-children, .product-quantity { color: var(--text-muted); font-size: 11px; }

.timeline-section { margin-top: 20px; }
.timeline-section > .timeline-title { font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 20px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.timeline-section > .timeline-title i { color: var(--theme-color); font-size: 13px; }

.coupon-code { font-family: var(--font-mono); letter-spacing: 1px; background: var(--bg-surface); padding: 2px 6px; border-radius: 4px; border: 1px solid var(--border-color); font-size: 11px; }
.discount-amount { color: var(--danger) !important; font-weight: 700 !important; }
.savings-amount { color: var(--success) !important; font-weight: 700 !important; }

.access-type { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; padding: 10px 14px; background: var(--bg-surface); border-radius: var(--radius-sm); border: 1px solid var(--border-light); }
.access-icon { color: var(--primary); font-size: 14px; margin-top: 3px; flex-shrink: 0; }
.access-text { font-size: 14px; line-height: 1.5; color: var(--text-secondary); }
.access-text strong { color: var(--text-primary); }

/* ── FLOATING MENU ── */

.menu-flutuante-container { position: fixed; bottom: 24px; right: 24px; z-index: 1000; }

#btn-menu-flutuante {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

#btn-menu-flutuante:hover { transform: scale(1.05); box-shadow: 0 8px 24px rgba(44, 82, 130, 0.25); }

/* Menu option color overrides — ID selectors para vencer style.css !important */
#btn-flutuante-carrinho,
#btn-flutuante-carrinho.menu-opcao {
  background-color: var(--primary) !important;
  color: #fff !important;
  box-shadow: var(--shadow-md) !important;
  font-weight: 500 !important;
  border: none !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  border-radius: 28px !important;
}

#btn-flutuante-carrinho:hover,
#btn-flutuante-carrinho.menu-opcao:hover {
  background-color: var(--primary-dark) !important;
  color: #fff !important;
  box-shadow: var(--shadow-lg) !important;
  transform: translateX(-5px) !important;
}

#btn-flutuante-carrinho i,
#btn-flutuante-carrinho.menu-opcao i {
  color: #fff !important;
}

#btn-flutuante-carrinho:hover i,
#btn-flutuante-carrinho.menu-opcao:hover i {
  color: #fff !important;
}

.menu-flutuante-opcoes .menu-opcao,
.menu-flutuante-opcoes .menu-opcao.ajuda,
.menu-flutuante-opcoes .menu-opcao.pedidos,
.menu-flutuante-opcoes .menu-opcao.whatsapp,
.menu-flutuante-opcoes .menu-opcao.business {
  background-color: var(--primary) !important;
  color: #fff !important;
  box-shadow: var(--shadow-md) !important;
  font-weight: 500 !important;
  border: none !important;
}

.menu-flutuante-opcoes .menu-opcao i,
.menu-flutuante-opcoes .menu-opcao img {
  color: #fff !important;
}

.menu-flutuante-opcoes .menu-opcao:hover {
  background-color: var(--primary-dark) !important;
  color: #fff !important;
  box-shadow: var(--shadow-lg) !important;
}

.menu-flutuante-opcoes .menu-opcao:hover i {
  color: #fff !important;
}

.menu-flutuante-opcoes .menu-opcao.pedidos-destaque {
  background-color: #fff !important;
  color: var(--primary) !important;
  border: 2px solid var(--primary) !important;
}

.menu-flutuante-opcoes .menu-opcao.pedidos-destaque:hover {
  background-color: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
}

.menu-flutuante-opcoes .menu-opcao.pedidos-destaque i {
  color: var(--primary) !important;
}

.menu-flutuante-opcoes .menu-opcao.pedidos-destaque:hover i {
  color: #fff !important;
}

.menu-aberto .btn-menu-flutuante {
  background-color: var(--primary-dark) !important;
}

/* ── SCROLLBAR ── */

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-light); }

/* ── RESPONSIVE ── */

@media (max-width: 768px) {
  .main-container, .main-container.wide { max-width: 100% !important; margin: 14px auto; padding: 0 24px; overflow: visible; }
  .auth-container { max-width: 100% !important; margin: 16px auto !important; padding: 32px 20px !important; }
  .access-container { max-width: 100% !important; margin: 16px auto !important; padding: 28px 18px !important; }
  .header-section { padding: 20px 16px !important; margin-bottom: 16px !important; }
  .status-hero { padding: 28px 18px; }
  .status-hero__title { font-size: 1.3rem; }
  .greeting__title { font-size: 1.2rem; }
  .auth-header h1, .access-header h1 { font-size: 1.4rem; }
  .access-options { grid-template-columns: 1fr; gap: 10px; }
  .order-info { grid-template-columns: 1fr; gap: 6px; text-align: left; }
  .info-item { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; border-bottom: 1px solid var(--border-light); text-align: left; }
  .info-item:last-child { border-bottom: none; }
  .product-list { flex-direction: column; gap: 4px; }
  .product-tag { display: block; text-align: center; }
  .timeline-container { padding: 18px 14px !important; }
  .detail-card-title { padding: 12px 16px; font-size: 13px; }
  .detail-info-list, .detail-wrapper .carrinho-items { padding: 4px 16px; }
  .detail-total-row { padding: 12px 16px; }
  .detail-total { font-size: 1.2rem; }
  .timeline-actions { flex-direction: column; gap: 6px; }
  .timeline-btn { width: 100%; justify-content: center; }

  /* Timeline mobile */
  .timeline::before { left: 22px; }
  .timeline::after { left: 22px; }
  .timeline-content { width: calc(100% - 52px); margin-left: 52px !important; margin-right: 0 !important; }
  .timeline-icon { left: 22px; width: 34px; height: 34px; font-size: 11px; }
  .timeline-item:has(.timeline-icon.pending)::before { left: 22px; width: 44px; height: 44px; }
  .timeline-item:has(.timeline-content.current) { margin-top: 40px !important; }
  .timeline-item:has(.timeline-content.current)::after { top: -34px !important; left: 52px !important; right: auto !important; transform: none !important; position: absolute; font-size: 9px; padding: 4px 10px; }

  .split-layout { flex-direction: column; }
  .split-layout__left { flex: 1; max-width: 100%; position: static; }
}
