#kemi-login-page {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 430px;
  padding: 48px 20px;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(224, 237, 255, 0.9) 0%, rgba(247, 250, 255, 0.95) 42%, #ffffff 42.5%),
    #ffffff;
}

#kemi-login-page *,
#kemi-login-page *::before,
#kemi-login-page *::after {
  box-sizing: border-box;
}

.kemi-login-card {
  width: 100%;
  max-width: 560px;
  padding: 50px 52px 48px;
  border: 1px solid #e3eaf4;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 50px rgba(43, 77, 128, 0.14);
}

.kemi-login-copy {
  margin-bottom: 40px;
}

.kemi-login-welcome,
.kemi-login-subtitle {
  margin: 0;
  color: #77859a;
}

.kemi-login-welcome {
  font-size: 18px;
  font-weight: 500;
}

#kemi-login-title {
  margin: 14px 0 16px;
  color: #1e2f45;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
}

.kemi-login-subtitle {
  font-size: 18px;
  line-height: 1.6;
}

a.kemi-login-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 64px;
  padding: 14px 24px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #427cff, #315ed3);
  box-shadow: 0 12px 24px rgba(49, 94, 211, 0.25);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

a.kemi-login-button:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #356ff1, #274fbd);
  box-shadow: 0 14px 28px rgba(49, 94, 211, 0.32);
  text-decoration: none;
  transform: translateY(-1px);
}

a.kemi-login-button:focus {
  color: #ffffff;
  outline: 3px solid rgba(66, 124, 255, 0.32);
  outline-offset: 3px;
}

.kemi-login-mark {
  display: inline-flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 19px;
  line-height: 1;
}

@media screen and (max-width: 600px) {
  #kemi-login-page {
    min-height: 360px;
    padding: 24px 12px;
  }

  .kemi-login-card {
    padding: 36px 26px;
  }

  #kemi-login-title {
    font-size: 25px;
  }

  .kemi-login-welcome,
  .kemi-login-subtitle {
    font-size: 16px;
  }

  a.kemi-login-button {
    min-height: 58px;
    padding: 12px 16px;
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  a.kemi-login-button {
    transition: none;
  }
}
