:root {
   --bg: #0a0d12;
  --card: #0f172a;
  --text: #e5e7eb;
  --muted: #9ca3af;

  --primary: #6366f1;
  --primary-soft: rgba(99, 102, 241, 0.2);

  --good: #22c55e;
  --bad: #ef4444;
  --ok: #a3a3a3;

  --border: rgba(255,255,255,0.08);
  --shadow: 0 20px 40px rgba(0,0,0,0.5);

  --radius: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(1200px 600px at 20% -10%, rgba(99,102,241,0.25), transparent 60%),
              radial-gradient(1000px 500px at 90% 10%, rgba(16,185,129,0.18), transparent 55%),
              var(--bg);
  color: var(--text);
}

.container {
  max-width: 860px;
  margin: 60px auto;
  padding: 0 18px;
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}

.header h1 {
  margin: 0 0 8px 0;
  font-size: 28px;
  letter-spacing: 0.2px;
}

.subtitle {
  margin: 0 0 18px 0;
  color: var(--muted);
  line-height: 1.4;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

.row {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.row label {
  font-size: 13px;
  color: var(--muted);
}

.row input {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(0,0,0,0.25);
  color: var(--text);
  outline: none;
  font-size: 16px;
  transition: all 0.2s ease;
}

.row input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(99,102,241,0.2);
}

.buttons {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.btn {
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 15px;
}

.btn.primary {
  background: var(--primary-soft);
  color: white;
  border: 1px solid rgba(99,102,241,0.4);
}

.btn.primary:hover {
   background: rgba(99,102,241,0.35);
}

.btn.ghost {
  background: transparent;
  color: white;
}

.btn.ghost:hover {
  background: rgba(255,255,255,0.08);
}

.results {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.moneyline {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.moneyline .label {
  color: var(--muted);
  font-size: 14px;
}

.moneyline .value {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.5px;
  min-height: 36px;
}

.status {
  margin-top: 10px;
  text-align: left;
}

#message {
  margin: 6px 0 0 0;
  font-size: 16px;
}

#savings {
  margin: 6px 0 0 0;
  font-size: 14px;
  color: var(--muted);
}

.breakdown {
  margin-top: 14px;
  background: rgba(0,0,0,0.22);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 14px;
  color: var(--text);
}

.breakdown p {
  margin: 8px 0;
  color: var(--text);
}

.footer {
  margin-top: 16px;
  text-align: center;
  color: rgba(255,255,255,0.40);
  font-size: 13px;
}

/* Color classes you already use */


/* Responsive */
@media (max-width: 720px) {
  .grid { grid-template-columns: 1fr; }
  .moneyline .value { font-size: 26px; }
}
.school-box {
  margin-top: 14px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.school-box select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,0.25);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.10);
  font-size: 16px;
  outline: none;
}
.school-box select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(99,102,241,0.2);
}
.school-box select option {
  background: #0f172a;
  color: white;
}
.school-box select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.helper {
  font-size: 12px;
  color: var(--muted);
}
.highlight {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.3);
  transition: all 0.3s ease;
}
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-link {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

.nav-link:hover {
  color: white;
}
.footer-nav {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
}

.footer-nav a:hover {
  color: white;
}
.footer-nav {
  text-align: center;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
}
html, body {
  height: 100%;
  margin: 0;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.footer-nav {
  margin-top: auto;
  text-align: center;
  padding: 15px 0;
  font-size: 13px;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
}

.footer-nav a:hover {
  color: white;
}
.footer-bar {
  width: 100%;
  background: #0b0f1a; /* dark navy */
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 18px 0;
  margin-top: 40px;
}

.footer-bar a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 13px;
}

.footer-bar a:hover {
  color: white;
}
.footer-bar {
  background: linear-gradient(
    to top,
    #05070d,
    #0b0f1a
  );
}
.footer-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;

  background: linear-gradient(to top, #05070d, #0b0f1a);
  border-top: 1px solid rgba(255,255,255,0.08);

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 14px 0;
  z-index: 999;
}

.footer-bar a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 13px;
}

.footer-bar a:hover {
  color: white;
}







