body.alk-login-page {
  overflow: hidden !important;
}

body.alk-login-page #alk-login-shell {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  overflow: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #fff;
  background:
    radial-gradient(circle at 18% 50%, rgba(255,122,0,0.22) 0%, rgba(255,122,0,0.10) 16%, rgba(255,122,0,0.03) 28%, transparent 48%),
    linear-gradient(90deg, #070707 0%, #0a0d14 58%, #040404 100%);
}

body.alk-login-page #alk-login-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-radial-gradient(
      circle at 20% 50%,
      rgba(255,140,0,0.10) 0 2px,
      transparent 2px 16px
    );
  opacity: 0.18;
  pointer-events: none;
}

body.alk-login-page #alk-login-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255,122,0,0.14), transparent 18%, transparent 76%, rgba(23,34,62,0.18));
  pointer-events: none;
}

.alk-login-layout {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 72px;
  padding: 54px 78px 92px;
}

.alk-visual-pane {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alk-visual-core {
  width: min(620px, 92%);
  position: relative;
}

.alk-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  color: #ff9c36;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.alk-visual-title {
  margin: 0 0 14px;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.alk-visual-title .accent {
  color: #ff8b1f;
}

.alk-visual-sub {
  margin: 0;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255,255,255,0.80);
}

.alk-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.alk-chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.88);
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.alk-login-card-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.alk-login-card {
  width: min(540px, 100%);
  border-radius: 28px;
  padding: 34px 34px 30px;
  background: rgba(5,5,7,0.82);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.02) inset,
    0 0 34px rgba(255,122,0,0.10);
  backdrop-filter: blur(12px);
}

.alk-login-title {
  margin: 0 0 10px;
  font-size: clamp(42px, 4vw, 62px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.alk-login-title .accent {
  color: #ff8b1f;
}

.alk-login-desc {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.84);
}

.alk-login-desc .brand {
  color: #ff9a33;
  font-weight: 800;
}

.alk-form-host,
.alk-form-host form {
  width: 100%;
}

.alk-form-host form {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
}

.alk-form-host label,
.alk-login-card label {
  display: block;
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.alk-form-host input[type="email"],
.alk-form-host input[type="text"],
.alk-form-host input[type="password"] {
  width: 100%;
  min-height: 58px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  color: #fff;
  padding: 0 18px;
  font-size: 16px;
  outline: none;
  box-shadow: none;
  transition: all 0.2s ease;
}

.alk-form-host input::placeholder {
  color: rgba(255,255,255,0.42);
}

.alk-form-host input:focus {
  border-color: rgba(255,138,33,0.72);
  box-shadow: 0 0 0 4px rgba(255,138,33,0.14);
  background: rgba(255,255,255,0.06);
}

.alk-form-host a {
  color: #ff9a33 !important;
  font-weight: 700;
  text-decoration: none;
}

.alk-form-host a:hover {
  text-decoration: underline;
}

.alk-form-host button[type="submit"],
.alk-form-host input[type="submit"],
.alk-form-host .button,
.alk-form-host .btn {
  width: 100%;
  min-height: 58px;
  border: 0 !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, #ff972f 0%, #ff7408 100%) !important;
  color: #fff !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow:
    0 16px 34px rgba(255,122,0,0.24),
    0 0 20px rgba(255,122,0,0.16);
  margin-top: 8px;
}

.alk-form-host button[type="submit"]:hover,
.alk-form-host input[type="submit"]:hover {
  filter: brightness(1.04);
}

.alk-form-host .field,
.alk-form-host .input,
.alk-form-host .form-group,
.alk-form-host .form-item {
  margin-bottom: 18px !important;
}

.alk-form-host .password-wrap,
.alk-form-host .password-wrapper,
.alk-form-host .input-wrap {
  width: 100%;
}

.alk-login-footer {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.84);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

.alk-login-footer img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255,140,0,0.18));
}

@media (max-width: 1200px) {
  .alk-login-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 42px 32px 90px;
  }

  .alk-visual-pane {
    min-height: unset;
    justify-content: flex-start;
    padding-top: 24px;
  }

  .alk-login-card-wrap {
    justify-content: flex-start;
  }

  .alk-login-card {
    max-width: 640px;
  }
}

