/* Split auth modal v2: empty left image placeholder. Scoped to avoid site styles. */
html.sk-auth-open {
  overflow: hidden;
}
#snapkeyLoginModal.sk-auth-modal,
#snapkeyLoginModal.sk-auth-modal * {
  box-sizing: border-box;
}
#snapkeyLoginModal.sk-auth-modal {
  position: fixed;
  inset: 0;
  width: min(900px, calc(100vw - 32px));
  max-width: 900px;
  max-height: 92vh;
  max-height: 92dvh;
  margin: auto;
  padding: 0;
  border: 1px solid #e7e8e3;
  border-radius: 18px;
  overflow: auto;
  background: #fff;
  color: #202327;
  box-shadow: 0 24px 90px #0005;
  font-family: var(--body, Arial, sans-serif);
}
#snapkeyLoginModal::backdrop {
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
#snapkeyLoginModal .sk-auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  min-height: 580px;
  gap: 0;
  align-items: stretch;
}
#snapkeyLoginModal .sk-auth-placeholder {
  position: relative;
  min-width: 0;
  min-height: 100%;
  background: #f4f5f1;
  border-right: 1px solid #eceee7;
  overflow: hidden;
}
#snapkeyLoginModal .sk-auth-product-image {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
#snapkeyLoginModal .sk-auth-panel {
  min-width: 0;
  padding: 54px 38px 30px;
  background: #fff;
}
#snapkeyLoginModal .sk-auth-close {
  position: absolute;
  inset: 14px 14px auto auto;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  border: 1px solid #e5e6df;
  border-radius: 50%;
  background: #fff;
  color: #30352d;
  font:
    24px/1 Arial,
    sans-serif;
  cursor: pointer;
  box-shadow: none;
}
#snapkeyLoginModal .sk-auth-eyebrow {
  display: block;
  margin: 0 0 10px;
  padding: 0;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: 0.13em;
  color: #8c763a;
}
#snapkeyLoginModal #snapkeyLoginTitle {
  margin: 0 0 10px;
  padding: 0;
  font-family: var(--heading, Arial, sans-serif);
  font-size: 32px;
  line-height: 1.15;
  font-weight: 650;
  letter-spacing: -0.03em;
  color: #171b1d;
}
#snapkeyLoginModal .sk-auth-description {
  margin: 0 0 23px;
  padding: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #74766f;
}
#snapkeyLoginModal .sk-auth-form {
  display: block;
  margin: 0;
  padding: 0;
}
#snapkeyLoginModal .sk-auth-form label:not(.sk-auth-remember) {
  display: block;
  margin: 13px 0 6px;
  padding: 0;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
  color: #31372f;
}
#snapkeyLoginModal .sk-auth-form input:not([type="checkbox"]) {
  display: block;
  width: 100%;
  height: 45px;
  min-height: 45px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #dedfd8;
  border-radius: 7px;
  background: #fff;
  color: #202327;
  font: 13px var(--body, Arial, sans-serif);
  box-shadow: none;
}
#snapkeyLoginModal .sk-auth-password-label {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  align-items: baseline;
}
#snapkeyLoginModal .sk-auth-password-label span {
  font-size: 10px;
  color: #8a8c82;
}
#snapkeyLoginModal .sk-auth-password-wrap {
  position: relative;
}
#snapkeyLoginModal .sk-auth-password-wrap input {
  padding-right: 58px !important;
}
#snapkeyLoginModal .sk-auth-show {
  position: absolute;
  inset: 8px 8px auto auto;
  width: auto;
  height: 29px;
  min-height: 0;
  margin: 0;
  padding: 0 7px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #77796d;
  font: 600 10px var(--body, Arial, sans-serif);
  cursor: pointer;
  box-shadow: none;
}
#snapkeyLoginModal .sk-auth-remember {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 18px 0 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
  color: #505647;
  cursor: pointer;
}
#snapkeyLoginModal .sk-auth-form input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: checkbox;
  display: inline-block;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  margin: 0;
  padding: 0;
  accent-color: #c69c0d;
  border-radius: 3px;
  box-shadow: none;
}
#snapkeyLoginModal .sk-auth-remember-note {
  margin: 6px 0 0 24px;
  font-size: 10px;
  line-height: 1.5;
  color: #8b8d82;
}
#snapkeyLoginModal .sk-auth-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 45px;
  margin: 20px 0 0;
  padding: 11px 14px;
  border: 1px solid #ffcc32;
  border-radius: 7px;
  background: #ffcc32;
  color: #171b1d;
  font: 750 13px var(--body, Arial, sans-serif);
  cursor: pointer;
  box-shadow: none;
}
#snapkeyLoginModal .sk-auth-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}
#snapkeyLoginModal .sk-auth-status {
  margin: 12px 0 0;
  padding: 0;
  min-height: 20px;
  font-size: 12px;
  line-height: 1.6;
  color: #74766f;
}
#snapkeyLoginModal .sk-auth-status[data-error="true"] {
  padding: 9px 11px;
  background: #fff1f0;
  border: 1px solid #ffd9d5;
  border-radius: 6px;
  color: #b42318;
}
#snapkeyLoginModal .sk-auth-switch {
  margin: 18px 0 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
  color: #74766f;
}
#snapkeyLoginModal .sk-auth-switch button {
  display: inline-block;
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 3px;
  border: 0;
  border-radius: 0;
  background: none;
  color: #3c4535;
  font: 750 12px var(--body, Arial, sans-serif);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  box-shadow: none;
}
#snapkeyLoginModal .sk-auth-switch button:disabled {
  opacity: 0.6;
  cursor: wait;
}
#snapkeyLoginModal .sk-auth-security {
  margin: 20px 0 0;
  padding: 0;
  font-size: 10px;
  text-align: center;
  line-height: 1.6;
  color: #929488;
}
#snapkeyLoginModal .sk-auth-spinner {
  display: block;
  flex: none;
  width: 14px;
  height: 14px;
  border: 2px solid #171b1d30;
  border-top-color: #171b1d;
  border-radius: 50%;
  animation: sk-auth-spin 0.8s linear infinite;
}
#snapkeyLoginModal [hidden] {
  display: none !important;
}
#snapkeyLoginModal input:focus-visible,
#snapkeyLoginModal button:focus-visible {
  outline: 3px solid #9b7300;
  outline-offset: 3px;
}
@keyframes sk-auth-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 700px) {
  #snapkeyLoginModal.sk-auth-modal {
    width: min(450px, calc(100vw - 24px));
    border-radius: 14px;
  }
  #snapkeyLoginModal .sk-auth-layout {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  #snapkeyLoginModal .sk-auth-placeholder {
    display: none;
  }
  #snapkeyLoginModal .sk-auth-panel {
    padding: 48px 24px 26px;
  }
  #snapkeyLoginModal #snapkeyLoginTitle {
    font-size: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #snapkeyLoginModal .sk-auth-spinner {
    animation: none;
  }
  #snapkeyLoginModal::backdrop {
    backdrop-filter: none;
  }
}
