/* SKEJL branding stays scoped to authentication; the workspace is unchanged. */
.auth-layout {
  --ink: #202020;
  --muted: #707070;
  --line: #e5e5e5;
  --lime: #ff0034;
  --lime-bright: #e90030;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  grid-template-rows: 108px 1fr;
  min-height: 100dvh;
  background: #fff;
  color: var(--ink);
}
.auth-header {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(28px, 5vw, 84px);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.auth-logo {
  display: block;
  position: relative;
  width: 166px;
  height: 46px;
  overflow: hidden;
  flex-shrink: 0;
}
.auth-logo img {
  position: absolute;
  width: 150%;
  max-width: none;
  height: auto;
  left: -25%;
  top: 50%;
  transform: translateY(-50%);
}
.auth-header-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #707070;
}
.auth-header-note > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e90030;
}
.auth-visual {
  display: flex;
  background: #f7f7f7;
  color: #202020;
  border-right: 1px solid var(--line);
  padding: clamp(32px, 5vw, 84px);
  min-height: 660px;
  isolation: isolate;
}
.auth-visual-copy {
  margin: 0;
  padding: 20px 0 250px;
  max-width: 510px;
}
.auth-tag {
  color: #5d5d5d;
  letter-spacing: 2px;
  font-size: 10px;
  margin-bottom: 32px;
  font-weight: 650;
}
.auth-tag:before {
  background: #e90030;
  border-radius: 0;
  width: 18px;
  height: 2px;
}
.auth-visual h1 {
  font-size: clamp(42px, 4.5vw, 72px);
  line-height: 1.08;
  letter-spacing: -3px;
  font-weight: 750;
}
.auth-visual h1 em {
  color: #e90030;
}
.auth-visual-copy p {
  color: #676767;
  font-size: 14px;
  line-height: 1.9;
  max-width: 340px;
  margin-top: 26px;
}
.auth-waves {
  position: absolute;
  left: -8%;
  bottom: 93px;
  width: 116%;
  height: 210px;
  z-index: -1;
  overflow: visible;
}
.auth-waves path {
  stroke: #ed0031;
  stroke-width: 29;
}
.auth-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  color: #737373;
  letter-spacing: 1.7px;
  font-size: 9px;
  margin-top: auto;
  padding-top: 24px;
}
.auth-form-side {
  background: #fff;
  padding: 58px clamp(28px, 5vw, 80px);
}
.auth-form-wrap {
  max-width: 390px;
}
.auth-form-wrap .eyebrow {
  color: #e0002d;
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 700;
  margin-bottom: 18px;
}
.auth-form-wrap h2 {
  color: #202020;
  font-size: clamp(27px, 2.5vw, 35px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1.2px;
  margin-bottom: 14px;
}
.auth-form-wrap > p {
  color: #737373;
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 36px;
}
.auth-form-wrap .form-field {
  margin-bottom: 22px;
}
.auth-form-wrap .form-field label {
  color: #333;
  font-size: 12px;
  font-weight: 550;
}
.auth-form-wrap .form-field input:not([type="checkbox"]) {
  background: #fafafa;
  color: #202020;
  border: 1px solid #dedede;
  border-radius: 8px;
  min-height: 52px;
  padding: 12px 15px;
  font-size: 15px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.auth-form-wrap .form-field input:not([type="checkbox"]):focus {
  outline: none;
  background: #fff;
  border-color: #e90030;
  box-shadow: 0 0 0 3px #e9003014;
}
.auth-form-wrap input[type="checkbox"] {
  accent-color: #e90030;
}
.auth-form-wrap .form-field:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  gap: 10px;
}
.auth-form-wrap .form-field:has(input[type="checkbox"]) label {
  margin: 0;
  cursor: pointer;
}
.auth-form-wrap .form-field input[type="checkbox"] {
  order: -1;
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
}
.auth-form-wrap .btn.primary {
  min-height: 52px;
  background: #e90030;
  color: #fff;
  border: 1px solid #e90030;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 650;
  margin-top: 8px;
  box-shadow: 0 4px 12px #e9003015;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}
.auth-form-wrap .btn.primary:hover {
  background: #cb0029;
  border-color: #cb0029;
  box-shadow: 0 6px 18px #e9003022;
}
.auth-form-wrap .text-link {
  display: block;
  margin: 23px auto 0;
  color: #555;
  font-size: 12px;
  text-underline-offset: 4px;
}
.auth-form-wrap .text-link:hover {
  color: #cb0029;
  text-decoration: underline;
}
.auth-layout :focus-visible {
  outline: 2px solid #e90030;
  outline-offset: 4px;
}
.auth-form-wrap .form-error {
  background: #fff3f5;
  color: #ac0023;
  border: 1px solid #f4c2cc;
  border-radius: 8px;
  padding: 12px;
  line-height: 1.6;
}
.auth-form-wrap [role="status"] {
  color: #444;
  background: #f5f5f5;
  padding: 14px;
  margin-bottom: 18px;
  border-radius: 8px;
  line-height: 1.7;
}
.auth-form-footer {
  border-top: 1px solid #ededed;
  padding-top: 24px;
  margin-top: 38px;
  text-align: center;
  color: #858585;
  font-size: 10px;
  letter-spacing: 0.2px;
}
.auth-form-footer span {
  color: #e90030;
  font-size: 15px;
  margin-right: 6px;
}
@media (min-width: 1700px) {
  .auth-visual-copy {
    margin-top: 6vh;
  }
  .auth-waves {
    bottom: 14%;
    height: 260px;
  }
}
@media (max-width: 1000px) {
  .auth-visual {
    padding: 40px 32px;
  }
  .auth-visual h1 {
    font-size: 46px;
    letter-spacing: -2px;
  }
  .auth-form-side {
    padding: 48px 32px;
  }
  .auth-foot {
    letter-spacing: 0.7px;
  }
}
@media (max-width: 720px) {
  .auth-layout {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
  }
  .auth-header {
    min-height: 88px;
    padding: 20px 26px;
    gap: 14px;
  }
  .auth-logo {
    width: 132px;
    height: 36px;
  }
  .auth-header-note {
    font-size: 9px;
    gap: 7px;
    max-width: 125px;
    line-height: 1.5;
  }
  .auth-visual {
    display: none;
  }
  .auth-form-side {
    min-height: 0;
    flex: 1;
    align-items: center;
    padding: 52px 26px 34px;
  }
  .auth-form-wrap h2 {
    font-size: 30px;
  }
  .auth-form-wrap .form-field input:not([type="checkbox"]) {
    font-size: 16px;
  }
  .auth-form-footer {
    margin-top: 34px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .auth-layout * {
    transition: none !important;
  }
}