@media (max-width: 720px) {
  .alk-login-layout {
    padding: 26px 16px 88px;
  }

  .alk-visual-title {
    font-size: 38px;
  }

  .alk-visual-sub {
    font-size: 15px;
    line-height: 1.7;
  }

  .alk-login-card {
    padding: 24px 18px 22px;
    border-radius: 22px;
  }

  .alk-login-title {
    font-size: 36px;
  }

  .alk-login-desc {
    font-size: 14px;
  }

  .alk-login-footer {
    font-size: 12px;
    bottom: 16px;
    gap: 8px;
  }

  .alk-login-footer img {
    width: 22px;
    height: 22px;
  }
}

/* Alkafaa final text fit */
.alk-visual-core{
  width:min(780px, 100%) !important;
  max-width:780px !important;
}

.alk-visual-title{
  font-size:clamp(52px, 4.1vw, 66px) !important;
  line-height:1.08 !important;
  letter-spacing:-0.045em !important;
}

.alk-visual-title .alk-line{
  white-space:nowrap !important;
  display:inline-block !important;
}

.alk-visual-sub{
  max-width:720px !important;
  font-size:18px !important;
  line-height:1.65 !important;
}

/* Alkafaa final text fit */
.alk-visual-core{
  width:min(780px, 100%) !important;
  max-width:780px !important;
}

.alk-visual-title{
  font-size:clamp(52px, 4.1vw, 66px) !important;
  line-height:1.08 !important;
  letter-spacing:-0.045em !important;
}

.alk-visual-title .alk-line{
  white-space:nowrap !important;
  display:inline-block !important;
}

.alk-visual-sub{
  max-width:720px !important;
  font-size:18px !important;
  line-height:1.65 !important;
}

/* ALKAFAA mobile login fix */
@media (max-width: 820px) {
  html,
  body.alk-login-page {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  body.alk-login-page #alk-login-shell {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    min-height: 100dvh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .alk-login-layout {
    display: flex !important;
    min-height: 100dvh !important;
    width: 100% !important;
    max-width: 100vw !important;
    padding: 22px 16px 76px !important;
    box-sizing: border-box !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .alk-visual-pane {
    display: none !important;
  }

  .alk-login-card-wrap {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .alk-login-card {
    width: 100% !important;
    max-width: 430px !important;
    padding: 28px 22px 26px !important;
    border-radius: 24px !important;
    box-sizing: border-box !important;
  }

  .alk-login-title {
    font-size: 42px !important;
    line-height: 1.04 !important;
    letter-spacing: -0.04em !important;
    margin-bottom: 12px !important;
  }

  .alk-login-desc {
    font-size: 15px !important;
    line-height: 1.55 !important;
    margin-bottom: 22px !important;
  }

  .alk-form-host label,
  .alk-login-card label {
    font-size: 14px !important;
    margin-bottom: 8px !important;
  }

  .alk-form-host input[type="email"],
  .alk-form-host input[type="text"],
  .alk-form-host input[type="password"] {
    min-height: 54px !important;
    height: 54px !important;
    font-size: 15px !important;
    border-radius: 15px !important;
  }

  .alk-form-host button[type="submit"],
  .alk-form-host input[type="submit"],
  .alk-form-host .button,
  .alk-form-host .btn {
    min-height: 56px !important;
    height: 56px !important;
    font-size: 20px !important;
    border-radius: 16px !important;
  }

  .alk-login-footer {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    bottom: 12px !important;
    transform: translateX(-50%) !important;
    width: calc(100vw - 24px) !important;
    max-width: 100vw !important;
    justify-content: center !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    text-align: center !important;
    gap: 6px !important;
  }

  .alk-login-footer img {
    width: 22px !important;
    height: 22px !important;
    flex: 0 0 auto !important;
  }
}

@media (max-width: 420px) {
  .alk-login-card {
    max-width: 100% !important;
    padding: 24px 18px 22px !important;
  }

  .alk-login-title {
    font-size: 38px !important;
  }

  .alk-login-desc {
    font-size: 14px !important;
  }
}
