/* CONTENEDOR PRINCIPAL */
.apz-tracking-card {
  max-width: 450px;
  margin: 40px auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  text-align: center;
}

/* ICONO Y ENCABEZADO */
.apz-tracking-icon {
  font-size: 40px;
  color: #f50a0a;
  margin-bottom: 10px;
}

.apz-tracking-title {
  font-size: 24px;
  margin: 0;
  color: #333;
}

.apz-tracking-subtitle {
  font-size: 14px;
  color: #666;
  margin-top: 5px;
}

/* INPUT */
.apz-tracking-input-group input {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-top: 20px;
  transition: all .2s ease;
}

.apz-tracking-input-group input:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13,110,253,0.2);
}

/* BOTÓN */
.apz-tracking-button {
  width: 100%;
  padding: 14px;
  margin-top: 20px;
  border: none;
  border-radius: 8px;
  background: #0d6efd;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background .2s ease;
}

.apz-tracking-button:hover {
  background: #0b5ed7;
}

/* LOADING */
.apz-tracking-loading {
  margin-top: 20px;
  font-size: 15px;
  color: #444;
}

/* RESULTADO */
.apz-tracking-result {
  margin-top: 25px;
  text-align: left;
}


/* Segunda parte de muestra de resultados */


/* Contenedor general */
.apz-card {
  background: #fff;
  border: 1px solid #e3e6ef;
  border-radius: 14px;
  padding: 18px;
  margin-top: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* Header */
.apz-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.apz-carrier-logo {
  width: 85px;
  max-height: 50px;
  object-fit: contain;
}

.apz-carrier-name {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

/* Divider */
.apz-divider {
  height: 1px;
  background: #e0e3e8;
  margin: 15px 0;
}

/* Timeline */
.apz-timeline {
  position: relative;
  margin-left: 20px;
  padding-left: 15px;
  border-left: 2px solid #d4d7de;
}

.apz-tl-item {
  position: relative;
  margin-bottom: 18px;
}

.apz-tl-dot {
  width: 12px;
  height: 12px;
  background: #3490dc;
  border-radius: 50%;
  position: absolute;
  left: -23px;
  top: 4px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #d4d7de;
}

.apz-tl-content {
  padding-left: 5px;
}

.apz-tl-status {
  font-weight: 600;
  color: #222;
}

.apz-tl-date {
  color: #666;
  font-size: 13px;
}

.apz-no-history {
  color: #999;
  font-style: italic;
}
.apz-timeline {
  display: none;
}
/* Se agrega efecto a la flecha */
.apz-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.apz-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.apz-header-arrow {
  font-size: 18px;
  transition: transform 0.25s ease;
  user-select: none;
}

.apz-header-arrow.open {
  transform: rotate(90deg);
}




.apz-vendor-box {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.apz-operator-box {
  background: #ffffff;
  padding: 12px;
  border-radius: 8px;
  margin-top: 10px;
  border: 1px solid #e1e1e1;
}

.apz-guide-box {
  margin-top: 12px;
  padding: 10px;
  background: #f3f4f6;
  border-radius: 6px;
}

.apz-error {
  padding: 15px;
  background: #ffe5e5;
  color: #c00;
  border-radius: 8px;
  text-align: center;
}
