:root {
  --real-primary: #10416c;
  --real-secondary: #ff6600;

  --mdc-theme-primary: var(--real-secondary);
  --mdc-theme-secondary: var(--real-primary);
}

.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label {
  color: #10416c;
}

/** SELECT **/

select {
  padding: 12px;
  border: 1px solid #c6cacc;
  border-radius: 4px;
  cursor: pointer;
}

select:focus {
  outline: none;
  border: 2px solid var(--real-secondary);
}

.select:after {
  position: absolute;
  top: 18px;
  right: 10px;
  /* Styling the down arrow */
  width: 0;
  height: 0;
  padding: 0;
  content: "";
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(0, 0, 0, 0.12);

  pointer-events: none;
}

.sinay-link {
  color: #f60;
  font-weight: 600;
  text-decoration: none !important;
}

.button-link {
  text-decoration: none !important;
}

.button-container {
  text-align: center;
  margin: 25px 0;
}

body {
  margin: 0 !important;
  font-family: Source Sans Pro, sans-serif !important;
}

.page {
  display: flex;
  align-items: flex-start;
  position: relative;
  min-height: 100vh;
}

/** LOGIN **/

.login {
  width: 100%;
  display: flex;
  position: relative;
}

.login-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  width: 100%;
}

.login-container {
  margin-left: auto !important;
  margin-right: auto !important;
}

/** LOGO **/

.logo-container {
  width: fit-content;
  margin: 3rem auto;
}

/** TITLE **/

.great-title {
  position: relative;
  padding: 1rem;
  text-align: center;
  color: #f60;
  font-weight: 700;
  font-size: 20px;
}

.title-wrapper {
  border-bottom: 1px solid rgba(243, 244, 246, 1) !important;
  margin-bottom: 10px;
}

.title {
  position: relative;
  font-size: 1rem;
  padding: 1rem;
  margin: auto;
  width: 156px;
  text-align: center;
  text-transform: uppercase;
  color: #f60;
  font-weight: 700;
}

.title:after {
  content: " ";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  height: 4px;
  background: #ff6600;
  border-radius: 4px 4px 0 0;
}

.title:after {
  opacity: 1;
  transition: opacity 0.5s;
}

/** FORM **/

form {
  display: grid;
}

.form-container {
  width: 500px;
  margin: auto;
  padding: 1rem 2rem;
}

.xtras {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

button {
  min-width: 156px !important;
  padding: 0 6px;
}

.no-account {
  margin-top: 6rem;
  text-align: center;
}

/** BACKGROUND **/

.bg-container {
  position: absolute;
  right: 0;
  height: 100%;
  width: 50%;
  display: none;
}

.bg-container img {
  height: 100%;
  width: 100%;
}

.error {
  color: #ff0000;
}

.field-adjust {
  margin-bottom: 10px;
}

.field-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

a.nostyle:link {
  text-decoration: inherit;
  color: inherit;
  cursor: auto;
}

a.nostyle:visited {
  text-decoration: inherit;
  color: inherit;
  cursor: auto;
}

.instruction-small {
  font-size: 14px;
  text-align: center;
}

#instruction-1 {
  margin: 4rem auto 5rem;
  text-align: center;
  width: 50%;
}

#instruction-small-1 {
  margin-bottom: 4rem;
}

/** FOOTER  **/

.help-footer {
  text-align: center;
  margin: 4rem 0;
}

.selector {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

#provider-selector {
  margin-top: 2rem;
}

.footer {
  display: flex;
  width: 100%;
  justify-content: space-around;
}

a.no-decoration {
  text-decoration: inherit;
}

.provider-button {
  height: 41px;
  padding: 0 12px;
  color: #5e5e5e;
  background-color: #ffffff;
  border: 1px solid #8c8c8c;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  width: 220px;
  justify-content: center;
}

.provider-button img {
  margin-right: 12px;
}

.kc-social-gray {
  padding: 2rem 0;
  border-top: solid 1px;
  border-top-style: inset;
}

.provider-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-direction: column;
}

/* Responsive mobile */
@media (min-width: 1145px) {
  .page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .login {
    width: 50%;
  }

  .bg-container {
    display: block;
  }
}

@media (max-width: 580px) {
  .form-container {
    width: 400px;
  }
}

@media (max-width: 480px) {
  .form-container {
    width: auto;
  }

  .sinay-link {
    font-size: 14px;
  }

  .xtras {
    gap: 1rem;
    padding-bottom: 1rem;
    ;
  }

  .no-account {
    margin-top: 3rem;
  }

  .footer {
    padding: 1rem 0;
    flex-direction: column;
    gap: 1rem;
  }

  .footer .help-footer {
    margin: 0;
  }
}

