:root {
  --bg-dark: #0f172a;
  --primary: #6366f1;
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  --card-bg: rgba(255, 255, 255, 0.05);
  --text-light: #fff;
  --text-secondary: #94a3b8;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
  font-family: 'Inter', sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--bg-dark);
  color: var(--text-light);
}

.container {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

h1 {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  font-weight: 700;
  margin-bottom: 2rem;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  margin: 1.5rem 0;
}

th, td {
  padding: 1rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
}

th {
  background: var(--primary-gradient);
  color: white;
  font-weight: 600;
}

td:first-child { border-radius: 8px 0 0 8px; }
td:last-child { border-radius: 0 8px 8px 0; }

input {
  width: 100%;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--text-light);
  transition: all 0.3s ease;
}

input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

button {
  background: var(--primary-gradient);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.removeRow {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.calculations {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.calculations div {
  font-size: 1.1rem;
  margin: 0.75rem 0;
  color: var(--text-secondary);
}

.calculations span {
  color: var(--text-light);
  font-weight: 500;
}