@import "/style/global.css";

.card {
  /* background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  ); */
  background: linear-gradient(
    120deg,
    rgba(246, 82, 48, 0.3) 0%,
    rgba(0, 0, 0, 1) 10%
  );
  border: 1px solid var(--muted-trans);
  border-radius: var(--radius);
  padding: 1.4em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}

.card h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.result-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.pill-flex {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pill {
  border: 1px solid var(--muted-trans);
  border-radius: 14px;
  padding: 1em;
  background: var(--bg);
}
.pill h3 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}
.pill .val {
  font-size: 1.4rem;
  font-weight: 800;
  margin-top: 0.5em;
}

#pill-E {
  align-items: center;
}
.pill.active {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.25);
}

.pill:hover,
input:hover {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.25);
}

.breakdown {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}
.line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}
.line strong {
  font-weight: 700;
}
