:root {
  --brand: #0d6efd;
  --bg: #eef1f5;
  --card-bg: #fff;
  --text: #223047;
  --muted: #6b7a90;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

html,
body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
}

.container {
  max-width: 1100px;
}

.form-label {
  font-weight: 600;
}

.app-title {
  font-weight: 800;
  letter-spacing: 0.2px;
}

.card {
  border: 0;
  border-radius: 16px;
  background: var(--card-bg);
  box-shadow: var(--shadow);
}

.step-card {
  padding: 1.5rem;
}

.nav-tabs .nav-link {
  font-weight: 600;
}

.nav-tabs .nav-link:not(.active) {
  color: var(--muted);
}

.required::after {
  content: ' *';
  color: #d00;
  font-weight: 700;
}

.form-grid .col-md-6 {
  margin-bottom: 1rem;
}

.result-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
}

.result-box {
  width: min(420px, 90%);
  border-radius: 20px;
  padding: 2.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f5f8ff 100%);
  border: 2px solid #0d6efd1f;
  box-shadow: var(--shadow);
  text-align: center;
}

.result-value {
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.result-sub {
  color: var(--muted);
}

.missing-list {
  max-height: 40vh;
  overflow: auto;
}

.tab-missing::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #dc3545;
  border-radius: 50%;
  margin-left: 6px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.tab-complete::after {
  content: '\2713';
  color: #198754;
  font-weight: 700;
  margin-left: 5px;
  font-size: 0.85em;
}

.navbar {
  background: var(--card-bg);
  box-shadow: var(--shadow);
}

.navbar-brand {
  font-weight: 700;
  color: var(--brand);
}

.nav-link {
  font-weight: 600;
}

.nav-link:hover {
  color: var(--brand);
}

.footer {
  background: var(--card-bg);
  padding: 1rem 0;
  margin-top: 2rem;
}

.help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  cursor: help;
  margin-left: 5px;
  vertical-align: middle;
  position: relative;
  top: -1px;
  text-decoration: none;
  flex-shrink: 0;
}

.help-icon:hover {
  background: #0a58ca;
  color: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 1rem 0;
}

figcaption {
  margin-bottom: 10px;
}
