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

/* ===== BODY ===== */
body {
  background-color: #f0f2f5;
  color: #212529;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 400;
}
body.dark-mode {
  background-color: rgba(0,0,0,0.7);
  color: #eaeaea;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #0F3465;
  color: #fff;
  padding: 0.75rem;
  z-index: 1000;
  font-weight: 500;
  font-size: 20px;
}
body.dark-mode header {
  background: #000000;
}


/* Footer label color in light mode */
footer .form-check-label {
  color: #ffffff; /* pick any color you prefer */
}

/* Footer label color in dark mode */
body.dark-mode footer .form-check-label {
  color: #ffffff !important;
}


/* ===== FOOTER ===== */
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #0F3465;
  text-align: center;
  padding: 0.5rem;
  font-size: 15px;
}
body.dark-mode footer {
  background: #1e1e1e;
  color: #eaeaea;
}

/* ===== MAIN ===== */
main {
  margin-top: 90px;
  margin-bottom: 70px;
}

/* ===== CARD SECTIONS ===== */
.card {
  border-radius: 1rem;
  margin: 0.5rem 0;
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
body.dark-mode .card {
  background-color: #000000;
  color: #eaeaea;
  box-shadow: 0 0 6px rgba(255,255,255,0.05);
}

/* ===== RESULTS ===== */
#results .card {
  background-color: #ffffff;
}
body.dark-mode #results .card {
  background-color: #000000;
}

/* ===== FORMS ===== */
input.form-control, select.form-select {
  background-color: #ffffff;
  border: 1px solid #ced4da;
  color: #212529;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
}
body.dark-mode input.form-control,
body.dark-mode select.form-select {
  background-color: #1c1c1c;
  border: 1px solid #555555;
  color: #eaeaea;
}
input.form-control:focus, select.form-select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.25);
}

/* ===== TEXT STYLES ===== */
h5, h6 {
  font-weight: 600;
  font-size: 20px;
}
p, label, option {
  font-size: 15px;
  line-height: 1.6;
}
.alert {
  font-weight: 500;
  font-size: 16px;
}
