body {
  font-family: system-ui, -apple-system, sans-serif;
  background: #cccdcf;
  display: flex;
  justify-content: center;
  padding: 20px;
}

.container {
  background: white;
  padding: 30px;
  border-radius: 16px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

h1 {
  text-align: center;
  margin-bottom: 5px;
}

.subtitle {
  text-align: center;
  color: gray;
  font-size: 14px;
  margin-bottom: 20px;
}

label {
  display: block;
  margin-top: 15px;
  font-size: 14px;
}

input, select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

button {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: black;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.results {
  margin-top: 25px;
  font-size: 16px;
  font-weight: 600;
}

.bar-container {
  margin-top: 20px;
  height: 14px;
  background: #eee;
  border-radius: 20px;
  overflow: hidden;
}

.secondary {
  background: white;
  color: black;
  border: 2px solid black;
  margin-top: 15px;
}

.secondary:hover {
  background: black;
  color: white;
}

#bar {
  height: 100%;
  width: 0%;
  border-radius: 20px;
  transition: width 0.8s ease, background 0.8s ease;
}

.share-card {
  position: absolute;
  left: -9999px;
  width: 600px;
  padding: 40px;
  background: white;
  border-radius: 20px;
  text-align: center;
  font-family: system-ui, sans-serif;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.share-card h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.share-card p {
  font-size: 22px;
  margin: 10px 0;
}

.shareFooter {
  margin-top: 30px;
  font-size: 14px;
  color: gray;

}


.navbar {
  background: white;
  padding: 15px;
  display: flex;
  justify-content: center;
  gap: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.nav-btn {
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  color: #333;
  transition: all 0.2s ease;
}

.nav-btn:hover {
  background: #2563eb;
  color: white;
}


