﻿
.nav-page img.icon-banner {
  width: auto;
  height: 44px;
}

.idp-list, .list-inline-item a {
  width: 320px;
}

.login-page .login-banner {
  border-radius: 8px;
  border: 1px solid #135f824d;
  background: #E5F5F9;
  padding: 12px 16px;
  color: #135F82;
  text-overflow: ellipsis;
  white-space: wrap;
  line-height: 24px;
}

.error-msg {
  font-weight: 400;
  line-height: 24px;
  color: #DA0808;
  text-overflow: ellipsis;
  font-size: 14px;
}

.validation-summary-errors {
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ad04044d;
  background: #FDF3F3;
  color: #DA0808;
  padding: 12px 16px;
}

.form-control {
  border-radius: 8px;
}

.modal-content {
  max-width: 320px;
  margin: 0 auto;
  padding: 24px;
}

.modal-header {
  border-bottom: none;
  font-weight: 510;
  font-size: 20px;
  padding: 0;
  padding-bottom: 12px;
}

.modal-body {
  padding: 0 0 40px 0;
}

.modal-footer {
  border-top: none;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding: 0;
  font-weight: 400;
  gap: 16px;
}

  .modal-footer > * {
    margin: 0;
  }

  .modal-footer > button {
    padding: 0;
    margin: 0;
  }

#ErrorDisplayCenter button[data-dismiss="modal"] {
  min-width: 100px;
  padding: 10px 16px;
  align-self: stretch;
  border-radius: 4px;
  border: 1px solid #D8D8D8;
  background: #FFF;
}

.text-highlight {
  color: #D81A1D;
  font-size: 16px;
  font-weight: 510;
  line-height: 24px;
}

  .text-highlight:hover {
    color: #D81A1D;
    text-decoration-color: #D81A1D;
  }

@media screen and (max-width: 576px) {
  .login-page .login-banner {
    margin-bottom: 16px;
  }

  .validation-summary-errors {
    margin-bottom: 16px;
  }

  .login-page .login-banner {
    margin-bottom: 16px;
  }

  .card-body {
    margin-top: 4px;
    padding: 20px 9px;
  }

  #accordion div[data-parent="#accordion"] {
    width: 320px;
  }
}

@media (min-width: 576px) and (max-width: 1440px) {
  .login-page .login-banner {
    margin-bottom: 16px;
  }

  .validation-summary-errors {
    margin-bottom: 16px;
  }

  .card-body {
    margin-top: 4px;
    padding: 20px 9px;
  }

  #accordion div[data-parent="#accordion"] {
    width: 320px;
  }
}

@media screen and (min-width: 1440px) {
  .login-page .login-banner {
    margin-bottom: 24px;
  }

  .validation-summary-errors {
    margin-bottom: 24px;
  }

  .login-page .form-group {
    margin-bottom: 24px;
  }

  .card-body {
    margin-top: 12px;
  }

  #accordion div[data-parent="#accordion"] {
    width: 540px;
  }

  .idp-list, .list-inline-item a {
    width: 540px;
  }
}

@media screen and (min-width: 64em) {
  .nav-page img.icon-banner {
    height: 34px;
  }
}


/*--------------------------------*/
/*------- ADA Compliance ---------*/
/*--------------------------------*/
/* Floating Label Styles - Works WITH Bootstrap */
/* Floating Label Styles - Works WITH Bootstrap */
.form-group.floating-label {
  position: relative;
}

  .form-group.floating-label .form-control {
    padding-top: 22px;
    padding-bottom: 8px;
    padding-left: 12px;
    padding-right: 12px;
    height: 56px;
    font-size: 16px;
  }

    .form-group.floating-label .form-control:focus {
      border-color: #121212;
      box-shadow: 0 0 0 1px #121212;
    }

    /* Focus indicator for accessibility */
    .form-group.floating-label .form-control:focus-visible {
      outline: 2px solid #121212;
      outline-offset: 0px;
    }

  .form-group.floating-label label {
    position: absolute;
    left: 12px;
    top: 18px;
    color: #757575;
    font-size: 16px;
    pointer-events: none;
    transition: all 0.2s ease;
    background: transparent;
    padding: 0;
    margin-bottom: 0;
    line-height: 1;
  }

  /* Float the label when input is focused or has content - STAYS INSIDE */
  .form-group.floating-label .form-control:focus ~ label,
  .form-group.floating-label .form-control:not(:placeholder-shown) ~ label,
  .form-group.floating-label .form-control.has-value ~ label {
    top: 6px;
    left: 12px;
    font-size: 12px;
    color: #757575;
  }

  .form-group.floating-label .form-control:focus ~ label {
    color: #121212;
  }

  /* Error state */
  .form-group.floating-label .form-control.input-validation-error {
    border-color: none;
    border: 2px solid #DA0808;
  }

  .form-group.floating-label.has-error label {
    color: #DA0808;
  }

/* Password toggle button */
.password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #757575;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

  .password-toggle:hover {
    background: #f0f0f0;
    color: #121212;
  }

  .password-toggle:focus {
    outline: 2px solid #121212;
    outline-offset: 2px;
    background: #e8f0f7;
    color: #121212;
  }

  .password-toggle svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
  }

  .password-toggle .icon-show,
  .password-toggle .icon-hide {
    display: none;
  }

  .password-toggle[aria-pressed="false"] .icon-show {
    display: block;
  }

  .password-toggle[aria-pressed="true"] .icon-hide {
    display: block;
  }

/* Error message styling */
.form-group .error-msg {
  display: block;
  margin-top: 0.25rem;
}

/* Remember login checkbox - accessible */
.form-check-label {
  cursor: pointer;
}

.form-check-input {
  cursor: pointer;
}

  .form-check-input:focus {
    outline: 2px solid #121212;
    outline-offset: 2px;
  }

/* Submit button accessibility */
button[value="login"]:focus {
  outline: 3px solid #333;
  outline-offset: 2px;
}

/* Screen reader only text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/*--------------------------------*/
/*------- End ADA Compliance ---------*/
/*--------------------------------*/