@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap');

body.login-animated {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
}

body.login-animated .wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  padding: 24px 16px;
  background: url('../img/login-animated-bg.png') no-repeat;
  background-size: cover;
  background-position: center;
  animation: loginAnimatedBg 5s linear infinite;
  box-sizing: border-box;
}

@keyframes loginAnimatedBg {
  100% {
    filter: hue-rotate(360deg);
  }
}

body.login-animated .login-box {
  position: relative;
  width: 400px;
  max-width: 100%;
  min-height: 450px;
  height: auto;
  padding: 36px 28px 28px;
  background: transparent;
  border-radius: 15px;
  border: 2px solid rgba(255, 255, 255, .5);
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-sizing: border-box;
  z-index: 1;
}

body.login-animated .login-box-inner {
  width: 100%;
}

body.login-animated .logo {
  text-align: center;
  margin-bottom: 12px;
}

body.login-animated .logo img {
  max-height: 56px;
  width: auto;
  max-width: 100%;
}

body.login-animated .login-box h2 {
  font-size: 2em;
  color: #fff;
  text-align: center;
  margin: 0 0 8px;
  font-weight: 600;
}

body.login-animated .input-box {
  position: relative;
  width: 100%;
  max-width: 310px;
  margin: 28px auto;
  border-bottom: 1px solid #fff;
}

body.login-animated .input-box.label-float label {
  position: absolute;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  font-size: 1em;
  color: #fff;
  pointer-events: none;
  transition: .5s;
  margin: 0;
}

body.login-animated .input-box.label-float input:focus ~ label,
body.login-animated .input-box.label-float input:not(:placeholder-shown) ~ label,
body.login-animated .input-box.label-float input:valid ~ label {
  top: -5px;
}

body.login-animated .input-box input,
body.login-animated .input-box .form-control {
  width: 100%;
  height: 50px;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  font-size: 1em;
  color: #fff;
  padding: 0 35px 0 5px;
  border-radius: 0;
}

body.login-animated .input-box input::placeholder {
  color: transparent;
}

body.login-animated .input-box .icon {
  position: absolute;
  right: 8px;
  top: 50%;
  color: #fff;
  transform: translateY(-50%);
  font-size: 1.15rem;
  line-height: 1;
}

body.login-animated .input-box.code.hide {
  display: none !important;
}

body.login-animated .login-actions {
  max-width: 310px;
  margin: 0 auto;
}

body.login-animated .btn-login-animated,
body.login-animated button.btn-login-animated {
  display: block;
  width: 100%;
  height: 40px;
  background-color: #fff;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  font-size: 1em;
  color: #000;
  font-weight: 500;
  margin-top: 8px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.login-animated .btn-login-animated:hover,
body.login-animated .btn-login-animated:focus {
  opacity: 0.92;
  transform: scale(1.02);
  color: #000;
  outline: none;
  text-decoration: none;
}

body.login-animated .btn-login-animated.loading {
  opacity: 0.7;
  pointer-events: none;
}

body.login-animated .reset-link {
  display: block;
  text-align: center;
  margin-top: 16px;
  color: #fff;
  font-size: 0.9em;
  text-decoration: none;
}

body.login-animated .reset-link:hover,
body.login-animated .reset-link:focus {
  color: #fff;
  text-decoration: underline;
}

body.login-animated .alert {
  max-width: 310px;
  margin: 12px auto;
  border-radius: 10px;
  border: none;
  padding: 10px 12px;
  font-size: 0.85rem;
}

body.login-animated .alert-danger {
  background: rgba(239, 68, 68, 0.25);
  color: #fecaca;
}

body.login-animated .alert-warning {
  background: rgba(245, 158, 11, 0.25);
  color: #fde68a;
}

body.login-animated .alert .close {
  color: inherit;
  opacity: 0.75;
  text-shadow: none;
}

body.login-animated .login-copyright {
  max-width: 310px;
  margin: 18px auto 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.72rem;
  line-height: 1.5;
}

body.login-animated .login-copyright a {
  color: #fff;
  cursor: pointer;
  text-decoration: underline;
}

body.login-animated .design-float {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  max-width: calc(100vw - 32px);
}

body.login-animated .design-float a {
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: 0.2s;
}

body.login-animated .design-float a:hover,
body.login-animated .design-float a:focus {
  background: #fff;
  color: #111;
  text-decoration: none;
}

body.login-animated .modal {
  color: #1f2937;
  animation: none;
  filter: none;
}

body.login-animated .modal .form-control {
  color: #111;
  background: #fff;
}

@media (max-width: 500px) {
  body.login-animated .wrapper {
    padding: 0;
    animation: none;
  }

  body.login-animated .login-box {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    border: none;
    border-radius: 0;
    padding: 72px 20px 28px;
  }

  body.login-animated .input-box {
    max-width: 290px;
  }
}
