      /* Estilos específicos para el seguimiento de pedidos */
      .tracking-section {
        max-width: 800px;
        margin: 0 auto;
        padding: 2rem;
        background: #fff;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
      }

      .search-container {
        background: linear-gradient(135deg, #69b517 0%, #255946 100%);
        border-radius: 15px;
        padding: 2rem;
        margin-bottom: 2rem;
        text-align: center;
      }

      .search-container h3 {
        color: white;
        margin-bottom: 1.5rem;
        font-weight: 600;
      }

      .search-form {
        display: flex;
        gap: 15px;
        max-width: 500px;
        margin: 0 auto;
        flex-wrap: wrap;
        justify-content: center;
      }

      .search-input {
        flex: 1;
        min-width: 250px;
        padding: 12px 20px;
        border: none;
        border-radius: 25px;
        font-size: 16px;
        outline: none;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      }

      .btn-search {
        padding: 12px 30px;
        background: #c9121c;
        color: white;
        border: none;
        border-radius: 25px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 10px rgba(255,107,107,0.3);
      }

      .btn-search:hover {
        background: #c9121c;
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(255,107,107,0.4);
      }

      /* Resultados del tracking */
      .tracking-results {
        display: none;
        animation: fadeInUp 0.6s ease;
      }

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

      .order-header {
        text-align: center;
        margin-bottom: 2rem;
        padding: 1rem;
        background: #f8f9fa;
        border-radius: 10px;
        border-left: 5px solid #69b517;
      }

      .order-number {
        font-size: 1.8rem;
        font-weight: bold;
        color: #2c3e50;
        margin-bottom: 0.5rem;
      }

      .order-date {
        color: #6c757d;
        font-size: 1rem;
      }

      /* Barra de progreso */
      .progress-container {
        margin: 2rem 0;
        position: relative;
      }

      .progress-bar-custom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        margin-bottom: 1rem;
      }

      .progress-line {
        position: absolute;
        top: 25px;
        left: 25px;
        right: 25px;
        height: 3px;
        background: #e9ecef;
        z-index: 1;
      }

      .progress-line-active {
        position: absolute;
        top: 25px;
        left: 25px;
        height: 3px;
        background: linear-gradient(90deg, #667eea, #764ba2);
        z-index: 2;
        transition: width 0.8s ease;
      }

      .progress-step {
        display: flex;
        flex-direction: column;
        align-items: center;
        z-index: 3;
        position: relative;
        min-width: 120px;
      }

      .step-circle i {
        font-size: 1.5rem;   /* tamaño del ícono */
        color: inherit;      /* toma el color según estado (active/completed) */
      }
      
      .step-circle {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: #efb443;
        border: 3px solid #efb443;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        color: #6c757d;
        transition: all 0.4s ease;
        margin-bottom: 0.5rem;
      }

      .progress-step.active .step-circle {
        background: linear-gradient(135deg, #69b517 0%, #255946 100%);
        border-color: #69b517;
        color: white;
        transform: scale(1.1);
      }

      .progress-step.completed .step-circle {
        background: #667eea;
        border-color: #667eea;
        color: white;
      }

      .step-label {
        font-size: 0.9rem;
        font-weight: 600;
        color: #6c757d;
        text-align: center;
        line-height: 1.2;
      }

      .progress-step.active .step-label {
        color: #69b517;
        font-weight: bold;
      }

      /* Cards de estado */
      .status-cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        margin: 2rem 0;
      }

      .status-card {
        background: white;
        border-radius: 12px;
        padding: 1.5rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        border-left: 4px solid #69b517;
        transition: transform 0.3s ease;
      }

      .status-card:hover {
        transform: translateY(-3px);
      }

      .status-card h4 {
        color: #2c3e50;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 10px;
      }

      .status-text {
        font-size: 1.1rem;
        font-weight: 600;
        color: #69b517;
        margin-bottom: 0.5rem;
      }

      .status-description {
        color: #6c757d;
        font-size: 0.95rem;
        line-height: 1.4;
      }

      /* Botones de acción */
      .action-buttons {
        text-align: center;
        margin-top: 2rem;
        display: flex;
        gap: 15px;
        justify-content: center;
        flex-wrap: wrap;
      }

      .btn-action {
        padding: 12px 25px;
        border: none;
        border-radius: 25px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
      }

      .btn-update {
        background: linear-gradient(135deg, #69b517 0%, #255946 100%);
        color: white;
        box-shadow: 0 4px 10px rgba(102,126,234,0.3);
      }

      .btn-updati {
        background: linear-gradient(135deg, #255946 50%, #69b517 100%);
        color: white;
        box-shadow: 0 4px 10px rgba(102,126,234,0.3);
      }

      .btn-update:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(102,126,234,0.4);
      }

      .btn-updati:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(102,126,234,0.4);
      }

      /* Alerta de pedido listo */
      .ready-alert {
        display: none;
        background: linear-gradient(135deg, #69b517 0%, #255946 100%);
        color: white;
        padding: 2rem;
        border-radius: 15px;
        text-align: center;
        margin-top: 2rem;
        animation: bounce 0.6s ease;
      }

      .ready-icon img {
    width: 130px;   /* ajusta el tamaño */
    height: auto;  /* mantiene proporción */
    display: block;
    margin: 0 auto 10px; /* centrado con margen abajo */
    }

    /* MODAL VIDEO */
    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0; top: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.7);
      justify-content: center;
      align-items: center;
    }
    .modal-content {
      background: #fff;
      padding: 20px;
      border-radius: 10px;
      max-width: 600px;
      width: 90%;
      position: relative;
    }
    .modal-content h3 {
      margin-bottom: 10px;
    }
    .close {
      position: absolute;
      top: 10px; right: 15px;
      font-size: 24px;
      cursor: pointer;
    }

      @keyframes bounce {
        0%, 20%, 50%, 80%, 100% {
          transform: translateY(0);
        }
        40% {
          transform: translateY(-10px);
        }
        60% {
          transform: translateY(-5px);
        }
      }

      .ready-icon {
        font-size: 4rem;
        margin-bottom: 1rem;
        animation: pulse 2s infinite;
      }

      @keyframes pulse {
        0% {
          transform: scale(1);
        }
        50% {
          transform: scale(1.1);
        }
        100% {
          transform: scale(1);
        }
      }

      .pickup-info {
        background: rgba(255,255,255,0.1);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
      }

      /* Responsive */
      @media (max-width: 768px) {
        .search-form {
          flex-direction: column;
          align-items: center;
        }

        .search-input {
          min-width: 100%;
        }

        .progress-step {
          min-width: 80px;
        }

        .step-circle {
          width: 40px;
          height: 40px;
          font-size: 0.9rem;
        }

        .step-label {
          font-size: 0.8rem;
        }

        .action-buttons {
          flex-direction: column;
          align-items: center;
        }
      }