/* Auth pages (customer login/sign up/password and admin login) - split layout */
.kdl-auth {
  --kdl-ink: #17141f;
  --kdl-text: #2a2633;
  --kdl-muted: #6f6a7a;
  --kdl-line: #e4e1ea;
  --kdl-accent: #ff512f;
  --kdl-accent-2: #f09819;
  display: flex;
  min-height: 100vh;
  background: #fff;
  color: var(--kdl-text);
  font-family: 'Source Sans Pro', sans-serif;
}

.kdl-auth h1,
.kdl-auth h2 {
  font-family: inherit;
}

.kdl-auth__brand {
  position: relative;
  flex: 0 0 46%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 56px 64px;
  overflow: hidden;
  background: var(--kdl-ink);
  color: #fff;
}

.kdl-auth__brand::before {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  right: -260px;
  bottom: -280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,81,47,.45) 0%, rgba(240,152,25,.15) 45%, rgba(23,20,31,0) 70%);
  pointer-events: none;
}

.kdl-auth__pitch {
  position: relative;
  max-width: 460px;
  margin: auto 0;
}

.kdl-auth__eyebrow {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--kdl-accent-2);
}

.kdl-auth__brand h1 {
  margin: 0 0 20px;
  font-size: 44px;
  line-height: 1.1;
  font-weight: 700;
  color: #fff;
}

.kdl-auth__brand h1 span {
  background: linear-gradient(to right, var(--kdl-accent), var(--kdl-accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kdl-auth__lead {
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,.72);
}

.kdl-auth__points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.kdl-auth__points li {
  position: relative;
  padding: 10px 0 10px 34px;
  font-size: 16px;
  color: rgba(255,255,255,.9);
}

.kdl-auth__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--kdl-accent), var(--kdl-accent-2));
}

.kdl-auth__points li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 16px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.kdl-auth__legal {
  position: relative;
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,.45);
}

.kdl-auth__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.kdl-auth__panel {
  width: 100%;
  max-width: 420px;
}

.kdl-auth__logo {
  display: inline-block;
  margin-bottom: 36px;
}

.kdl-auth__logo img {
  max-height: 52px;
  width: auto;
}

.kdl-auth__title {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
  color: var(--kdl-ink);
}

.kdl-auth__hint {
  margin: 0 0 24px;
  color: var(--kdl-muted);
}

.kdl-auth__form .kdl-auth__title + .kdl-field {
  margin-top: 28px;
}

.kdl-field {
  margin-bottom: 18px;
}

.kdl-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--kdl-text);
}

.kdl-field__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.kdl-field__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.kdl-auth .form-control {
  height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--kdl-line);
  border-radius: 10px;
  font-size: 15px;
  color: var(--kdl-ink);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}

.kdl-auth .form-control:focus {
  border-color: var(--kdl-accent);
  box-shadow: 0 0 0 3px rgba(255,81,47,.15);
  outline: none;
}

.kdl-altcha {
  margin-bottom: 24px;
}

.kdl-auth altcha-widget {
  --altcha-max-width: 100%;
  --altcha-border-radius: 10px;
  --altcha-border-width: 1px;
  --altcha-color-border: var(--kdl-line);
  --altcha-color-text: var(--kdl-text);
  --altcha-color-active: var(--kdl-accent);
  --altcha-color-border-focus: var(--kdl-accent);
}

.kdl-auth .altcha {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
}

.kdl-auth .altcha-main {
  flex: 1;
  padding: 12px 14px;
}

.kdl-auth .altcha-checkbox input {
  width: 22px;
  height: 22px;
  accent-color: var(--kdl-accent);
  cursor: pointer;
}

.kdl-auth .altcha-label {
  font-size: 15px;
  color: var(--kdl-text);
  cursor: pointer;
}

.kdl-auth .altcha-footer {
  padding: 0 14px;
  font-size: 12px;
  color: var(--kdl-muted);
  background: none;
  opacity: 1;
}

.kdl-auth .kdl-altcha .altcha-footer a {
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}

.kdl-auth .kdl-altcha .altcha-footer a:hover {
  color: var(--kdl-accent);
}

.kdl-link-small {
  font-size: 13px;
  color: var(--kdl-accent);
}

.kdl-check {
  margin: 4px 0 24px;
  padding-left: 32px;
  min-height: 22px;
}

.kdl-check .custom-control-label {
  font-size: 15px;
  line-height: 22px;
  color: var(--kdl-text);
  cursor: pointer;
}

.kdl-check .custom-control-label::before,
.kdl-check .custom-control-label::after {
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
}

.kdl-check .custom-control-label::before {
  border: 2px solid #b8b3c4;
  border-radius: 6px;
  background: #fff;
}

.kdl-check .custom-control-label::after {
  background-size: 60% 60%;
}

.kdl-check .custom-control-input:checked ~ .custom-control-label::before {
  border-color: var(--kdl-accent);
  background: var(--kdl-accent);
}

.kdl-check .custom-control-input:focus ~ .custom-control-label::before {
  box-shadow: 0 0 0 3px rgba(255,81,47,.2);
}

.kdl-btn {
  display: block;
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #fff !important;
  background-image: linear-gradient(to right, #FF512F 0%, #F09819 51%, #FF512F 100%);
  background-size: 200% auto;
  transition: background-position .4s, transform .15s, box-shadow .15s;
}

.kdl-btn:hover,
.kdl-btn:focus {
  background-position: right center;
  box-shadow: 0 8px 20px rgba(255,81,47,.25);
}

.kdl-btn:active {
  transform: translateY(1px);
}

a.kdl-btn {
  line-height: 50px;
  padding: 0;
  text-align: center;
}

.kdl-btn-outline {
  display: block;
  width: 100%;
  height: 50px;
  margin-top: 10px;
  border: 2px solid var(--kdl-accent);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 46px;
  text-align: center;
  color: var(--kdl-accent) !important;
  background: #fff;
  transition: background .15s, color .15s;
}

.kdl-btn-outline:hover,
.kdl-btn-outline:focus {
  text-decoration: none;
  color: #fff !important;
  background: var(--kdl-accent);
}

.kdl-auth .social-login {
  margin-top: 16px;
}

.kdl-auth__switch p {
  margin: 0;
}

.kdl-auth__switch {
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--kdl-line);
  text-align: center;
  color: var(--kdl-muted);
}

.kdl-auth__switch a,
.kdl-auth__form a:not(.btn) {
  font-weight: 600;
  color: var(--kdl-accent);
}

@media (max-width: 991px) {
  .kdl-auth__brand {
    display: none;
  }
}

@media (max-width: 480px) {
  .kdl-field__grid {
    grid-template-columns: 1fr;
  }

  .kdl-auth__title {
    font-size: 24px;
  }
}
