html,
body {
  height: 100%;
}

body {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #f5f5f5;
  color: #FFFFFF;
}

body.gradient {
  width: 100%;
  height: 100%;
}

/* overwrite rules */
.form-control:focus {
  border-color: #f8c900;
  box-shadow: 0 0 0 0.2rem rgba(248, 201, 0, .25);
}

.form-auth {
  width: 100%;
  max-width: 330px;
  padding: 15px;
  margin: auto;
  -webkit-border-radius: 10px 10px 10px 10px;
  border-radius: 10px 10px 10px 10px;
  -webkit-box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.3);
  box-shadow: 0 60px 60px 0 rgba(0, 0, 0, 0.3);
}

.form-auth .checkbox {
  font-weight: 400;
  font-size: 12px;
}

.form-auth .form-control {
  position: relative;
  box-sizing: border-box;
  height: auto;
  padding: 10px;
  font-size: 16px;
}

.form-auth .form-control:focus {
  z-index: 2;
}

.form-auth .input-icon {
  padding-right: 40px;
}

.form-auth .icon {
  position: absolute;
  right: 16px;
  top: 0px;
  height: 46px;
  width: 40px;
  background-color: #CCC;
  padding: 10px;
}

.form-auth .icon svg {
  width: 100%;
  height: 100%;
  fill: grey;
}

.form-auth .icon .bi-eye-slash {
  display: block;
}

.form-auth .icon .bi-eye {
  display: none;
}

/* SIGNIN */
.form-signin #inputEmail {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin #inputPassword {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* SIGNUP */
.form-signup #inputFirstname {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signup #inputLastname {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.form-signup #inputEmail {
  margin-bottom: 10px;
}

.form-signup #inputPassword {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signup #inputConfirmPassword {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* CHANGE PASSWORD */
.form-change-password #inputPassword {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-change-password #inputConfirmPassword {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.form-auth .title {
  font-weight: 600;
  font-size: 22px;
  text-align: center;
  text-transform: uppercase;
  margin: 10px;
}

.form-auth button[type="submit"] {
  background-color: #f8c900;
  border-color: #f8c900;
  color: #333e48;
}

.form-auth .footer a {
  font-weight: 500;
  text-decoration: none;
  font-size: 12px;
  color: #FFFFFF;
  display: block;
  padding: 5px 0px;
}

.form-auth .password-toggle svg {
  position: absolute;
  cursor: pointer;
  height: 32px;
  width: 32px;
  right: 7px;
  top: 18px;
  color: #999;
  z-index: 10;
}

.form-auth .password-toggle .bi-eye {
  display: none;
}

.form-auth input {
  margin: 10px 0px;
  border-radius: .25rem !important;
}

.form-auth button[type="submit"] {
  margin: 20px 0px;
}

/* ERRORS */
.form-auth .errors ul {
  margin: 0px;
  padding: 0px;
  list-style: none;
}

.form-auth .errors ul li {
  font-size: 12px;
}

.form-auth .feedback {
  padding: 10px;
}

.environment {}

.environment .ribbon {
  position: absolute;
  left: -5px;
  top: -5px;
  z-index: 1;
  overflow: hidden;
  width: 75px;
  height: 75px;
  text-align: right;
}

.environment .ribbon span {
  font-size: 10px;
  font-weight: bold;
  color: #333;
  text-transform: uppercase;
  text-align: center;
  line-height: 20px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  width: 100px;
  display: block;
  background: #F7C82E;
  box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
  position: absolute;
  top: 19px;
  left: -21px;
}

.environment .ribbon span::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 100%;
  z-index: -1;
  /* border-left: 3px solid #F7C82E;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #F7C82E; */
}

