body {
  font-family: 16px/1.7 Arial, Helvetica, sans-serif;
  color: #000;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  /* Hide scrollbar in Edge */
  -ms-overflow-style: none;
}

.bg-half {
  background-color: #25a8e0;
  width: 100%;
  height: 60vh;
}

.logo {
  opacity: 0;
  width: 146px;
  margin: 32px;
  transform: translateY(-200px);
  animation: slide-down 0.3s ease-out forwards;
}

@-webkit-keyframes slide-down {
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slide-down {
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

.login-form .title {
  color: #273077;
}

.form-container {
  width: 400px;
  padding: 32px;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  box-shadow: 4px 8px 16px 8px rgba(32, 81, 105, 0.1);
  border-radius: 16px;
  z-index: 100;
  overflow: hidden;
}

@media only screen and (max-width: 600px) {
  .form-container {
    width: 92%;
    padding: 16px 8px;
  }

  .login-form {
    padding: 16px;
  }

  .login-form .title {
    font-size: 20px;
  }
}

.user-name,
.password {
  border: 1px solid #c2d5df;
  padding: 24px 0;
  padding-left: 56px;
  background-repeat: no-repeat;
  background-size: 22px 22px;
  background-position: left 14px center;
  transition: padding 0.2s ease;
}

.user-name {
  background-image: url(/images/ic_user_circle.svg);
}

.password {
  background-image: url(/images/ic_password.png);
}

.user-name:focus,
.password:focus {
  color: #000;
  border-color: #25a8e0 !important;
  background-image: none;
  padding-left: 16px;
}

.password-container {
  position: relative;
}

.password-visibility-toggle {
  display: none;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
}

.password-visibility-toggle:hover {
  background-color: #e9f3f6;
}

.icon-inline {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}

.uk-input:hover {
  border-color: #25a8e0;
}

.uk-input::-webkit-input-placeholder {
  color: #6e9bb1;
}

.forgot-password {
  color: #6e9bb1;
  font-size: 12px;
  text-align: left;
  display: block;
  padding: 16px 8px;
  text-decoration: none !important;
}

.forgot-password:hover {
  color: #25a8e0;
}

.log-in {
  width: 200px;
  border-radius: 24px;
}

/* Error notice. */
.notice-container {
  width: 100%;
  position: fixed;
  bottom: -50px;
  margin-bottom: 16px;
  opacity: 0;
  z-index: 1000;
  user-select: none;
  transition: all 0.5s;
}

.notice {
  background-color: white;
  border: 1px solid #b6d1df;
  /* Necessary for a "pill" shape. Using 50% creates an oval. */
  border-radius: 24px;
  font-size: 14px;
  width: fit-content;
  height: fit-content;
  margin: 0 auto;
  padding: 6px 12px;
}

.notice-icon {
  margin-right: 8px;
}

/* Hide scrollbar */
::-webkit-scrollbar {
  width: 0;
}

::selection {
  background-color: #e2e5ff;
  color: #273077;
}

