/* ============================================
   Rastreamento Correios - Estilos
   ============================================ */

.rastreio-wrap {
    max-width: 640px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

/* ---- Formulário ---- */
.rastreio-form {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.rastreio-form input[type="text"] {
    flex: 1;
    min-width: 220px;
    padding: 11px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: border-color .2s;
}

.rastreio-form input[type="text"]:focus {
    border-color: #1e73be;
}

.rastreio-form button {
    padding: 11px 22px;
    background: #1e73be;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: background .2s;
}

.rastreio-form button:hover {
    background: #155a96;
}

/* ---- Container principal ---- */
.rastreio-container {
    background: #fff;
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
    margin-top: 10px;
}

.rastreio-container h3 {
    margin-top: 0;
    color: #1e73be;
}

/* ---- Alerta de atraso ---- */
.rastreio-alerta {
    background: #fff3cd;
    color: #856404;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 12px 0 8px;
    font-weight: bold;
    border-left: 4px solid #ffc107;
}

/* ---- Botão suporte WhatsApp ---- */
.rastreio-btn-suporte {
    display: inline-block;
    margin-bottom: 16px;
    padding: 10px 20px;
    background: #25D366;
    color: #fff !important;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: bold;
    transition: background .2s;
}

.rastreio-btn-suporte:hover {
    background: #1ebe5d;
}

/* ---- Timeline ---- */
.rastreio-timeline {
    margin-top: 24px;
    border-left: 3px solid #1e73be;
    padding-left: 24px;
}

.rastreio-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 22px;
    position: relative;
}

.rastreio-icon {
    position: absolute;
    left: -36px;
    top: 2px;
    font-size: 20px;
    line-height: 1;
}

.rastreio-content {
    line-height: 1.6;
}

.rastreio-content strong {
    color: #1e73be;
    font-size: 15px;
}

.rastreio-data {
    font-size: 13px;
    color: #888;
}

/* ---- Erro ---- */
.rastreio-erro {
    background: #ffe6e6;
    color: #a00;
    padding: 14px 18px;
    border-radius: 8px;
    margin-top: 16px;
    border-left: 4px solid #e00;
}

/* ---- Responsivo ---- */
@media (max-width: 480px) {
    .rastreio-container {
        padding: 18px 14px;
    }

    .rastreio-form {
        flex-direction: column;
    }

    .rastreio-form button {
        width: 100%;
    }
}
