html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* -------------------------------------------------------------------------
   Legacy look-and-feel parity (matches SopsHelpdesk.WebApp Site.Master).
   Bootstrap resets the body margin and applies its own font; the legacy app
   relied on browser defaults plus normal.css/helpdesk.css. Restore those.
   ------------------------------------------------------------------------- */
body {
  margin: 8px;
  font-family: "arial", "helvetica", sans-serif;
  font-size: small;
}

#pnlHeader h2 {
  margin: 0 0 3px 0;
}

/* The nav lookup <button> and the Logout <button> should look like the
   legacy asp:Button / hyperlink inside the yellow LINK_BUTTON cells. */
.menuBar td.LINK_BUTTON a,
.menuBar td.LINK_BUTTON a:link,
.menuBar td.LINK_BUTTON a:visited {
  text-decoration: none;
  color: #000066;
  white-space: nowrap;
}

.menuBar td.LINK_BUTTON a:hover {
  text-decoration: underline;
}

button.linkButton {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-family: "arial", "helvetica", sans-serif;
  font-size: small;
  color: #000066;
}

button.linkButton:hover {
  text-decoration: underline;
}

/* Header lookup boxes (Ticket # / Employee name-initials) inside the yellow menu bar.
   Ensure the inputs and Lookup buttons are visible and inline, matching the legacy header. */
.menuBar td.LINK_BUTTON form {
  display: inline;
  margin: 0;
  padding: 0;
  border: none;
  white-space: nowrap;
}

.menuBar td.LINK_BUTTON input[type="text"],
.menuBar td.LINK_BUTTON input:not([type]) {
  font-size: small;
  vertical-align: middle;
}

.menuBar td.LINK_BUTTON input[type="submit"] {
  font-size: small;
  vertical-align: middle;
  margin-left: 2px;
}

.helpdesk-body {
  margin-top: 3px;
}