.route-navigation-pro{
  border:1px solid rgba(15,23,42,.08);
  background:linear-gradient(135deg,#ffffff 0%,#f8fafc 58%,#eef6ff 100%);
  overflow:hidden;
}
.route-nav-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  margin-bottom:18px;
}
.route-progress-ring{
  width:76px;
  height:76px;
  border-radius:999px;
  display:grid;
  place-items:center;
  font-weight:900;
  font-size:18px;
  color:#0f172a;
  background:radial-gradient(circle at center,#fff 0 55%,transparent 56%),conic-gradient(#0f172a 0 75%,#dbeafe 0 100%);
  box-shadow:0 18px 40px rgba(15,23,42,.12);
  flex:0 0 auto;
}
.route-next-card{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding:18px;
  border-radius:22px;
  border:1px solid rgba(15,23,42,.08);
  background:#fff;
  box-shadow:0 18px 46px rgba(15,23,42,.08);
}
.route-next-card h3{
  margin:8px 0 6px;
  font-size:22px;
}
.route-next-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.route-progress-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:16px 0;
}
.route-progress-summary>div{
  padding:14px;
  border-radius:18px;
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
}
.route-progress-summary strong{
  display:block;
  font-size:20px;
  color:#0f172a;
}
.route-progress-summary span{
  display:block;
  color:#64748b;
  font-size:12px;
  margin-top:3px;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.route-stops-list{
  display:grid;
  gap:10px;
}
.route-stop-card{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:12px;
  padding:13px 14px;
  border-radius:18px;
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
}
.route-stop-card.is-current{
  border-color:rgba(37,99,235,.38);
  box-shadow:0 12px 32px rgba(37,99,235,.12);
}
.route-stop-card.is-done{
  background:#f0fdf4;
  border-color:rgba(22,163,74,.28);
}
.route-stop-number{
  width:34px;
  height:34px;
  border-radius:999px;
  display:grid;
  place-items:center;
  font-weight:800;
  color:#0f172a;
  background:#e2e8f0;
}
.route-stop-card.is-current .route-stop-number{
  background:#dbeafe;
  color:#1d4ed8;
}
.route-stop-card.is-done .route-stop-number{
  background:#bbf7d0;
  color:#166534;
}
.route-stop-card strong{
  display:block;
  color:#0f172a;
}
.route-stop-card small{
  display:block;
  color:#64748b;
  margin-top:3px;
}
@media (max-width:720px){
  .route-nav-header,.route-next-card{
    flex-direction:column;
    align-items:stretch;
  }
  .route-progress-ring{
    width:64px;
    height:64px;
    align-self:flex-start;
  }
  .route-progress-summary{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .route-stop-card{
    grid-template-columns:auto 1fr;
  }
  .route-stop-card .btn{
    grid-column:1 / -1;
    width:100%;
  }
  .route-next-actions .btn{
    width:100%;
  }
}

.route-stops-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin:12px 0;
  padding:13px 14px;
  border-radius:18px;
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
}
.route-stops-toolbar>div{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.route-stops-list[hidden]{
  display:none !important;
}
@media (max-width:720px){
  .route-stops-toolbar{
    align-items:stretch;
    flex-direction:column;
  }
  .route-stops-toolbar .btn{
    width:100%;
  }
}

/* Member walk detail: show the walk description instead of raw start/end coordinates. */
.walk-member-description {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 18px;
  background: rgba(248, 250, 252, .82);
}
.walk-member-description span {
  display: block;
  margin-bottom: 6px;
  color: #64748b;
  font-size: .86rem;
  font-weight: 800;
}
.walk-member-description p {
  margin: 0;
  color: #111827;
  line-height: 1.55;
  font-weight: 650;
}
.walk-card-description {
  margin-top: 6px;
  line-height: 1.45;
}
