/*
 * apps/probability.css
 * "🎯 당첨확률 계산기" + "🛒 구매 시뮬레이터" 카드 전용 스타일.
 * 공용 .lotto-toolbar / .select-field-group / .prize-table 은
 * css/style.css, css/apps/lotto-picker.css 참고.
 */

.odds-table,
.calc-result-table {
  width: 100%;
  border-collapse: collapse;
  margin: 4px 0 6px;
}

.odds-table th,
.odds-table td,
.calc-result-table th,
.calc-result-table td {
  padding: 10px 8px;
  text-align: left;
  font-size: 13.5px;
  border-bottom: 1px solid var(--color-border);
}

.odds-table th,
.calc-result-table th {
  color: var(--color-text-muted);
  font-weight: 700;
  font-size: 12px;
}

.odds-table td:last-child,
.calc-result-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.calc-summary {
  margin-top: 10px;
  padding: 14px 16px;
  background: var(--color-primary-soft);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-primary-dark);
  line-height: 1.5;
}

.sim-result {
  margin-top: 14px;
  padding: 4px 0;
}

.sim-result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 4px;
  border-bottom: 1px solid var(--color-border);
  font-size: 13.5px;
}

.sim-result-row:last-child {
  border-bottom: none;
}

.sim-result-label {
  color: var(--color-text-sub);
  font-weight: 600;
}

.sim-result-value {
  font-weight: 800;
  color: var(--color-text);
  font-size: 15px;
}

.sim-result-row:last-child .sim-result-value {
  color: var(--color-danger);
}

@media (max-width: 560px) {
  .odds-table th,
  .odds-table td,
  .calc-result-table th,
  .calc-result-table td {
    padding: 8px 6px;
    font-size: 12.5px;
  }
}
