/* Globals */

:root {
  --primary-strong-academy: #9900ff;
  --primary-medium-academy: #000066;
  --primary-light-academy: #00006666;
  --disabled-letters: #747579;
  --roundness: 31px;
}

* {
  -webkit-transition-duration: 0.15s;
  transition-duration: 0.15s;
  -webkit-transition-property: border, background-color, color,
    -webkit-box-shadow;
  -webkit-transition-timing-function: ease-in;
  box-sizing: border-box;
  transition-timing-function: ease-in;
  transition-property: border, background-color, color, -webkit-box-shadow;
  transition-property: border, background-color, color, box-shadow;
  transition-property: border, background-color, color, box-shadow,
    -webkit-box-shadow;
  font-family: 'Roboto', sans-serif;
  color: #4f4f4f;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  40% {
    transform: rotate(230deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  background-color: #f9fafb;
}

.logo {
  height: 3.95rem;
  width: 21.625rem;
  max-width: 100%;
  align-self: center;
  object-fit: contain;
}

.row {
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.row:after {
  content: '';
  clear: both;
  display: table;
}

.txtRemember {
  padding: 0.1rem 0 2rem 0;
}

h1,
h2,
h3 {
  text-align: center;
}
h1 {
  color: #5f6368;
  font-size: 1.7rem;
  font-weight: 700;
}
.form-container {
  display: flex;
  flex-grow: 1;
}

.form-title {
  font-family: Poppins, sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: 0em;
  color: #000066;
  line-height: 1rem;
  margin: 0;
}

.form-subtitle {
  font-family: Poppins, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0em;
  color: #474747;
  line-height: 1rem;
  margin: 0;
}

.form-title-email {
  font-family: Poppins, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0em;
  color: #000066;
  margin-top: -1rem;
}

.form-submit {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  height: 3.625rem;
  width: 21.625rem;
}

.form-text {
  font-family: Roboto, sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 1rem;
  color: #474747;
  letter-spacing: 0.031rem;
  margin: 0;
}

h2 {
  color: #8c919b;
  font-size: 1.15rem;
  font-weight: normal;
}

/** RECOVER PASSWORD  **/

#kc-passwd-update-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.under-message {
  max-width: 30vw;
  text-align: center;
  background-color: transparent;
  font-size: 0.75rem;
  color: #e00043;
  align-self: flex-start;
  margin-left: 3.5rem;
  margin-top: 0;
}

.container-input-message {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/** FORGOT PASSWORD - LINKS **/
#recover-password {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  margin-bottom: 1rem;
  height: 3rem;
}

#recover-password p {
  margin: auto;
  grid-column-start: 2;
  font-family: Poppins, sans-serif;
  font-style: normal;
  color: var(--disabled-letters);
  font-weight: 500;
  font-size: 1.125rem;
  letter-spacing: 0.01em;
}

#recover-password img {
  margin-left: auto;
  margin-right: 1rem;
  filter: invert(51%) sepia(0%) saturate(1164%) hue-rotate(281deg)
    brightness(90%) contrast(86%);
}

.link-text {
  color: #000066;
  font-size: 0.688rem;
  text-decoration: underline;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
}

.link-text-back {
  color: #000066;
  font-size: 0.875rem;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  line-height: 1rem;
}

.link {
  display: flex;
  width: 100%;
  padding-left: 0.5rem;
}

.messages {
  text-align: center;
  background-color: transparent;
  font-size: 14px;
  flex: 1;
  margin: 0;
}

.is-error .messages {
  color: #e00043;
}

.message {
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: center;
}

.message-email {
  color: #474747;
  line-height: 1.375rem;
  font-size: 1rem;
  text-align: center;
  max-width: 90vw;
  margin-top: -0.2rem;
}

/* Login */

.col1 {
  display: flex;
  justify-content: center;
  height: 100%;
  width: 100%;
  text-align: center;
  overflow-y: visible;
}

