#loginPage .row {
  height: 100vh;
}

#loginPage .row .login-col-2 {
  background-color: var(--main-color);
  background: linear-gradient(
    to bottom,
    #046f37,
    /* #04804c 40%, */ #04804c 60%,
    /* #05ab7f 70%, */ #05ab7f /* #55ac7f */
  );
  /* box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px; */
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

#loginPage .row .login-col-1 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset,
    rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset,
    rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px,
    rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px,
    rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
}

.center-contents {
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-content-container {
  align-content: center;
}

/* mobile */
#loginMobile {
  min-height: 100vh;
  color: white !important;
  background: linear-gradient(
    to bottom,
    #046f37,
    /* #04804c 40%, */ #04804c 60%,
    /* #05ab7f 70%, */ #05ab7f /* #55ac7f */
  );
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* login */

/* Center the form container */
#loginForm {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

/* Center the form group */
.form-group {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Center the button */
.custom-button-login {
  background-color: var(--main-color);
  color: white;
}

.mobile-text-title {
  width: 25em;
}

#loginMobile {
  padding-top: 8em;
}

/* custom mobile button  */
.button-85 {
  margin-top: 1em;
  padding: 0.6em 2em;
  border: none;
  outline: none;
  color: var(--main-color);
  background: #f7f7f7;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 5px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-85:before {
  content: "";
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.63), #046f3818);
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  -webkit-filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing-button-85 20s linear infinite;
  transition: opacity 0.3s ease-in-out;
  border-radius: 10px;
}

@keyframes glowing-button-85 {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}

.button-85:after {
  z-index: -1;
  content: "";
  width: 100%;
  height: 100%;
  background: var(--main-color);
  left: 0;
  top: 0;
  border-radius: 10px;
}

.button-85-d {
  margin-top: 1em;
  padding: 0.6em 2em;
  border: none;
  outline: none;
  color: white;
  background: var(--main-color);
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 5px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-85-d:before {
  content: "";
  background: linear-gradient(45deg, #046f3854, #046f38);
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(1px);
  -webkit-filter: blur(1px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing-button-85-d 20s linear infinite;
  transition: opacity 0.3s ease-in-out;
  border-radius: 10px;
}

@keyframes glowing-button-85-d {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}

.button-85-d:after {
  z-index: -1;
  content: "";
  width: 100%;
  height: 100%;
  background: snow;
  left: 0;
  top: 0;
  border-radius: 10px;
}

#form-mobile {
  padding: 0 2em;
}
.loading-btn-style {
  background-color: var(--main-opac-color) !important;
}

/* Set the width of the input fields and center them */
.login-input {
  width: 25em;
}
.login-input::placeholder {
  color: gray !important;
}

.clearfix {
  clear: both;
}

.separator {
  text-align: center;
  margin-top: 20px;
}

.separator p {
  margin: 0;
}

body #loginPage {
  /* background: url("../img/BG_PATTERN.jpg") no-repeat center center fixed; */
  /* background-size: cover; */

  box-shadow: rgba(0, 0, 0, 0.09) 0px 3px 12px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  height: 100%;
}
.card > .login-class {
  background: linear-gradient(
    to bottom,
    #046f37,
    /* #04804c 40%, */ #04804c 60%,
    /* #05ab7f 70%, */ #05ab7f /* #55ac7f */
  );
}

.form-container {
  background: rgba(255, 255, 255, 0.95);
  height: 100vh;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Mobile devices (portrait and landscape) */
@media only screen and (max-width: 600px) {
  #loginDesktop {
    display: none !important;
  }

  #loginMobile {
    display: block !important;
  }
}

@media only screen and (max-width: 1180px) and (orientation: landscape) {
  #loginDesktop {
    display: none !important;
  }

  #loginMobile {
    display: block !important;
  }
}

/* Tablets (landscape and portrait) */
@media only screen and (min-width: 601px) and (max-width: 1000px) {
  #loginDesktop {
    display: none !important;
  }

  #loginMobile {
    display: block !important;
  }
}

/* Tablets (landscape and portrait) */
@media only screen and (min-width: 601px) and (max-width: 1000px) and (orientation: landscape) {
  #loginDesktop {
    display: none !important;
  }

  #loginMobile {
    display: block !important;
  }
}

/* exact eapi tablet size */
@media only screen and (min-width: 900px) and (max-height: 1510px) and (orientation: landscape) {
  .login-msg {
    width: 25em;
  }
  .img-fluid {
    max-width: 40em !important;
  }
}

@media only screen and (max-width: 900px) and (min-height: 1510px) and (orientation: portrait) {
  .login-img {
    max-width: 28em !important;
  }
  #loginMobile {
    padding-top: 17em;
  }
}
