/* Info Page */
.instruction {
  font-size: 1.2em;
  color: #333;
  font-weight: bold;
  color: #e70055;
  /* padding: 10px; */
  padding-bottom: 30px;
}

#kc-info-message > p {
  width: 100%;
}

#kc-info-message > p > a {
  background-color: var(--accent);
  padding: 10px;
  border: var(--accent);
  color: white;
  border-radius: 3px;
  cursor: pointer;
  width: 100%;
  display: block;
  text-align: center;
}

/* Reauthentificare */
.alert-info {
  font-size: 1.2em;
  color: #333;
  font-weight: bold;
  color: #e70055;
  padding-bottom: 30px;
}

/* Reset Password */
#password-new,
#password-confirm {
  width: 100%;
  border: none;
  background-color: #fafafa;
}

#password-new:focus,
#password-confirm:focus {
  outline: none;
}

.passForget .checkbox label {
  justify-content: flex-start !important;
}

#kc-form-buttons {
  display: flex;
  justify-content: center;
  align-content: center;
  gap: 15px;
}

#kc-form-buttons .loginButton {
  width: 100%;
}

/* Mobile OAUTH */
#kc-totp-settings {
  overflow: auto;
  margin-bottom: 10px;
}

body:has(#kc-totp-settings) header {
  display: none;
}

body:has(#kc-totp-settings) #kc-content {
  padding: 30px 30px !important;
}

#kc-totp-secret-qr-code {
  object-fit: contain;
  width: 200px;
}

#mode-barcode,
#mode-manual {
  color: #e30056;
}

/* #kc-totp-settings-form { */
/* display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center; */
/* } */

/*Email Auth */
#kc-email-totp-code-login-form .forgetRemember {
  justify-content: flex-start;
}

/*OTP Form */
#kc-otp-login-form .forgetRemember {
  justify-content: flex-start;
}

.otpInfo {
  margin-bottom: 10px;
}

#altEmail {
  font-weight: 600;
  /* color: #e70055 */
}

/*Forgot Password */
#kc-reset-password-form .forgetRemember {
  justify-content: flex-start;
}

#input-error-username {
  color: #cb004c;
  font-weight: bold;
}

/*Select Auth Method */
.authButtonsWrapper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 25px;
}

.authButton {
  width: 100%;
  height: 100%;
  padding: 5px;
  background: #ffffff;
  border-radius: 5px;
  border: 1px solid #089ac4;
  cursor: pointer;
}

.authButton:hover {
  background: #f6f6f6;
}

.authIcon {
  font-size: 3em;
}

.authDescription {
  color: #089ac4;
  font-weight: 600;
  font-size: 15px;
}

/* Page expired */
#instruction1 {
  padding: unset !important;
}

/* Mobile Wave Decoration */
.bgDecoration {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 0;
}

.bgDecoration img {
  width: 100%;
  /* height: 100%; */
  object-fit: cover;
  z-index: 0;
}

.topAsset {
  position: absolute;
  top: 0;
  right: 0;
}

.bottomAsset {
  position: absolute;
  transform: rotate(180deg);
  left: 0;
  bottom: 0;
}

#menuToggle {
  display: block;
  position: absolute;
  top: 1.5vh;
  left: 2.5vh;

  z-index: 3;

  -webkit-user-select: none;
  user-select: none;
}

#menuToggle a {
  text-decoration: none;
  color: #232323;

  transition: color 0.3s ease;
}

#menuToggle a:hover {
  color: tomato;
}

#menuToggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;

  /* cursor: pointer; */

  opacity: 0;
  z-index: 2;

  -webkit-touch-callout: none;
}

#menuToggle span {
  display: block;
  width: 15px;
  height: 2px;
  margin-bottom: 3px;
  position: relative;

  background: white;
  /* border-radius: 3px; */

  z-index: 1;

  transform-origin: 4px 0px;

  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}

#menuToggle span:first-child {
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(3) {
  transform-origin: 0% 100%;
}

#menuToggle {
  pointer-events: none;
}

#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) scale(1.2, 1);
}

#menuToggle input:checked ~ span:nth-last-child(2) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(1) {
  transform: rotate(-45deg) scale(1.2, 1);
}

.fa-eye {
  --fa: unset !important;
}