.col1_1 {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.col2 {
  width: 100%;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-top: 5.938rem;
  padding-bottom: 1.5rem;
}

.user-form {
  --input-indetation: 10%;
  display: flex;
  flex: 1;
  gap: 1.5rem;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: flex-start;
  width: 21.625rem;
  min-height: 23.5rem;
}

.show-icon {
  cursor: pointer;
  margin-left: 19px;
  position: absolute;
  right: 10px;
  height: 1.5em;
  width: 1.5em;
  margin-top: -15px;
}
.show-icon > svg {
  fill: #b0b0b0;
}
.show-icon > svg:hover {
  fill: #32d7fa;
}

#hide-pwd {
  display: none;
}

.input-container {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  position: relative;
}

.display-desktop {
  display: block;
}
.hide-mobile {
  display: none;
}

@media only screen and (min-width: 700px) and (orientation: landscape) {
  .hide-mobile {
    display: flex;
  }

  html,
  body,
  .container {
    font-size: 100%;
  }

  .container {
    width: 100%;
    height: 100vh;
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: center;
    font-size: 100%;
  }

  .display-desktop {
    display: none;
  }

  .message {
    max-width: fit-content !important;
  }
}

.stock-image {
  width: 100%;
  max-height: 100vh;
  object-fit: cover;
  overflow-y: visible;
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: #f9fafb;
  z-index: 99999;
}
.preloader .preloader-gif {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -0.5em 0 0 -0.5em;
  border-top-color: var(--primary-strong-tt);
  border-right-color: transparent;
  border-bottom-color: var(--primary-strong-tt);
  border-left-color: var(--primary-strong-tt);
  -webkit-animation: 0.8s linear infinite spin;
  animation: 0.8s linear infinite spin;
  border-radius: 50%;
  border-style: solid;
  border-width: 0.125em;
  width: 1em;
  height: 1em;
}

/** INPUTS **/

.rounded-input:focus {
  box-shadow: none;
  outline: none;
}

.rounded-input {
  position: relative;
  width: 100%;
  border: none;
  height: 3rem;
  width: 20.5rem;
  background-position: 0 0, 0 100%;
  background-repeat: no-repeat;
  border-radius: var(--roundness);
  -webkit-background-size: 100% 2px;
  -moz-background-size: 100% 2px;
  background-size: 100% 2px;
  padding-left: var(--input-indetation);
  text-align: left;
  font-size: 18px;
  line-height: 1.2;
  color: #4f4f4f;
  box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.05);
  filter: drop-shadow(0px 1px 1px 0px rgba(0, 0, 0, 0.15));
  background-color: #f9fafb;
  border: 1px solid #474747;
}

.control {
  position: relative;
  height: 3rem;
  text-align: center;
  width: 100%;
}

.control > label {
  text-align: start;
  top: 0.85rem;
  position: absolute;
  padding: 0px 5px 0px var(--input-indetation);
  font-size: 1.1rem;
  transition: 0.2s;
  pointer-events: none;
  display: block;
  height: 100%;
  color: #747579;
}

.control > img {
  position: absolute;
  height: 1rem;
  max-width: 12%;
  display: block;
  bottom: 27px;
  padding-left: 5%;
}

.rounded-input:valid ~ label,
.rounded-input:focus ~ label,
.rounded-input:-webkit-autofill ~ label {
  visibility: hidden;
}

.rounded-input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px #ffffff inset;
  box-shadow: 0 0 0 30px #ffffff inset;
}

.control input[type='password']:not(:placeholder-shown) {
  letter-spacing: 3px;
  font-size: 1.7rem;
}

.btn_eye_icon:focus {
  outline: none !important;
  border: none;
}

.btn_eye_icon {
  background: transparent;
  font-size: 20px;
  color: #757575;
  z-index: 10;
  outline: none !important;
  border: none;
  box-shadow: none;
  position: absolute;
  width: auto;
  float: right;
  bottom: 0.9rem;
  right: 1.563rem;
}

