:root {
  --rounding: 16px;
  --dark-blue: #002661;
  --accent: #e70055;
  --accent2: #e3ab23;
  --background: #f0f4f9;
  --contentBackground: #fafafa;
  --contentPadding: 80px 80px;
  --outerPadding: 160px 450px;
}

body {
  width: 100vw;
  height: 100dvh;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "slnt" 0;
  /* overscroll-behavior: contain; */
  /* touch-action: none; */
  overflow: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a,
a:focus,
a:visited {
  text-decoration: none;
  color: black;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 5000s ease-in-out 0s;
  color: #002661;
}

@keyframes fade-out {
  0% {
    opacity: 1;
    display: block !important;
    z-index: 2;
    height: 100%;
  }

  99% {
    opacity: 0;
    height: 100%;
  }

  100% {
    height: 0%;
  }
}

.loading {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #202125;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  animation-name: fade-out;
  animation-duration: 1.5s;
  animation-timing-function: ease-in-out;
  opacity: 0;
  height: 0;
  pointer-events: none;
}

.loading img {
  height: 50px;
  width: 100%;
  object-fit: contain;
  object-position: bottom;
}

.wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--outerPadding);
  /* background-color: var(--background); */
}

.bg {
  /* background-image: linear-gradient(90deg,
      #062e6fe0,
      rgba(230, 230, 230, 2.767)),
    url("../img/happy.jpg"); */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  background: #e6e6e6;

  /* filter: blur(1px); */
  position: absolute;
  width: 100%;
  height: 100%;
}

.service {
  color: var(--dark-blue);
  font-size: 0.75em;
  /* text-align: center; */
}

.modalWrapper {
  width: auto;
  height: 100%;
  min-height: 600px;
  position: relative;
  z-index: 1;
}

.modalWrapper > div {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--contentBackground);
  box-shadow: 5px 12px 20px 0px #161616a6;
  border-radius: var(--rounding);
  /* opacity: 0.6; */
}

#kc-content {
  width: 100%;
  height: 100%;
  min-width: 450px;
  padding: var(--contentPadding);
  /* gap: 40px; */
  display: flex;
  justify-content: space-between;
  /* align-items: center; */
  flex-direction: column;
}

#kc-content > header {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: var(--dark-blue);
  font-size: 1.1em;
  text-align: center;
  /* padding-bottom: 20px; */
}

#kc-locale {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 13px;
  z-index: 1;
  cursor: pointer;
}

#kc-current-locale-link {
  color: white;
  text-align: right;
  width: 100%;
  display: flex;
  justify-content: end;
  margin-bottom: 5px;
}

#kc-current-locale-link::after {
  content: "\2c5";
  margin-left: 0.25rem;
  text-align: right;
}

#language-switch1 {
  border: 1px solid white;
  text-align: right;
  display: none;
}

#language-switch1 li {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  width: 100px;
  background-color: #fafafa;
}

#language-switch1 a {
  padding: 8px 16px;
  width: 100%;
  color: #0882a3;
}

#language-switch1 a:hover {
  background-color: #dddddd;
}

#kc-locale:hover #language-switch1 {
  display: block;
}

#kc-content-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.forgetRemember {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-content: center;
  gap: 20px;
}

#kc-form-options label,
.passForget span a {
  font-size: 0.75em;
}

#kc-form-options .checkbox {
  height: 100%;
  accent-color: #089ac4;
}

#kc-form-options label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 100%;
}

.buttonWrapper {
  position: relative;
  display: flex;
  flex-direction: column;
}

.inputGroup {
  color: #0882a3;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-bottom: 15px;
}

.inputInline input {
  color: #002661;
}

.inputInline {
  border-bottom: 1px solid #ababab;
  transition: 0.5s border-bottom;
}

.inputInline:focus-within {
  border-bottom: 1px solid #089ac4;
}

/* 
.inputGroup input {
  padding: 5px;
} */

.inputInline {
  display: flex;
  gap: 10px;
  min-height: 20px;
  align-items: center;
  justify-content: flex-start;
}

.fa-envelope,
.fa-lock,
.fa-eye,
.fa-eye-slash,
.fa-mobile-screen-button {
  color: #089ac4;
}

.passGroup button {
  border: none;
  background-color: #fafafa;
}

#username,
#code,
#otp,
#totp,
#userLabel,
#kc-update-profile-form input {
  width: 90%;
  border: none;
  background-color: #fafafa;
}

