/* Registration + account completion. DLE owns actual outer form and server validation. */
.mk-dle .mk-auth-page {
  width: min(calc(100% - 36px),1050px);
  margin: 42px auto 96px;
  min-width: 0;
}

.mk-dle .mk-auth-shell {
  display: grid;
  grid-template-columns: 34% 66%;
  min-width: 0;
  min-height: 515px;
  background: #151922;
  border: 1px solid #ffffff20;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 24px 78px #0004;
}

.mk-dle .mk-auth-aside {
  background: radial-gradient(ellipse at 75% 95%,#ff783e18,transparent 68%),linear-gradient(140deg,#131720,#101923);
  border-right: 1px solid #ffffff0b;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 26px 26px;
}

.mk-dle .mk-auth-brand {
  font-size: 21px;
  font-weight: 950;
  color: #fff;
  letter-spacing: -1px;
}

.mk-dle .mk-auth-brand span {
  color: #ff783e;
}

.mk-dle .mk-auth-aside-main {
  padding: 30px 0;
}

.mk-dle .mk-auth-aside-icon {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  border-radius: 11px;
  background: #ff783e11;
  border: 1px solid #ff783e43;
  color: #ff783e;
  font-size: 30px;
}

.mk-dle .mk-auth-aside h2 {
  font-size: 21px;
  line-height: 1.55;
  font-weight: 850;
  margin: 17px 0 12px;
}

.mk-dle .mk-auth-aside p {
  font-size: 12px;
  color: #9faec5;
  line-height: 2.05;
  max-width: 285px;
}

.mk-dle .mk-auth-aside>small {
  font-size: 11px;
  letter-spacing: 1px;
  color: #7c8898;
}

.mk-dle .mk-auth-main {
  padding: 30px 38px 32px;
  min-width: 0;
}

.mk-dle .mk-auth-overline {
  color: #ff9e76;
  letter-spacing: 1.4px;
  font-size: 10px;
  font-weight: 850;
}

.mk-dle .mk-auth-main h1 {
  color: #fff;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 900;
  margin: 8px 0 5px;
}

.mk-dle .mk-auth-description {
  font-size: 11px;
  color: #98a5bb;
  line-height: 1.9;
  margin: 0 0 22px;
}

.mk-dle .mk-auth-two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mk-dle .mk-username-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: start;
  min-width: 0;
}

.mk-dle .mk-username-row input {
  min-width: 0;
}

.mk-dle .mk-check-name {
  border: 1px solid #ffffff24;
  background: #252a35;
  color: #f1f2f5;
  border-radius: 8px;
  min-height: 42px;
  padding: 9px 13px;
  font-size: 11px;
  cursor: pointer;
  white-space: nowrap;
}

.mk-dle .mk-check-name:hover {
  border-color: #ff783e;
  color: #ff9e79;
}

.mk-dle .mk-password-feedback {
  min-height: 14px;
  margin: -5px 0 10px;
  color: #ffb07e;
  font-size: 10px;
}

.mk-dle .mk-auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 45px;
  margin-top: 15px;
  background: #ff4d00;
  color: #101217;
  border: 0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.mk-dle .mk-auth-submit:hover {
  background: #ff783e;
  color: #28150e;
}

.mk-dle .mk-auth-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  color: #7f8ca1;
  font-size: 11px;
  margin-top: 16px;
}

.mk-dle .mk-auth-footer-links a {
  color: #d0d5df;
}

.mk-dle .mk-auth-footer-links a:hover {
  color: #ff783e;
}

.mk-dle .mk-auth-note {
  display: flex;
  gap: 11px;
  background: #1e2330;
  border: 1px solid #ffffff10;
  border-radius: 9px;
  padding: 14px;
  margin: 15px 0 20px;
  color: #e4e9f4;
}

.mk-dle .mk-auth-note>span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  background: #ff783e17;
  border-radius: 8px;
  color: #ff783e;
  font-size: 16px;
}

.mk-dle .mk-auth-note strong,
.mk-dle .mk-auth-note small {
  display: block;
}

.mk-dle .mk-auth-note strong {
  font-size: 11px;
  margin-bottom: 4px;
}

.mk-dle .mk-auth-note small {
  color: #99a5b8;
  line-height: 1.75;
  font-size: 10px;
}

@media(max-width:760px) {
  .mk-dle .mk-auth-page {
    margin: 20px auto 64px;
  }
  .mk-dle .mk-auth-shell {
    grid-template-columns: 1fr;
  }
  .mk-dle .mk-auth-aside {
    min-height: 125px;
    padding: 20px;
  }
  .mk-dle .mk-auth-aside-main {
    padding: 12px 0 0;
  }
  .mk-dle .mk-auth-aside h2 {
    font-size: 16px;
    margin: 7px 0;
  }
  .mk-dle .mk-auth-aside p {
    font-size: 11px;
    max-width: none;
    margin: 0;
  }
  .mk-dle .mk-auth-aside>small {
    display: none;
  }
  .mk-dle .mk-auth-main {
    padding: 24px 19px;
  }
  .mk-dle .mk-auth-aside-icon {
    display: none;
  }
}

@media(max-width:410px) {
  .mk-dle .mk-auth-two-fields {
    grid-template-columns: 1fr;
  }
  .mk-dle .mk-username-row {
    grid-template-columns: 1fr;
  }
  .mk-dle .mk-check-name {
    justify-self: start;
  }
}

/* Registration V3: actual human-and-add glyph rather than indistinct symbol. */
.mk-dle .mk-registration-page .mk-auth-aside-icon {
  width: 53px;
  height: 53px;
  border-radius: 13px;
}

.mk-dle .mk-registration-page .mk-auth-aside-icon svg {
  width: 30px;
  height: 30px;
  display: block;
}

.mk-dle .mk-auth-aside {
  background: radial-gradient(ellipse at 75% 92%,#ff783e12,transparent 62%),#13151a;
  border-right: 1px solid #ffffff11;
}

.mk-dle .mk-auth-shell {
  background: #15171c;
  border-color: #ffffff20;
}

.mk-dle .mk-auth-main {
  background: #15171c;
}

.mk-dle .mk-auth-main .mk-field :is(input,textarea) {
  background: #1c1f26!important;
  border-color: #ffffff1d!important;
}

.mk-dle .mk-auth-main .mk-field :is(input,textarea):focus {
  border-color: #ff783e!important;
}
