/* === Base Mobile Layout === */
main {
  padding: 1.5rem;
  background-color: #f5f5dc; /* beige */
  font-family: 'Inter', sans-serif;
  color: #1c1c1c;
  position: relative;
}

/* === Floating Ad Bar (LEFT) - Desktop Only === */
.ad-bar {
  position: fixed;
  top: 15rem;
  left: 0.79rem;
  background-color: #0d1b2a; /* navy */
  color: #ffffff;
  padding: 0.75rem 1rem;
  font-weight: bold;
  font-size: 0.95rem;
  border-radius: 8px;
  z-index: 1000;
  max-width: 200px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
  .ad-bar {
    display: none;
  }
}

/* === Content Box === */
.content-box {
  background-color: #ffffff;
  border: 1px solid #e0e0da;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  max-width: 800px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Horizontal Rules */
.content-box hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 2.7rem 0;
}

/* === Headings === */
.content-box h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  margin-bottom: 1.2rem;
  color: #0d1b2a; /* navy */
}
.content-box h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-top: 2rem;
  font-size: 1.2rem;
  text-align: center;
  color: #0d1b2a;
}

/* === Paragraphs === */
.content-box p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

/* === Labels === */
.content-box label {
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  display: block;
  color: #0d1b2a;
}

/* === Form Inputs === */
.content-box input[type="number"],
.content-box select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.content-box input[type="number"]:focus,
.content-box select:focus {
  outline: none;
  border-color: #f5c243; /* gold */
  box-shadow: 0 0 0 3px rgba(245, 194, 67, 0.4); /* gold glow */
}

/* === Submit Button === */
.content-box button[type="submit"] {
  display: inline-block;
  margin-top: 1.7rem;
  margin-bottom: 1.7rem;
  padding: 0.75rem 1.25rem;
  background-color: #f5c243; /* gold */
  color: #0d1b2a;
  font-weight: 600;
  border-radius: 8px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.content-box button[type="submit"]:hover {
  background-color: #001f3f; /* deep navy */
  color: #ffffff;
}

/* === Result Box === */
#result {
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  font-size: 1.5rem; /* laki ng font */
  font-weight: bold;
  color: #0d1b2a; /* navy */
  background-color: #ffffff;
  border: 2px solid #f5c243; /* gold */
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
  #result {
    font-size: 1.75rem;
  }
}

/* === Footer Disclaimer === */
.disclosure-box {
  font-size: 0.85em;
  color: #777;
  text-align: center;
  margin: 40px auto 30px auto;
  max-width: 680px;
  padding: 0 1rem;
  line-height: 1.6;
  background-color: transparent !important; /* ← This is the fix */
  border: none !important;
  box-shadow: none !important;
}

/* === Responsive Enhancements === */
@media (min-width: 768px) {
  .content-box {
    padding: 3rem;
  }

  .content-box h2 {
    font-size: 2rem;
  }

  .content-box p,
  .content-box li,
  .content-box input,
  .content-box select,
  .content-box button {
    font-size: 1.05rem;
  }
}