#kc-update-profile-form input:disabled {
  background-color: #e7e7e7;
}

#username:focus,
#code:focus,
#otp:focus,
#totp:focus,
#userLabel:focus,
#kc-update-profile-form input:focus {
  outline: none;
}

#input-error-email {
  color: #ce004b;
}

.passGroup {
  width: 100%;
  display: flex;
}

#password {
  width: 100%;
  border: none;
  background-color: #fafafa;
}

#password:focus {
  outline: none;
}

.passGroup button {
  width: 20px;
  height: 20px;
}

.passForget {
  border: none;
}

.loginButton {
  margin-top: 30px;
  background-color: var(--accent) !important;
  padding: 10px;
  border: var(--accent) !important;
  color: white;
  border-radius: 3px;
  cursor: pointer;
}

.loginButton:hover {
  background-color: #ce004b !important;
}

.bottomText {
  color: #ababab;
  font-size: 0.8rem;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.infoContent {
  width: 100%;
  height: 100%;
  min-width: 450px;
  position: relative;
  background-color: var(--dark-blue);
  padding: var(--contentPadding);
  border-radius: 0 var(--rounding) var(--rounding) 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
}

.infoLogo {
  width: 100%;
  height: 100%;
  /* margin-bottom: 100px; */
  display: flex;
  justify-content: center;
  align-items: center;
}

.infoLogo img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  object-position: bottom;
  /* padding: 40px; */
}

.blueLogo {
  display: none;
}

.infoButtons {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  /* gap */
  align-items: center;
  flex-direction: column;
  z-index: 2;
}

.infoButtons a {
  width: 100%;
  padding: 10px;
  border: 1px solid white;
  color: white;
  font-size: 13px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.infoButtons a:hover {
  background-color: #073881;
}

.infoLinks {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.infoLinkGroup {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex-direction: column;
}

.descriere {
  font-size: 0.9em;
  font-weight: 400;
  padding: 0 20px;
  text-align: center;
  display: flex;
  height: 100%;
  align-items: flex-end;
  justify-content: center;
}

.eduroam {
  font-size: 11px;
  color: #ababab;
}

.spacer {
  width: 100%;
  height: 50%;
}

.infoDecoration,
.mobileDecoration {
  background-image: url("../img/asset5.png");
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 30%;
  border-bottom-right-radius: var(--rounding);
  z-index: 0;
}

.mobileDecoration {
  display: none;
}

.copyrightDesktop {
  text-align: center;
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #ababab;
  font-size: 13px;
  /* mix-blend-mode: difference; */
}

.copyrightMobile {
  display: none;
  text-align: center;
  width: 100%;
  font-size: 0.75em;
  color: #ababab;
  z-index: 1;
}

.alert-error {
  background-color: #e70055;
  padding: 10px;
  border-radius: 5px;
  color: white;
  margin-bottom: 10px;
}

#input-error {
  font-size: 0.9em;
  color: #e70055;
}

input::placeholder {
  font-weight: 400;
  opacity: 0.5;
  color: #aaaaaa;
  /* color: rgba(0, 38, 97, 0.5); */
}

.inputGroup:has(#input-error) .inputInline {
  border-bottom: 1px solid #e70055;
}

.inputGroup:has(#input-error) .fa-envelope {
  color: #e70055;
}

.inputGroup .fa-solid {
  cursor: pointer;
  width: 20px;
}

.fa-eye .eye-closed {
  display: none;
}

.fa-eye-slash .eye-open {
  display: none;
}

.fa-mobile-screen-button .altEmail {
  display: none;
}

.fa-envelope .authenticator {
  display: none;
}

/* .eye-open.fa-eye-slash {
  display: none;
}

.eye-closed.fa-eye {
  display: none;
} */

.infoSheetWrapper {
  height: 5vh;
  width: 100%;
  display: none;
  position: absolute;
  bottom: 0;
  z-index: 4;
  overflow: hidden;
  transition: height 0.5s;
  -webkit-box-shadow: 0px 22px 75px 12px rgba(66, 68, 90, 1);
  -moz-box-shadow: 0px 22px 75px 12px rgba(66, 68, 90, 1);
  box-shadow: 0px 22px 75px 12px rgba(66, 68, 90, 1);
  border-radius: 18px 18px 0px 0px;
}

.bar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 5px;
  width: 50px;
  height: 2px;
  background-color: white;
  border-radius: 10px;
  z-index: 5;
}

