/* Children's Ride Fares - Sub-dashboard Summary Cards */
.pj-children-ride-subdashboard {
  width: 100%;
  max-width: 1000px;
  margin-top: 8px;
}

@media (min-width: 1280px) {
  .pj-children-ride-subdashboard {
    margin-top: 0;
  }
}

.pj-subdashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
}

.pj-view-toggle {
  display: inline-flex;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.25);
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  gap: 2px;
}

.pj-view-toggle button {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pj-view-toggle button:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.pj-view-toggle button.pj-active {
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.pj-children-ride-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

@media (min-width: 640px) {
  .pj-children-ride-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .pj-children-ride-cards-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.pj-children-ride-card {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 10px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 74px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.pj-children-ride-card:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.pj-children-ride-card-total {
  border-color: rgba(52, 211, 153, 0.45);
  background: rgba(16, 185, 129, 0.16);
}

.pj-children-ride-card-total:hover {
  background: rgba(16, 185, 129, 0.24);
  border-color: rgba(52, 211, 153, 0.65);
}

.pj-card-name {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pj-card-amount {
  font-size: 1.15rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  margin: 4px 0 2px;
  font-feature-settings: "tnum";
}

.pj-card-detail {
  font-size: 9.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
