<p><meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"></p>
<style>
/* --- CSS GERAL --- */
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
background-color: #f4f6f8;
margin: 0;
padding: 20px;
}
.page-wrapper {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center;
align-items: flex-start;
max-width: 1200px;
margin: 0 auto;
}
.column {
flex: 1 1 320px;
min-width: 300px;
max-width: 450px;
}
/* --- CSS DO CARTÃO DE RASTREIO --- */
.tracking-card {
background: white;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 4px 15px rgba(0,0,0,0.08);
display: flex;
flex-direction: column;
}
.header {
background: #000000;
color: white;
padding: 25px 20px;
text-align: center;
display: flex;
flex-direction: column;
gap: 10px;
align-items: center;
}
.header h1 {
margin: 0;
font-size: 1rem;
text-transform: uppercase;
letter-spacing: 1px;
color: #ffffff;
}
.code-badge { background: rgba(255,255,255,0.2); padding: 8px 15px; border-radius: 20px; font-weight: bold; font-family: monospace; }
/* Passos (Stepper) */
.stepper {
padding: 15px;
display: flex;
justify-content: space-between;
position: relative;
}
.stepper::before { content: ''; position: absolute; top: 35px; left: 10%; right: 10%; height: 2px; background: #eee; z-index: 0; }
/* ALTERAÇÃO: Linha de progresso mudada para VERDE */
.stepper::after { content: ''; position: absolute; top: 35px; left: 10%; width: 0%; height: 2px; background: #00cc66; z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; width: 60px; }
.icon-box {
width: 32px; height: 32px; margin: 0 auto 5px;
background: #eee; border-radius: 50%;
display: flex; align-items: center; justify-content: center;
font-size: 14px; color: white;
}
/* ALTERAÇÃO: Ícone ativo mudado para VERDE */
.step.active .icon-box { background: #00cc66; box-shadow: 0 0 0 4px rgba(0,204,102,0.2); }
.step.done .icon-box { background: #00cc66; }
.step-txt { font-size: 0.65rem; font-weight: bold; color: #999; text-transform: uppercase; }
/* Produto */
.product-info {
background: #fafafa;
padding: 20px;
text-align: center;
border-bottom: 1px solid #eee;
border-top: 1px solid #eee;
}
.prod-name { font-weight: bold; display: block; margin-bottom: 5px; color: #333; }
.prod-sub { font-size: 0.8rem; color: #666; }
/* Timeline */
.timeline { padding: 20px; }
.event { display: flex; gap: 15px; padding-bottom: 25px; position: relative; }
.event:not(:last-child)::before { content: ''; position: absolute; left: 7px; top: 20px; bottom: 0; width: 2px; background: #eee; }
.dot { width: 15px; height: 16px; background: #ccc; border-radius: 50%; border: 3px solid white; box-shadow: 0 0 0 1px #ccc; flex-shrink: 0; }
/* ALTERAÇÃO: Ponto da timeline atual mudado para VERDE */
.event.latest .dot { background: #00cc66; box-shadow: 0 0 0 4px rgba(0,204,102,0.2); animation: pulse 2s infinite; }
.evt-date { display: block; font-size: 0.75rem; color: #888; margin-bottom: 4px; }
.evt-title { display: block; font-weight: bold; color: #222; margin-bottom: 4px; }
.evt-loc { display: inline-block; background: #f0f2f5; padding: 4px 8px; border-radius: 4px; font-size: 0.8rem; color: #555; }
/* ALTERAÇÃO: Pulsação agora em tons de VERDE */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0,204,102,0.4); } 70% { box-shadow: 0 0 0 8px rgba(0,204,102,0); } 100% { box-shadow: 0 0 0 0 rgba(0,204,102,0); } }
.info-column {
background: white;
padding: 30px;
border-radius: 40px;
text-align: center;
}
</style>
<div class="page-wrapper">
<div class="column">
<div class="tracking-card">
<div class="header">
<h1>Rastreamento</h1>
<span class="code-badge">py187100512br</span>
</div>
<div class="stepper">
<div class="step done">
<div class="icon-box">❌</div>
<span class="step-txt">postado</span>
</div>
<div class="step inactive">
<div class="icon-box"></div>
<span class="step-txt"></span>
</div>
<div class="step inactive">
<div class="icon-box"></div>
<span class="step-txt"></span>
</div>
<div class="step inactive">
<div class="icon-box"><br></div>
<span class="step-txt"></span>
</div>
</div>
<div class="product-info">
<div style="font-size: 30px; margin-bottom: 10px;">💊</div>
<strong><span class="prod-name"><span>Durateston Plus Gold 250mg</span></span></strong> <span class="prod-sub">Envio Grátis</span>
</div>
<div class="timeline">
<div class="event latest">
<div class="dot"><br></div>
<div>
<span class="evt-date">29/05/2026, 19:46</span><span class="evt-title">Cancelado</span> <span class="evt-date"><span>Rua Rádio e TV Gaúcha</span><br><span>90850-080 Porto Alegre RS</span><br><br></span> <span class="evt-loc"><span>Porto Alegre RS</span></span>
</div>
</div>
</div>
</div>
</div>
</div>