.arrowBar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 3px;
  z-index: 5;
  color: white;
  font-size: 0.9em;
}

.barWrapper {
  position: absolute;
  display: flex;
  width: 100%;
  height: 5vh;
  justify-content: flex-start;
  align-self: flex-start;
  top: 0;
  left: 0;
  cursor: pointer;
  /* background-color: rgba(255, 255, 255, 0.1); */
}

.barLabel {
  position: absolute;
  left: 50%;
  letter-spacing: 3px;
  transform: translateX(-50%);
  top: 1.25vh;
  z-index: 5;
  color: white;
  font-size: 0.9em;
  font-weight: 500;
  text-transform: uppercase;
  pointer-events: none;
}

.infoSheetWrapper.active {
  height: 50vh;
  /* -webkit-box-shadow: 0px -25px 75px 12px rgba(66, 68, 90, 1);
  -moz-box-shadow: 0px -25px 75px 12px rgba(66, 68, 90, 1);
  box-shadow: 0px -25px 75px 12px rgba(66, 68, 90, 1); */
}

.infoSheetWrapper .bottomAsset {
  bottom: -50vh;
  transition: bottom 0.5s;
}

.infoSheetWrapper.active .bottomAsset {
  bottom: 0;
}

/* 
.infoSheetWrapper .fa-angle-up {
  transition: transform 1s ease-in-out;
  display: inline-block;
} */

/* .infoSheetWrapper.active .fa-angle-up {
  transform: rotate(180deg);
} */

.infoSheetWrapper:not(.active) .fa-angle-up {
  display: block;
}

.infoSheetWrapper.active .fa-angle-up {
  display: none;
}

.infoSheetWrapper.active .fa-angle-down {
  display: block;
}

.infoSheetWrapper:not(.active) .fa-angle-down {
  display: none;
}

.infoSheet {
  width: 100%;
  height: 50vh;
  display: flex;
  padding: 3.2em;
  flex-direction: column;
  background-color: var(--dark-blue);
}

.contentMessage {
  margin-bottom: 10px;
}

@media only screen and (max-width: 1650px) {
  .descriere {
    font-size: 0.8em;
  }

  /* #kc-form-options label,
  .passForget span a {
    font-size: 0.75em;
  } */

  :root {
    --outerPadding: 100px 280px;
    --contentPadding: 60px 100px;
  }
}

@media only screen and (max-width: 992px) {
  :root {
    --outerPadding: 100px 250px;
    --contentPadding: 60px 50px;
  }

  #kc-content,
  .infoContent {
    min-width: unset;
  }

  .infoContent {
    display: none;
  }

  .spacerMobile {
    width: 100%;
    height: 50%;
  }

  .infoSheetWrapper {
    display: block;
  }

  .infoSheet {
    display: flex;
  }

  .modalWrapper {
    width: 100%;
  }

  .mobileDecoration {
    display: block;
    border-radius: 0;
    margin-bottom: 3vh;
  }

  .infoDecoration {
    display: none;
  }

  .blueLogo {
    display: block;
  }

  .infoContent {
    height: 35%;
    border-radius: 0;
  }

  .infoLinks {
    margin: 20px 0px;
  }

  .bottomText {
    display: none;
  }

  #kc-content {
    gap: 50px;
  }

  #kc-content > header {
    align-items: center;
    height: auto;
  }

  :root {
    --outerPadding: 0px;
    --contentPadding: 30px 50px;
  }

  .modalWrapper > div {
    display: block;
    border-radius: 0;

    /* display: flex;
    flex-direction: column-reverse; */
  }

  #kc-current-locale-link,
  #language-switch1 a {
    color: var(--dark-blue);
  }

  #language-switch1 {
    border: 1px solid var(--dark-blue);
  }

  .service {
    text-align: center;
  }

  .copyrightMobile {
    display: block;
  }

  .descriere {
    padding: 0px;
    /* color: #ababab; */
    /* border-top: 1px solid white; */
    color: white;
  }

  .infoLogo {
    display: none;
  }

  .copyrightDesktop {
    display: none;
  }

  .spacer {
    height: 0;
  }

  /* .wrapper {
    padding: 0;
  } */
}

/* @media only screen and (max-width: 450px) {
  :root {
    --contentPadding: 100px 100px;
  }
} */
