.welcome-page .logo {
  width: 64px;
}

.icon-banner {
  width: 32px;
}

.body-container {
  padding-bottom: 40px;
  background-color: transparent;
  margin: 40px auto;
}

.welcome-page li {
  list-style: none;
  padding: 4px;
}

.logged-out-page iframe,
.login-page iframe.signout {
  display: none;
  width: 0;
  height: 0;
}

.logged-out-card {
  padding: 0;
}

.logged-out-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  gap: 32px;
}

.logged-out-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.logged-out-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 48px;
  text-align: center;
  letter-spacing: -0.015em;
  color: #093848;
  margin: 0;
}

.logged-out-description {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #093848;
  margin: 0;
  max-width: 328px;
}

.logged-out-form .btn-container {
  width: 400px;
  max-width: 100%;
}

.grants-page .card {
  margin-top: 20px;
  border-bottom: 1px solid lightgray;
}
.grants-page .card .card-title {
  font-size: 120%;
  font-weight: bold;
}
.grants-page .card .card-title img {
  width: 100px;
  height: 100px;
}
.grants-page .card label {
  font-weight: bold;
}

.btn-primary {
  margin-bottom: 0.5em;
  background-color: #093848;
  color: #fff;
  border-color: #093848;
  border-radius: 8px;
}
.btn-primary:hover {
  background-color: #0e1a24;
  border-color: #0e1a24;
}
.btn-primary:active {
  background-color: #093848;
  border-color: #093848;
}
.btn-primary:focus {
  background-color: #093848;
  border-color: #093848;
}

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
  background-color: #093848;
  border-color: #093848;
}

.login-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 150px 0;
  gap: 50px;
}

.login-container {
  background-color: transparent;
  padding: 24px;
}

.card {
  border: 0;
}
.card .card-header {
  background-color: transparent;
  border: 0;
  text-align: center;
}

.login-page .card {
  width: 448px;
  max-width: calc(100vw - 48px);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0;
  gap: 32px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn {
  border-radius: 8px;
}

.btn-login {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  width: 100%;
  height: 40px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  border: none;
}

.form-check-input:checked {
  background-color: #093848;
  border-color: #093848;
}

.form-check {
  align-self: flex-start;
  text-align: left;
  line-height: 21px;
}

.form-check-label {
  font-size: 14px;
  color: #111111;
}

.btn-secondary.btn-login {
  background: transparent;
  border: 1px solid #093848 !important;
  color: #093848;
}

.btn-secondary.btn-login:hover, .btn-secondary:hover {
  background: #cdd7da;
}

input.form-control {
  height: 40px;
  border: 1px solid #838485;
  border-radius: 8px;
}

.logo {
  width: 20rem;
  margin-bottom: 1rem;
}

.forgot-password {
  text-align: center;
  font-size: 14px;
  line-height: 20px;
  margin-top: 5px;
}

.forgot-password-card {
  padding: 0;
}

.forgot-password-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  gap: 20px;
}

.forgot-password-heading {
  font-size: 18px;
  font-weight: 600;
  line-height: 19px;
  text-align: center;
  color: #093848;
  margin: 0;
  align-self: stretch;
}

.forgot-password-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: stretch;
}

.forgot-password-content .form-group {
  margin-bottom: 0;
}

.forgot-password-form .btn-container {
  align-self: stretch;
}

.reset-password-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: stretch;
}

.reset-password-inputs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reset-password-inputs .form-group {
  margin-bottom: 0;
}

.field-error-message {
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  color: #591B28;
  margin-top: 4px;
  display: none;
}

.forgot-password-description {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
  color: #093848;
  margin: 0;
}

.btn-tertiary.btn-login {
  background: transparent;
  border: none;
  color: #093848;
  text-decoration: underline;
  font-weight: 600;
}

.forgot-password-success-banner {
  display: flex;
  align-items: flex-start;
  padding: 4px 16px;
  gap: 8px;
  background: #D1E2D8;
  border-radius: 8px;
}

.forgot-password-success-banner svg {
  flex-shrink: 0;
  margin-top: 4px;
}

.forgot-password-success-banner span {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #0E4225;
}

.btn-login.btn-disabled {
  background: #A4A5A6;
  color: #303030;
  pointer-events: none;
}

.forgot-password-back-link {
  display: flex;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 40px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-decoration: underline;
  color: #093848;
}

.forgot-password-back-link:hover {
  background: #cdd7da;
  color: #093848;
}

.forgot-password .link {
  color: #093848;
  text-decoration: none;
}

.forgot-password .link:hover {
  text-decoration: underline;
}

.or-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  color: #093848;
  font-size: 14px;
}

.or-divider hr {
  flex: 1;
  margin: 0;
  border: 1px solid #3A5F6C;
  opacity: 1;
}

.success-banner {
  display: flex;
  align-items: center;
  padding: 4px 16px;
  gap: 8px;
  width: 100%;
  background: #D1E2D8;
  border-radius: 8px;
}

.success-banner svg {
  flex-shrink: 0;
}

.success-banner span {
  font-size: 16px;
  line-height: 24px;
  color: #0E4225;
}

.btn-login:disabled {
  background: #A4A5A6;
  color: #303030;
  border-color: #A4A5A6;
}

input.form-control.input-error {
  border-color: #591B28;
}

.email-error-message {
  font-size: 12px;
  line-height: 14px;
  color: #591B28;
  margin-top: 4px;
  display: none;
  text-align: left;
}

.form-group.has-error {
  margin-bottom: 0;
}

.login-page .login-container form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-page .login-container #option-btn {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-page .login-container .form-group {
  margin-bottom: 0;
}

.sso-error-banner {
  display: flex;
  align-items: center;
  padding: 4px 16px;
  gap: 8px;
  width: 100%;
  height: 40px;
  background: #E1A19F;
  border-radius: 8px;
}

.sso-error-banner svg {
  flex-shrink: 0;
}

.sso-error-banner span {
  font-size: 14px;
  line-height: 20px;
  color: #591B28;
}

.alert-danger {
  color: #591B28;
  background-color: #E1A19F;
  border-color: #E1A19F;
}
