/* Bill Splitter — Styles */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-group { display: flex; flex-direction: column; }
.tip-btn { font-size: var(--text-xs) !important; padding: var(--space-2) var(--space-3) !important; text-transform: none !important; }
.tip-btn.active { background: var(--gradient-primary); color: white; border-color: transparent; }

.results-card { background: linear-gradient(145deg, rgba(26,26,46,0.9), rgba(10,10,15,0.95)); }

.result-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--space-3) 0; border-bottom: 1px solid var(--color-border);
  font-size: var(--text-base);
}
.result-row:last-child { border-bottom: none; }
.result-row span:last-child { font-weight: 600; font-family: var(--font-mono); }
.result-row.total { font-size: var(--text-lg); font-weight: 700; border-top: 2px solid var(--color-primary); padding-top: var(--space-4); }
.result-row.per-person { font-size: var(--text-2xl); font-weight: 800; border: none; padding-top: var(--space-6); }
.result-row.per-person span:last-child { font-size: var(--text-3xl); }

.item-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--space-3); background: var(--color-surface); border-radius: var(--radius-sm);
  margin-bottom: var(--space-2); transition: all var(--transition-fast);
}
.item-row:hover { background: var(--color-bg-card-hover); }
.item-row .item-name { flex: 1; }
.item-row .item-price { font-family: var(--font-mono); font-weight: 600; margin: 0 var(--space-4); }
.item-row .remove-btn { cursor: pointer; color: var(--color-error); font-size: var(--text-lg); background: none; border: none; padding: var(--space-1); }

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .result-row.per-person span:last-child { font-size: var(--text-2xl); }
}
