/* INDIC RMC v357 — public form focus + placeholder consistency.
   Keeps one homepage-style orange focus treatment and removes stacked/double rings. */

/* One consistent focus treatment for public text controls. */
html body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
html body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus-visible,
html body select:focus,
html body select:focus-visible,
html body textarea:focus,
html body textarea:focus-visible {
  outline: none !important;
  outline-offset: 0 !important;
  border-color: #ff6000 !important;
  box-shadow: 0 0 0 3px rgba(255, 96, 0, .12) !important;
}

/* Keep the dark Blog / ImmiNews controls dark while using the same single focus accent. */
html body:is([data-page="blog"],[data-page="imminews"]) .filters input:focus,
html body:is([data-page="blog"],[data-page="imminews"]) .filters input:focus-visible,
html body:is([data-page="blog"],[data-page="imminews"]) .filters select:focus,
html body:is([data-page="blog"],[data-page="imminews"]) .filters select:focus-visible {
  border-color: #ff6000 !important;
  box-shadow: 0 0 0 3px rgba(255, 96, 0, .12) !important;
}

/* Estimator placeholder/default choices: quieter than entered values. */
html body[data-page="home"] #study-funds .ir-funds-field select:required:invalid {
  color: #969ba2 !important;
  font-size: 10.25px !important;
  font-weight: 650 !important;
}
html body[data-page="home"] #study-funds .ir-funds-field select option {
  color: #1b1e23;
  font-size: 11.5px;
  font-weight: 700;
}
html body[data-page="home"] #study-funds .ir-funds-field select option[value=""] {
  color: #969ba2;
  font-size: 10.25px;
  font-weight: 650;
}
html body[data-page="home"] #study-funds .ir-funds-field input::placeholder {
  color: #a5a9af !important;
  font-size: 10.25px !important;
  font-weight: 600 !important;
}
html body[data-page="home"] #study-funds .ir-year-trigger:not(.has-value) span {
  color: #969ba2 !important;
  font-size: 10.25px !important;
  font-weight: 650 !important;
}

@media (max-width: 620px) {
  html body[data-page="home"] #study-funds .ir-funds-field select:required:invalid,
  html body[data-page="home"] #study-funds .ir-funds-field select option[value=""],
  html body[data-page="home"] #study-funds .ir-funds-field input::placeholder,
  html body[data-page="home"] #study-funds .ir-year-trigger:not(.has-value) span {
    font-size: 11.25px !important;
  }
}

/* The custom Year Completed trigger behaves like a field; avoid a browser/button outline stacking over its field ring. */
html body[data-page="home"] #study-funds .ir-year-trigger:focus,
html body[data-page="home"] #study-funds .ir-year-trigger:focus-visible {
  outline: none !important;
  outline-offset: 0 !important;
}
