@import url("https://fonts.googleapis.com/css2?family=Open+Sans&display=swap");
@import "./colors.css";
@import "./helper.css";

*:focus {
  outline-color: var(--raspberry) !important;
}

header {
  min-height: 3.75rem;
}

footer {
  justify-content: center;
  font-size: 12px;
}

body {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  background-color: var(--light-grey);
}

.login-page {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: Open Sans;
  font-style: normal;
  line-height: normal;
  position: relative;
  padding: 0 !important;
}

.login-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 32px;
  width: 578px;
}

@media (max-width: 578px) {
  .login-form {
    width: 100%;
  }
}

.login-form h1 {
  margin: 0 !important;
  color: var(--text-color, #231F20);
  font-size: 24px;
  font-weight: 600;
}

.login-form h3 {
  margin: 0 !important;
  color: var(--text-color, #231F20);
  font-size: 16px;
  font-weight: 400;
}

.echo-login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.echo-login-form label {
  color: var(--text-color, #231F20);
  font-size: 14px;
  font-weight: 400;
}

.echo-login-form .email-label.error {
  color: var(--danger-dark, #EB0000);
}

.echo-login-form .echo-input-group {
  max-width: unset;
  min-width: unset;
}

.echo-login-form .echo-input-group input {
  height: 40px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--dark-light, #E0E0E0);
  background: var(--white, #FFF);
  box-shadow: none;
}

.echo-login-form .echo-input-group.error input {
  border: 1px solid var(--danger-dark, #EB0000);
}

.echo-input-group .echo-select .echo-institution-selection {
  border-radius: 8px;
  border: 1px solid var(--dark-light, #E0E0E0);
  background: var(--white, #FFF);
  box-shadow: none;
}

.echo-input-group .echo-select .echo-institution-selection #selectionspan {
  text-align: left !important;
}

.echo-btn-group .submit-btn {
  width: 154px;
  height: 40px;
  padding: 9px 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  text-transform: capitalize;
}

.message {
  display: flex;
  font-family: Open Sans;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  border-radius: 8px !important;
  background: var(--white, #fff) !important;
  color: var(--text-color) !important;
}

.message.success {
  border: 1px solid var(--success) !important;
}

.message.error {
  border: 1px solid var(--danger-dark) !important;
}

.message .message-img {
  border-radius: 6px 0px 0px 6px;
  padding: 10px;
}

.message.success .message-img {
  background-color: var(--success);
}

.message.error .message-img {
  background-color: var(--danger-dark);
}

.message .message-cross {
  margin-left: auto;
  padding: 12px;
  cursor: pointer;
}

.message span {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 16px;
  text-align: center;
}

.error-message {
  color: var(--danger-dark, #EB0000);
  font-size: 12px;
  font-weight: 400;
  margin-top: 5px;
}

.error-message a {
  color: var(--raspberry);
}

.alternate-login-container {
  position: absolute;
  bottom: 0;
}
.alternate-login-container .alternate-login {
  margin-top: 32px;
}

.alternate-login-container .alternate-login a {
  color: var(--raspberry);
  font-family: Open Sans;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.legal-section, .legal-title {
  width: 800px;
  margin: 0 auto;
  margin-bottom: 40px;
}

.legal-section .legal-section-title {
  font-size: 15pt;
  margin-bottom: 10px;
}

.legal-section .legal-sub-section {
  margin-bottom: 10px;
}

.legal-section .legal-sub-section-title {
  font-weight: 600;
}

.user-agreement .user-agreement-actions {
  width: 800px;
  margin: 0 auto;
  margin-bottom: 30px;
  text-align: center;
}

.centered {
  text-align: center;
}

.echo-select>select:focus+.echo-selection {
  outline-color: var(--raspberry);
  outline-offset: -2px;
  outline-style: auto;
  outline-width: 5px
}