.ck-login-page {
  min-height: 100vh;
  background: #eef3f9;
}

.ck-login-page .container {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  padding: 0;
}

.ck-login-page .auth-wrapper {
  min-height: 100vh;
  display: block;
}

.ck-login-page .ck-auth-stack {
  width: 100%;
  max-width: none;
  min-height: 100vh;
}

.ck-login-page .ck-auth-footer {
  position: fixed;
  right: clamp(24px, 5vw, 84px);
  bottom: 24px;
  z-index: 2;
  margin: 0;
  color: #7b8798;
  font-size: 12px;
}

.login-page {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 48px clamp(96px, 8vw, 120px) 48px 48px;
  overflow: hidden;
  background-color: #edf4fb;
  background-image:
    linear-gradient(90deg, rgba(237, 244, 251, 0.02) 0%, rgba(237, 244, 251, 0.04) 50%, rgba(237, 244, 251, 0.55) 72%, rgba(237, 244, 251, 0.96) 100%),
    url("../custom/checkin/bk-login.jpg");
  background-size: auto 100%;
  background-position: left center;
  background-repeat: no-repeat;
}

.login-content {
  width: 100%;
  max-width: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: 38px;
  background: linear-gradient(90deg, rgba(237, 244, 251, 0.08), rgba(237, 244, 251, 0.42));
}

.login-form-shell {
  width: min(100%, 430px);
}

.ck-meta-auth .ck-meta-login-box.login-card {
  width: 100%;
  margin: 0;
  padding: clamp(36px, 3vw, 52px);
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 34px 100px rgba(15, 35, 75, 0.18);
  backdrop-filter: blur(12px);
}

.login-brand {
  margin-bottom: 28px;
}

.ck-meta-auth .login-brand img {
  width: min(100%, 292px);
  max-height: 98px;
}

.login-heading {
  margin-bottom: 24px;
}

.login-heading h4 {
  margin: 0 0 8px;
  color: #18263b;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
}

.login-heading p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

.login-field .form-label {
  margin-bottom: 8px;
  color: #18263b;
  font-weight: 600;
}

.login-field .form-control,
.login-password-group .btn {
  min-height: 52px;
  border-color: #d7e1ee;
}

.login-field .form-control {
  border-radius: 8px;
  color: #24364d;
  background: #fff;
}

.login-password-group .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.login-password-group .btn {
  width: 56px;
  border-radius: 0 8px 8px 0;
  color: #728198;
  background: #fff;
}

.login-actions {
  margin-top: 24px;
}

.login-actions .btn {
  min-height: 52px;
  border-radius: 8px;
  font-weight: 600;
}

.login-actions .btn-primary {
  border-color: #2f6fe4;
  background: #2f6fe4;
  box-shadow: 0 16px 28px rgba(47, 111, 228, 0.22);
}

.login-actions .btn-outline-success {
  border-color: #36c18b;
  color: #159764;
  background: #fff;
}

@media (max-width: 1100px) {
  .login-page {
    justify-content: center;
    padding: 28px 20px 92px;
    background-image:
      linear-gradient(180deg, rgba(237, 244, 251, 0.48) 0%, rgba(237, 244, 251, 0.72) 42%, rgba(237, 244, 251, 0.94) 100%),
      url("../custom/checkin/bk-login.jpg");
    background-size: cover;
    background-position: center center;
  }

  .ck-login-page .ck-auth-footer {
    position: static;
    padding: 0 24px 28px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .login-page {
    padding: 18px 16px 84px;
  }

  .ck-meta-auth .ck-meta-login-box.login-card {
    padding: 24px 18px;
  }

  .login-content {
    padding: 10px;
    border-radius: 28px;
  }

  .login-heading h4 {
    font-size: 24px;
  }
}
