/* Spec accordion: Fleet Specs, Route Efficiency, Charger Telemetry (EfastSpecAccordion) */

.specs {
  font-family: var(--font-ui);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spec {
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(12, 23, 18, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
  overflow: hidden;
  transition: border-color 300ms ease, box-shadow 300ms ease;
}

.spec.is-open {
  border-color: transparent;
  box-shadow: 0 24px 50px -34px rgba(12, 40, 25, 0.45);
}

.spec__btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.spec__num {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(12, 23, 18, 0.05);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  transition: background 300ms ease, color 300ms ease;
}

.spec.is-open .spec__num {
  background: var(--accent);
  color: #062012;
}

.spec__text {
  flex: 1;
}

.spec__title {
  display: block;
  font-size: 16.5px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.spec__summary {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 450;
  color: rgba(12, 23, 18, 0.5);
}

.spec__plus {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  color: rgba(12, 23, 18, 0.4);
  transition: color 300ms ease;
}

.spec.is-open .spec__plus {
  color: var(--accent);
}

.spec .panel {
  transition-duration: 0.25s;
}

.spec__rows {
  margin: 0;
  padding: 0 20px 18px 68px;
}

.spec__rows div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid rgba(12, 23, 18, 0.06);
}

.spec__rows div:first-child {
  border-top: 0;
}

.spec__rows dt {
  font-size: 13.5px;
  color: var(--text-soft);
}

.spec__rows dd {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  text-align: right;
}