.environment .ribbon span::after {
  content: "";
  position: absolute;
  right: 0px;
  top: 100%;
  z-index: -1;
  /* border-left: 3px solid transparent;
  border-right: 3px solid #F7C82E;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #F7C82E; */
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn:not(.disabled):after {
  background: #fff;
  content: "";
  height: 155px;
  left: -75px;
  opacity: .2;
  position: absolute;
  top: -50px;
  transform: rotate(35deg);
  transition: all 1000ms cubic-bezier(0.19, 1, 0.22, 1);
  width: 50px;
  z-index: 10;
}

.btn:not(.disabled):hover:after {
  left: 120%;
  transition: all 1000ms cubic-bezier(0.19, 1, 0.22, 1);
}

/***************************************************
 * OTP
 **************************************************/

body.gradient.page-auth-otp {
  background-image: linear-gradient(to right top, #3190d0 0%, #516792 50%);
  background-attachment: fixed;
}

.page-auth-otp .download-app {
  font-size: 10px;
  width: 100%;
  text-align: center;
}

.page-auth-otp .download-app img {
  width: 45px;
  height: 45px;
  margin-left: 10px;
}

/* Container styling */
.page-auth-otp .form-area {
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  border-radius: 24px;
  max-width: 500px;
  margin: 20px auto;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.page-auth-otp .form-area.first-step {
  padding: 5px 15px;
}

.page-auth-otp .form-area.second-step {
  padding: 20px;
}

/* Heading */
.page-auth-otp .form-otp h2 {
  font-size: 1.2rem;
  color: #2d3436;
  text-align: center;
}

.page-auth-otp .form-area.second-step .form-otp {
  padding: 20px;
}

.page-auth-otp .scan-code {
  margin: 0px;
}

/* QR Code styling */
.page-auth-otp .qrcode {
  border-radius: 16px;
  background: white;
  box-shadow: 0 0px 11px rgba(91, 91, 91, 0.5);
  margin: 20px 0;
  transition: transform 0.3s ease;
  height: 160px;
  width: auto;
}

.page-auth-otp .qrcode:hover {
  transform: scale(1.05);
}

.text-code p {
  line-height:1.2rem
}

/* Secret Key styling */
.page-auth-otp .copy {
  background: #f8f9fa;
  padding: 10px 20px;
  border-radius: 12px;
  font-family: 'monospace';
  font-size: 1.1em;
  color: #0984e3;
  border: 1px dashed #74b9ff;
  display: inline-block;
  margin: 0px;
  cursor: pointer;
}

/* Verification Button */
.page-auth-otp .btn-company {
  background: var(--color-btn-primary);
  border: none;
  border-radius: 12px;
  padding: 5px;
  font-weight: bold;
  color: white;
  box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
}

.page-auth-otp .btn-company:hover {
    background-color: var(--color-btn-primary-hover) !important;
    color: var(--color-btn-primary-text) !important;
}

/* Input Code styling */
.page-auth-otp .form-control {
  border-radius: 12px;
  padding: 12px 16px;
  border: 2px solid #eee;
  transition: border-color 0.3s ease;
  font-size: 1.2rem;
  text-align: center;
  letter-spacing: 4px;
}

.page-auth-otp a.form-control:focus {
  border-color: #6c5ce7;
  outline: none;
}

.page-auth-otp #otp_recovery_codes {}

.page-auth-otp #otp_recovery_codes ul {
  padding: 10px;
}

.page-auth-otp #otp_recovery_codes ul li {
  list-style: none;
  padding: 5px 0px;
  border-bottom: 1px dotted;
}

.page-auth-otp #otp_recovery_codes .btn {
  background: var(--color-btn-primary);;
  border: none;
  border-radius: 12px;
  padding: 5px;
  font-weight: bold;
  color: white;
  box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
}

/***************************************************
 * LOGO ANIMATION | ET-PASS
 **************************************************/
.logo {
  width: 180px;
  margin: 0px auto 1.5rem auto !important;
}


@keyframes animate-waves {
  0% {
    fill: transparent;
  }

  100% {
    fill: rgb(243, 183, 41);
  }
}

.svg-wave-1 {
  animation: animate-waves 1s cubic-bezier(0.5, 0, 0.7, 0.7) 1s both;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.svg-wave-2 {
  animation: animate-waves 1s cubic-bezier(0.5, 0, 0.7, 0.7) 0.8s both;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.svg-wave-3 {
  animation: animate-waves 1s cubic-bezier(0.5, 0, 0.7, 0.7) 0.6s both;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.svg-wave-4 {
  animation: animate-waves 1s cubic-bezier(0.5, 0, 0.7, 0.7) 0.4s both;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.svg-left-arrow,
.svg-right-arrow,
.svg-E,
.svg-T {
  fill: rgb(45, 138, 114);
}

.svg-p,
.svg-a,
.svg-s-first,
.svg-s-last {
  fill: rgb(255, 255, 255);
}