/* ST Future member auth — Quadpack-inspired Sign in / Register */

/* —— Nav: user icon —— */
.st-auth-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1;
}
.st-auth-nav a,
.st-auth-nav button {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.st-auth-nav a:hover,
.st-auth-nav button:hover {
  color: #fff;
  text-decoration: none;
  opacity: 0.85;
}
.st-auth-nav .st-auth-user-btn {
  width: 28px;
  height: 28px;
}
.st-auth-nav .st-auth-user-icon {
  width: 22px;
  height: 20px;
  display: block;
}
.st-auth-nav .st-auth-user-icon path {
  fill: #fff;
}
.st-auth-nav .st-auth-sep {
  display: none;
}
.st-auth-nav .st-auth-logout {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-left: 4px;
}
.st-auth-nav .st-auth-logout:hover {
  opacity: 1;
  text-decoration: underline;
}

/* —— Sign-in page (Quadpack catalogue pattern) —— */
.st-auth-page {
  min-height: auto;
  padding: 0;
  max-width: none;
  width: 100%;
}
.st-auth-page.container {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.st-signin-page {
  background-color: #f1f2f2;
  padding: 64px 16px 80px;
}
.st-signin-content {
  max-width: 600px;
  background: #fff;
  margin: 0 auto;
  padding: 56px 64px 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
}
.st-signin-content h1 {
  color: #212121;
  margin: 0 0 40px;
  font-size: 42px;
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.st-signin-content .st-auth-message {
  width: 100%;
  box-sizing: border-box;
}
.st-signin-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 12px;
}
.st-signin-form input[type="email"],
.st-signin-form input[type="password"],
.st-signin-form input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  background-color: #f1f2f2;
  border: none;
  outline: none;
  padding: 18px 22px;
  font-weight: 300;
  font-size: 16px;
  color: #656565;
  margin: 0 0 20px;
  font-family: inherit;
  border-radius: 0;
}
.st-signin-form input::placeholder {
  color: #9e9e9e;
  font-weight: 300;
}
.st-signin-form input:focus {
  background-color: #eaeaeb;
  color: #333;
}
.st-auth-btn,
.st-signin-btn,
.st-create-account {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0;
  background-color: #212121;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  padding: 18px;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  border: 1px solid #212121;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  border-radius: 0;
  font-family: inherit;
}
.st-auth-btn:hover,
.st-signin-btn:hover,
.st-create-account:hover {
  background-color: #212121;
  border-color: #212121;
  color: #fff;
}
.st-forgot-password {
  width: 100%;
  text-align: center;
  display: block;
  margin: 8px 0 48px;
  color: #333;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.st-forgot-password:hover {
  color: #212121;
}
.st-signin-google {
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #212121;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  color: #212121;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  gap: 12px;
  transition: border-color 0.25s ease, color 0.25s ease;
  text-decoration: none;
  background: #fff;
  font-family: inherit;
}
.st-signin-google:hover {
  border-color: #555;
  color: #212121;
}
.st-signin-google svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.st-signin-or {
  color: #656565;
  margin-top: 20px;
  width: 100%;
  font-weight: 400;
  text-align: center;
  position: relative;
  font-size: 14px;
}
.st-signin-or::before,
.st-signin-or::after {
  position: absolute;
  content: "";
  top: 50%;
  transform: translateY(-50%);
  height: 1px;
  width: 42%;
  opacity: 0.4;
  background-color: #656565;
}
.st-signin-or::before {
  left: 0;
}
.st-signin-or::after {
  right: 0;
}
.st-create-account {
  margin-top: 24px;
  font-weight: 500;
  font-size: 14px;
}
.st-auth-demo {
  width: 100%;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid #eceff1;
  font-size: 13px;
  color: #78909c;
}
.st-auth-demo summary {
  cursor: pointer;
  color: #656565;
}

/* Newsletter band under sign-in */
.st-auth-newsletter {
  width: 100%;
  background-color: #212121;
  padding: 48px 16px 56px;
}
.st-auth-newsletter-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.st-auth-newsletter-title {
  display: block;
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 28px;
}
.st-auth-newsletter-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
}
.st-auth-newsletter-form input[type="text"],
.st-auth-newsletter-form input[type="email"] {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  padding: 10px 4px;
  min-width: 160px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
}
.st-auth-newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}
.st-auth-newsletter-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 260px;
  text-align: left;
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
}
.st-auth-newsletter-terms a {
  color: #fff;
  text-decoration: underline;
}
.st-auth-newsletter-form button {
  background: #fff;
  color: #212121;
  border: none;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}
