.smart-login-shell {
  box-sizing: border-box;
  display: grid;
  min-height: min(720px, calc(100vh - 120px));
  place-items: center;
  padding: clamp(28px, 6vw, 72px) 18px;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.92), rgba(241, 240, 237, 0.66) 46%, rgba(241, 240, 237, 0) 70%),
    #f7f6f3;
}

.smart-customer-login,
.smart-login-required {
  box-sizing: border-box;
  width: min(100%, 460px);
  margin: 0 auto;
  color: #2e3038;
  font-family: Karla, Arial, sans-serif;
}

.smart-login-panel {
  display: grid;
  gap: 16px;
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid rgba(46, 48, 56, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 28px 80px rgba(46, 48, 56, 0.13),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.smart-login-logo {
  display: block;
  width: min(250px, 70vw);
  max-height: 74px;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 8px;
}

.smart-login-eyebrow {
  margin: 0;
  color: #6c6b68;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.smart-customer-login h1 {
  margin: -8px 0 0;
  color: #2e3038;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1.65rem, 4vw, 2.18rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.smart-login-intro {
  max-width: 34ch;
  margin: -4px 0 8px;
  color: #676560;
  font-size: 1rem;
  line-height: 1.45;
}

.smart-customer-login label {
  display: block;
  margin: 0;
}

.smart-customer-login label span {
  display: block;
  margin-bottom: 7px;
  color: #4a4a48;
  font-size: 0.9rem;
  font-weight: 800;
}

.smart-customer-login input[type="text"],
.smart-customer-login input[type="password"] {
  box-sizing: border-box;
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(46, 48, 56, 0.16) !important;
  border-radius: 8px !important;
  background: #fbfaf7 !important;
  color: #2e3038 !important;
  font: inherit;
  font-size: 1rem;
  outline: 0 !important;
  box-shadow: none !important;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.smart-customer-login input[type="text"]:focus,
.smart-customer-login input[type="password"]:focus {
  border-color: rgba(46, 48, 56, 0.42) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(46, 48, 56, 0.08) !important;
}

.smart-customer-login .smart-remember-login {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
  color: #55534f;
}

.smart-customer-login .smart-remember-login span {
  display: inline;
  margin: 0;
  font-size: 0.96rem;
  font-weight: 700;
}

.smart-customer-login input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #2e3038;
}

.smart-customer-login button,
.smart-login-required .button,
.smart-customer-login .button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0 20px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #2e3038 !important;
  background-image: none !important;
  color: #fff !important;
  font: inherit;
  font-weight: 800;
  line-height: 1 !important;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(46, 48, 56, 0.18) !important;
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.smart-customer-login button:hover,
.smart-customer-login button:focus,
.smart-customer-login .button:hover,
.smart-customer-login .button:focus,
.smart-login-required .button:hover,
.smart-login-required .button:focus {
  background: #1f2128 !important;
  color: #fff !important;
  box-shadow: 0 18px 42px rgba(46, 48, 56, 0.24) !important;
  transform: translateY(-1px);
}

.smart-login-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 4px;
  color: #77736e;
  font-size: 0.9rem;
  font-weight: 700;
}

.smart-login-footer a,
.smart-customer-login a:not(.button) {
  color: #4b4b48 !important;
  text-decoration: underline;
  text-decoration-color: rgba(46, 48, 56, 0.32);
  text-underline-offset: 3px;
}

.smart-login-footer a:hover,
.smart-customer-login a:not(.button):hover {
  color: #2e3038 !important;
  text-decoration-color: #2e3038;
}

.smart-login-error {
  margin: 0;
  padding: 11px 13px;
  border: 1px solid rgba(179, 45, 46, 0.22);
  border-left: 4px solid #b32d2e;
  border-radius: 8px;
  background: #fcf0f1;
  color: #711d1e;
  font-weight: 700;
}

.smart-login-required {
  padding: 28px;
  border: 1px solid rgba(46, 48, 56, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(46, 48, 56, 0.1);
}

@media (max-width: 540px) {
  .smart-login-shell {
    min-height: auto;
    padding: 18px 12px;
  }

  .smart-login-panel {
    padding: 24px;
  }

  .smart-login-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
