/* Summary */

.summary {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: var(--spacing-1);
}

/* Detail rows */

.summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-size-sm);
}
.summary__row__value {
  font-weight: var(--font-semibold);
}
.summary__row__value--yellow {
  color: var(--color-camp-yellow);
}
.summary__row--striked {
  text-decoration: line-through;
  opacity: 0.6;
}

/* Horizontal ruler */

.summary > hr {
  color: var(--color-white-30);
  margin-left: 0;
  margin-right: 0;
}

/* Total */

.summary__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-size-xl);
  line-height: var(--font-height-xl);
  font-weight: var(--font-bold);
  cursor: pointer;
}
.summary__total__value {
  color: var(--color-camp-yellow);
}
.summary__total__value--negative {
  color: var(--color-camp-red);
}

/* Warning */

.summary__warning {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: auto;
  color: var(--color-camp-yellow);
  font-size: var(--font-size-xs);
  text-align: center;
  width: 100%;
}
.summary__warning > p {
  padding-top: var(--spacing-1);
  width: 100%;
}

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

.summary__send__payment {
  display: flex;
  flex-grow: 1;
  align-items: center;
  justify-content: center;
}
