.routeCard {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 16px;
  background-color: #FFFFFF;
  border: 1px solid #E4EAE5;
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.025);
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.routeCard:hover {
  border-color: #2FAE3B;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(47, 174, 59, 0.1);
}

.iconContainer {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: #EDF7EF;
  color: #2FAE3B;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms ease;
}

.routeCard:hover .iconContainer {
  transform: scale(1.05);
}

.routeIcon {
  stroke-width: 2.2;
}

.routeBody {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.routeName {
  margin: 0 0 8px;
  font-size: 18.5px;
  font-weight: 800;
  color: #17211D;
  line-height: 1.3;
}

.routeDesc {
  margin: 0 0 12px;
  font-size: 13px;
  color: #687A83;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── 1. Jadwal & Ketersediaan Badges ──────────────────────────────────── */

.badgeRow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.scheduleBadge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #1B6B27;
  background-color: #EDF7EF;
  border: 1px solid #D8EAD9;
  padding: 4px 10px;
  border-radius: 999px;
  line-height: 1.2;
}

.statusDot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #2FAE3B;
  box-shadow: 0 0 0 2px rgba(47, 174, 59, 0.25);
  flex-shrink: 0;
}

.typeBadge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  line-height: 1.2;
}

.badgeIcon {
  flex-shrink: 0;
}

.typeWeekend {
  color: #166534;
  background-color: #DCFCE7;
  border: 1px solid #BBF7D0;
}

.typeWeekday {
  color: #1E40AF;
  background-color: #DBEAFE;
  border: 1px solid #BFDBFE;
}

/* ── 2. Spesifikasi Fisik Jalur (Estimasi Waktu & Kesulitan) ───────────── */

.specsBox {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background-color: #F8FAF8;
  border: 1px solid #E8EFE9;
  border-radius: 12px;
  margin-top: 14px;
}

.specItem {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  min-width: 0;
}

.specIconWrap {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background-color: #FFFFFF;
  border: 1px solid #E2EAE4;
  color: #2FAE3B;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.specContent {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.specLabel {
  font-size: 10.5px;
  font-weight: 600;
  color: #7B8B83;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.specValue {
  font-size: 13px;
  font-weight: 700;
  color: #17211D;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.specDivider {
  width: 1px;
  height: 26px;
  background-color: #E2EAE4;
  flex-shrink: 0;
}

/* ── Footer: price + CTA ─────────────────────────────────────────────── */

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid #F0F4F1;
}

.priceContainer {
  display: flex;
  flex-direction: column;
}

.priceLabel {
  font-size: 11px;
  font-weight: 600;
  color: #8C9B92;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.priceValue {
  font-size: 17px;
  font-weight: 800;
  color: #17211D;
  line-height: 1.2;
}

.ctaButton {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background-color: #2FAE3B;
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 180ms ease, transform 180ms ease;
}

.ctaButton:hover {
  background-color: #258D30;
  transform: translateY(-1px);
}

.arrowIcon {
  stroke-width: 2.4;
  transition: transform 180ms ease;
}

.ctaButton:hover .arrowIcon {
  transform: translateX(2px);
}

/* ── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 480px) {
  .routeCard {
    padding: 18px 16px;
  }

  .specsBox {
    padding: 8px 12px;
    gap: 8px;
  }

  .specIconWrap {
    width: 26px;
    height: 26px;
  }

  .specIconWrap svg {
    width: 13px;
    height: 13px;
  }

  .specLabel {
    font-size: 9.5px;
  }

  .specValue {
    font-size: 12px;
  }

  .footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .priceContainer {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }

  .ctaButton {
    justify-content: center;
  }
}
