/*
 * V8.1.20A Branded Vendor Sign-In Contract
 * Public authentication styles must remain scoped under .kws60-auth-page.
 */
.kws60.kws60-auth-page {
  --kws60-auth-bg: #f3eee7;
  --kws60-auth-dark: #071326;
  --kws60-auth-dark-soft: #10233d;
  --kws60-auth-orange: #ff4f17;
  --kws60-auth-orange-dark: #d93d0c;
  --kws60-auth-surface: #ffffff;
  --kws60-auth-soft: #f8fafc;
  --kws60-auth-ink: #0f172a;
  --kws60-auth-muted: #667085;
  --kws60-auth-line: #e2e8f0;
  --kws60-auth-success: #15803d;
  --kws60-auth-danger: #b42318;
  --kws60-auth-radius: 26px;
  --kws60-auth-radius-sm: 14px;
  --kws60-auth-shadow: 0 28px 72px rgba(15, 23, 42, 0.14);

  width: 100vw;
  max-width: 100vw;
  min-height: min(860px, calc(100dvh - 32px));
  margin-inline: calc(50% - 50vw);
  padding: clamp(20px, 4vw, 48px) 16px;
  transform: none;
  box-sizing: border-box;
  overflow-x: clip;
  background: var(--kws60-auth-bg);
  color: var(--kws60-auth-ink);
  font-family: inherit;
}

.kws60.kws60-auth-page *,
.kws60.kws60-auth-page *::before,
.kws60.kws60-auth-page *::after {
  box-sizing: border-box;
}

.kws60 .kws60-auth-frame {
  width: min(1120px, 100%);
  min-height: min(720px, calc(100dvh - 96px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: var(--kws60-auth-radius);
  background: var(--kws60-auth-surface);
  box-shadow: var(--kws60-auth-shadow);
}

.kws60 .kws60-auth-proof {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  min-width: 0;
  padding: clamp(34px, 5vw, 64px);
  overflow: hidden;
  background: var(--kws60-auth-dark);
  color: #ffffff;
}

.kws60 .kws60-auth-proof::before,
.kws60 .kws60-auth-proof::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
}

.kws60 .kws60-auth-proof::before {
  width: 280px;
  height: 280px;
  top: -120px;
  right: -110px;
  border: 54px solid rgba(255, 79, 23, 0.16);
}

.kws60 .kws60-auth-proof::after {
  width: 210px;
  height: 210px;
  bottom: -120px;
  left: -82px;
  background: rgba(255, 255, 255, 0.05);
}

.kws60 .kws60-auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
}

.kws60 .kws60-auth-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: var(--kws60-auth-orange);
  color: #ffffff;
  font-size: 24px;
  font-weight: 950;
  box-shadow: 0 12px 28px rgba(255, 79, 23, 0.32);
}

.kws60 .kws60-auth-brand div {
  display: grid;
  gap: 1px;
}

.kws60 .kws60-auth-brand strong {
  color: #ffffff;
  font-size: 20px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.kws60 .kws60-auth-brand small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kws60 .kws60-auth-proof-copy {
  max-width: 590px;
}

.kws60 .kws60-auth-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--kws60-auth-orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kws60 .kws60-auth-proof h1,
.kws60 .kws60-auth-card h1,
.kws60 .kws60-auth-card h2 {
  margin: 0;
  color: inherit;
  letter-spacing: -0.035em;
}

.kws60 .kws60-auth-proof h1 {
  max-width: 620px;
  color: #ffffff;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 0.98;
  font-weight: 950;
}

.kws60 .kws60-auth-proof-copy p {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.65;
}

.kws60 .kws60-auth-proof-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kws60 .kws60-auth-proof-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}

.kws60 .kws60-auth-proof-list li span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #86efac;
  font-weight: 950;
}

.kws60 .kws60-auth-support {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  width: max-content;
  max-width: 100%;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 850;
  text-decoration: none;
}

.kws60 .kws60-auth-support:hover,
.kws60 .kws60-auth-support:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.kws60 .kws60-auth-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(30px, 5vw, 58px);
  background: var(--kws60-auth-surface);
  color: var(--kws60-auth-ink);
}

.kws60 .kws60-auth-card-head {
  margin-bottom: 24px;
}

.kws60 .kws60-auth-card h2,
.kws60 .kws60-auth-card h1 {
  color: var(--kws60-auth-ink);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
  font-weight: 950;
}

.kws60 .kws60-auth-card-head p,
.kws60 .kws60-auth-card > p {
  margin: 12px 0 0;
  color: var(--kws60-auth-muted);
  font-size: 15px;
  line-height: 1.6;
}

.kws60 .kws60-auth-alert {
  margin-bottom: 18px;
  padding: 13px 15px;
  border: 1px solid var(--kws60-auth-line);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.5;
}

.kws60 .kws60-auth-alert.is-error {
  border-color: #fecdca;
  background: #fff4f2;
  color: var(--kws60-auth-danger);
}

