/* DMI Maritime Research v1.6.8 — Search date hints and field polish.
   Scope: native search page only; leave OJS selects and submission logic intact. */
body.dmi-theme.dmi-header-fixed .page_search .search_advanced .date_range select.dmi-date-select {
  box-sizing: border-box;
  min-width: 0 !important;
  min-height: 45px;
  width: 100% !important;
  max-width: 100%;
  border: 1px solid #cbd9df !important;
  border-radius: 7px;
  padding: 9px 30px 9px 12px;
  background-color: #fff;
  color: #15394e;
  font-family: var(--dmi-sans), Arial, sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.4;
  appearance: auto;
  -webkit-appearance: menulist;
}
body.dmi-theme.dmi-header-fixed .page_search .search_advanced .date_range select.dmi-date-select.dmi-date-unset {
  color: #71838c !important;
  font-weight: 400;
}
body.dmi-theme.dmi-header-fixed .page_search .search_advanced .date_range select.dmi-date-select:focus-visible {
  outline: 3px solid #cda65e;
  outline-offset: 2px;
  border-color: #146582 !important;
}
/* Respect the locale-specific DOM order produced by OJS's date widget. */
body.dmi-theme.dmi-header-fixed .page_search .search_advanced .date_range fieldset {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px 11px;
  align-items: center;
  min-width: 0;
}
body.dmi-theme.dmi-header-fixed .page_search .search_advanced .date_range fieldset legend {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}
body.dmi-theme.dmi-header-fixed .page_search .search_advanced .date_range fieldset select {
  min-width: 0 !important;
}
body.dmi-theme.dmi-header-fixed .page_search .search_advanced .author input[name="authors"]::placeholder {
  color: #738690;
  opacity: 1;
}
body.dmi-theme.dmi-header-fixed .page_search .search_advanced .author input[name="authors"]:focus-visible {
  outline: 3px solid rgba(20,101,130,.19);
  outline-offset: 1px;
  border-color: #146582;
}
@media (max-width: 400px) {
  body.dmi-theme.dmi-header-fixed .page_search .search_advanced .date_range fieldset {
    gap: 7px;
  }
  body.dmi-theme.dmi-header-fixed .page_search .search_advanced .date_range select.dmi-date-select {
    font-size: 14px;
    min-height: 44px;
    padding: 8px 23px 8px 8px;
  }
}
