.elementor-713 .elementor-element.elementor-element-aa37b23{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for shortcode, class: .elementor-element-eb54844 *//* ================================== */
/* CSS para el Shortcode [made_tracking] - ESTILO DE TARJETAS Y 2 COLUMNAS */
/* ================================== */

/* --- Variables Globales (Para cambiar colores fácilmente) --- */
:root {
    --accent-color: #FC2B02; /* ROJO/NARANJA de Made */
    --completed-color: #28aa60; /* Verde para completado */
    --light-bg: #f0f3f6;
    --card-bg: white;
    --dot-size: 10px;
    --line-width: 2px;
}

/* --- Contenedor Principal y Formulario de Búsqueda --- */
.made-tracking-client-wrapper {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 900px;
    margin: 40px auto;
}
.tracking-search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}
.tracking-search-form input {
    flex-grow: 1; padding: 12px; border: 2px solid #ccc; border-radius: 8px; font-size: 1em;
}
.tracking-search-form button {
    background-color: var(--accent-color); color: white; border: none; padding: 12px 20px; border-radius: 8px; cursor: pointer; font-weight: bold;
}
.tracking-error {
    color: var(--accent-color) !important;
    font-weight: bold;
    margin-top: 15px;
}


/* ----------------------------------------------------------------------- */
/* --- DISEÑO DE DOS COLUMNAS (RESULTADO) --- */
/* ----------------------------------------------------------------------- */
.tracking-result-container {
    display: flex;
    gap: 30px;
    background-color: var(--card-bg);
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
}
.tracking-left-column, .tracking-right-column {
    flex-basis: 50%;
    min-width: 45%;
}

/* --- ENCABEZADO Y TRACKING ID --- */
.tracking-header h2 {
    font-size: 1.1em;
    color: #777;
    margin-bottom: 5px;
}
.tracking-id {
    font-size: 2em;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* --- BARRA DE PROGRESO --- */
.progress-card {
    background-color: var(--light-bg); 
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 25px;
}
.progress-label {
    font-weight: 600; color: #333; display: flex; justify-content: space-between; margin-bottom: 8px;
}
.progress-bar {
    height: 10px; background-color: #e0e0e0; border-radius: 5px; overflow: hidden;
}
.progress-fill {
    height: 100%; background-color: var(--completed-color); border-radius: 5px;
}


/* ----------------------------------------------------------------------- */
/* --- LÍNEA DE TIEMPO (TIMELINE) - Estilo de Tarjetas --- */
/* ----------------------------------------------------------------------- */
.timeline-card {
    padding: 15px 0;
}
.timeline-item {
    display: flex; 
    padding: 10px 15px 10px 50px; 
    position: relative;
    border-radius: 8px;
    margin-bottom: 15px; 
    background-color: white; 
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.timeline-item h4 {
    margin: 0 0 3px 0;
    font-size: 1.1em;
    font-weight: 600;
}
.timeline-item p {
    margin: 0;
    font-size: 0.85em;
    color: #777;
}

/* Línea vertical */
.timeline-item::before {
    content: ''; left: 24px; top: 0px; bottom: -15px; width: var(--line-width);
    background-color: #d1d1d1; position: absolute;
}
.timeline-item:last-child::before { display: none; }

/* Punto de estado */
.timeline-status-dot {
    width: var(--dot-size); height: var(--dot-size); border-radius: 50%; 
    position: absolute; left: 20px; top: 17px; z-index: 10; background-color: #d1d1d1; 
}

/* ESTADOS */
.timeline-item.completed::before { background-color: var(--completed-color); }
.timeline-item.completed .timeline-status-dot {
    background-color: var(--completed-color); box-shadow: 0 0 0 4px #e6ffe6; 
}
.timeline-item.current-status {
    border-left: 5px solid var(--accent-color); 
    background-color: #fff8f8; 
}
.timeline-item.current-status .timeline-status-dot {
     background-color: var(--accent-color); 
     box-shadow: 0 0 0 4px #ffe6e6;
}


/* ----------------------------------------------------------------------- */
/* --- TARJETAS DE DETALLES (COLUMNA DERECHA) --- */
/* ----------------------------------------------------------------------- */
.details-card {
    background: #f7f7f7;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-size: 0.95em;
    /* Para manejar las URLs largas sin romper la caja */
    white-space: pre-wrap;
    word-break: break-word; 
}
.details-card p {
    margin: 5px 0;
}
.product-link-btn {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--accent-color); 
    color: white !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.9em;
    margin-top: 10px;
}

/* Medias Query para dispositivos pequeños (opcional pero recomendado) */
@media (max-width: 768px) {
    .tracking-result-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
}/* End custom CSS */