.st-auth-newsletter-form button:hover {
  background: #f1f2f2;
}
.st-auth-newsletter-msg {
  width: 100%;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

/* Generic auth wrap (register / account / forgot) */
.st-auth-wrap {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 48px 40px 56px;
}
.st-auth-page--panel {
  background: #f1f2f2;
  padding: 64px 16px 80px;
}
.st-auth-wrap h1 {
  font-size: 36px;
  font-weight: 300;
  margin: 0 0 28px;
  color: #212121;
  line-height: 1.25;
}
.st-auth-lead {
  color: #656565;
  margin: -12px 0 28px;
  line-height: 1.6;
  font-weight: 300;
}
.st-auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.st-auth-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #455a64;
}
.st-auth-form input,
.st-auth-form select {
  padding: 14px 16px;
  border: none;
  border-radius: 0;
  font-size: 15px;
  font-family: inherit;
  background: #f1f2f2;
  color: #656565;
}
.st-auth-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.st-auth-checkbox {
  flex-direction: row !important;
  align-items: center;
  gap: 10px !important;
  font-weight: 500 !important;
}
.st-auth-btn-outline {
  background: transparent;
  color: #212121;
  border: 1px solid #212121;
}
.st-auth-btn-outline:hover {
  background: #212121;
  color: #fff;
}
.st-auth-switch {
  margin-top: 20px;
  font-size: 14px;
  color: #656565;
  width: 100%;
  text-align: center;
}
.st-auth-switch a {
  color: #212121;
  font-weight: 600;
  text-decoration: underline;
}
.st-auth-message {
  padding: 12px 14px;
  border-radius: 0;
  font-size: 14px;
  margin-bottom: 16px;
}
.st-auth-message-error {
  background: #fdecea;
  color: #b42318;
}
.st-auth-message-success {
  background: #ecfdf3;
  color: #027a48;
}

.st-account-card {
  max-width: 640px;
  margin: 0 auto;
}
.st-account-kicker {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #90a4ae;
  margin: 0 0 8px;
}
.st-account-card h1 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 4px;
}
.st-account-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
  padding: 20px 0;
  border-top: 1px solid #eceff1;
  border-bottom: 1px solid #eceff1;
}
.st-account-stats .label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #90a4ae;
  margin-bottom: 4px;
}
.st-account-section {
  margin-top: 32px;
}
.st-account-section h2 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
}
.st-info-gate {
  text-align: center;
  padding: 64px 24px;
}
.st-info-gate h1 {
  font-size: 24px;
  margin-bottom: 12px;
}
.st-info-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.st-info-catalog-card {
  border: 1px solid #eceff1;
  padding: 24px;
  border-radius: 2px;
  transition: box-shadow 0.2s;
}
.st-info-catalog-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.st-info-catalog-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.st-info-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #eceff1;
  padding: 4px 8px;
  border-radius: 2px;
  margin-bottom: 12px;
}

@media (max-width: 720px) {
  .st-signin-page,
  .st-auth-page--panel {
    padding: 32px 12px 48px;
    background: #fff;
  }
  .st-signin-content,
  .st-auth-wrap {
    padding: 24px 8px 40px;
    max-width: 100%;
  }
  .st-signin-content h1,
  .st-auth-wrap h1 {
    font-size: 32px;
    margin-bottom: 28px;
  }
  .st-auth-form-row,
  .st-account-stats {
    grid-template-columns: 1fr;
  }
  .st-auth-newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }
  .st-auth-newsletter-terms {
    max-width: none;
  }
}