.message-error-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 357px;
  min-height: 60px;
}

/** LOGIN BUTTON **/

.rounded-button {
  cursor: pointer;
  border-radius: var(--roundness);
  background: #ededed;
  pointer-events: none;
  border: none;
  outline: none;
  height: 3.5rem;
  min-width: 8.313rem;
  position: relative;
  font-size: 0.875rem;
}

.active {
  background: var(--primary-strong-academy) !important;
  pointer-events: initial !important;
}

.button-hover:hover {
  box-shadow: 0px 3px 15px var(--primary-light-academy);
}

#kc-login {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  height: 3.5rem;
}

.kc-login-reset {
  margin: 1.5rem auto 0 auto;
}

#kc-login p {
  margin: auto;
  grid-column-start: 2;
  font-family: Poppins, sans-serif;
  font-style: normal;
  color: var(--disabled-letters);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  padding: 0.75rem 1.5rem;
}

#kc-login img {
  margin-left: auto;
  margin-right: 1rem;
  filter: invert(51%) sepia(0%) saturate(1164%) hue-rotate(281deg)
    brightness(90%) contrast(86%);
}

/** SLIDER - REMEMBER ME **/

.rememberMe {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-size: 14px;
}

.rememberMe p {
  margin-left: 5px;
}

input[type='checkbox'] {
  height: 0;
  width: 0;
  visibility: hidden;
}

.toggle {
  cursor: pointer;
  text-indent: -9999px;
  width: 2.5rem;
  height: 60%;
  background: #ccc;
  display: block;
  border-radius: 100px;
  position: relative;
}

.toggle:after {
  content: '';
  position: absolute;
  top: -0.2rem;
  left: 0px;
  width: 1.5rem;
  height: 1.5rem;
  background: #fff;
  border-radius: 90px;
  transition: 0.3s;
}

input:checked + .toggle {
  background: var(--primary-light-tt);
}

input:checked + .toggle:after {
  left: 100%;
  background-color: var(--primary-strong-tt);
  transform: translateX(-100%);
}

/** SUPPORT TEXT **/
.help-text {
  font-weight: normal;
  font-size: 12px;
  text-align: center;
  position: relative;
  top: 13vh;
  margin-bottom: 2rem;
}

.help-text a {
  font-weight: 700;
  color: #167ee6;
}

.help-text a:hover {
  color: #373a3d;
  cursor: pointer;
}

/** ICONS **/

.fa-regular {
  color: #474747;
  font-size: 1.1rem;
}

.support-icon {
  margin-left: 8px;
  color: #000066;
}

/** VALIDATION MESSAGE **/
.error-message {
  font-family: Roboto;
  font-size: 12px;
  color: #99002e;
  margin: 0px 0px 0px 26px;
}

.message-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.hidden-message {
  display: none;
}

.typography-message {
  font-family: Roboto;
  font-size: 12px;
  letter-spacing: 0.01em;
  margin: 0px 0px 0px 26px;
}

.error-border {
  border: 2px solid #99002e;
}

.empty-border {
  border: 2px solid #000066;
}

.valid-border {
  border: 2px solid #039855;
}

.empty-color-message {
  color: #474747;
}

.error-color-message {
  color: #99002e;
}

.valid-color-message {
  color: #039855;
}

.check-icon {
  margin-right: 12px;
  position: absolute !important;
  bottom: 0.3rem !important;
  right: 1.563rem !important;
}

.additional-class {
  position: absolute;
  bottom: 0.1rem;
  right: 0.1rem;
}

.check-hidden {
  visibility: hidden;
}

.footer-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 3.125rem;
  align-items: center;
}

.footer-container > p {
  color: #474747;
  font-size: 0.75rem;
  position: relative;
  font-weight: 600;
  margin: 0;
  text-align: center;
}

.footer-container-a {
  color: #000066 !important;
  font-size: 0.688rem;
  text-decoration: underline;
  text-align: center;
}