.kws60 .kws60-auth-alert.is-success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: var(--kws60-auth-success);
}

.kws60 .kws60-auth-form {
  display: grid;
  gap: 18px;
}

.kws60 .kws60-auth-field {
  display: grid;
  gap: 8px;
  margin: 0;
}

.kws60 .kws60-auth-field > span:first-child {
  color: var(--kws60-auth-ink);
  font-size: 13px;
  font-weight: 900;
}

.kws60 .kws60-auth-field input[type="text"],
.kws60 .kws60-auth-field input[type="email"],
.kws60 .kws60-auth-field input[type="password"] {
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 0 15px;
  border: 1px solid var(--kws60-auth-line);
  border-radius: var(--kws60-auth-radius-sm);
  outline: 0;
  background: var(--kws60-auth-surface);
  color: var(--kws60-auth-ink);
  font: inherit;
  font-size: 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.kws60 .kws60-auth-field input:hover {
  border-color: #cbd5e1;
}

.kws60 .kws60-auth-field input:focus {
  border-color: var(--kws60-auth-orange);
  box-shadow: 0 0 0 4px rgba(255, 79, 23, 0.13);
}

.kws60 .kws60-auth-password-wrap {
  position: relative;
  display: block;
}

.kws60 .kws60-auth-password-wrap input {
  padding-right: 74px !important;
}

.kws60 .kws60-auth-password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  min-width: 58px;
  min-height: 38px;
  padding: 0 10px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 10px;
  background: var(--kws60-auth-soft);
  color: var(--kws60-auth-dark);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.kws60 .kws60-auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 32px;
}

.kws60 .kws60-auth-options a,
.kws60 .kws60-auth-card-foot a {
  color: var(--kws60-auth-orange-dark);
  font-weight: 850;
  text-decoration: none;
}

.kws60 .kws60-auth-options a:hover,
.kws60 .kws60-auth-card-foot a:hover {
  text-decoration: underline;
}

.kws60 .kws60-auth-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--kws60-auth-muted);
  font-size: 13px;
  font-weight: 750;
}

.kws60 .kws60-auth-remember input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--kws60-auth-orange);
}

.kws60 .kws60-auth-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  width: 100%;
  padding: 0 20px;
  border: 1px solid var(--kws60-auth-orange);
  border-radius: 14px;
  background: var(--kws60-auth-orange);
  color: #ffffff;
  font: inherit;
  font-size: 15px;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(255, 79, 23, 0.24);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.kws60 .kws60-auth-primary:hover,
.kws60 .kws60-auth-primary:focus-visible {
  background: var(--kws60-auth-orange-dark);
  border-color: var(--kws60-auth-orange-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 17px 34px rgba(255, 79, 23, 0.28);
}

.kws60 .kws60-auth-primary[disabled],
.kws60 .kws60-auth-primary.is-loading {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.kws60 .kws60-auth-card-foot {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--kws60-auth-line);
}

.kws60 .kws60-auth-card-foot p,
.kws60 .kws60-auth-card-foot small {
  margin: 0;
  color: var(--kws60-auth-muted);
  font-size: 13px;
  line-height: 1.55;
}

.kws60 .kws60-auth-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.kws60 .kws60-auth-password-toggle:focus-visible,
.kws60 .kws60-auth-support:focus-visible,
.kws60 .kws60-auth-primary:focus-visible,
.kws60 .kws60-auth-options a:focus-visible,
.kws60 .kws60-auth-card-foot a:focus-visible {
  outline: 3px solid rgba(255, 79, 23, 0.3);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .kws60.kws60-auth-page {
    min-height: 100dvh;
    padding: 12px;
  }

  .kws60 .kws60-auth-frame {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .kws60 .kws60-auth-proof {
    gap: 22px;
    padding: 28px 24px;
  }

  .kws60 .kws60-auth-proof h1 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .kws60 .kws60-auth-proof-copy p {
    margin-top: 14px;
    font-size: 15px;
  }

  .kws60 .kws60-auth-proof-list {
    grid-template-columns: 1fr;
  }

  .kws60 .kws60-auth-card {
    padding: 28px 22px 30px;
  }
}

@media (max-width: 480px) {
  .kws60.kws60-auth-page {
    padding: 0;
    background: var(--kws60-auth-surface);
  }

  .kws60 .kws60-auth-frame {
    width: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .kws60 .kws60-auth-proof {
    padding: calc(24px + env(safe-area-inset-top)) 18px 24px;
  }

  .kws60 .kws60-auth-brand {
    transform: scale(0.92);
    transform-origin: left center;
  }

  .kws60 .kws60-auth-proof-list,
  .kws60 .kws60-auth-support {
    display: none;
  }

  .kws60 .kws60-auth-card {
    padding: 28px 18px calc(32px + env(safe-area-inset-bottom));
  }

  .kws60 .kws60-auth-options {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kws60.kws60-auth-page *,
  .kws60.kws60-auth-page *::before,
  .kws60.kws60-auth-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
