/* Customized by Prashant 2026-10-29: E-A5-48 - the storefront sign-in box (.gs-signin-*), moved out of
   giftm.css so EVERY theme loads it. giftm.css is only loaded for non-Classic themes, so on a Classic
   store (e.g. the test store 77B0071) the sign-in box rendered as raw, unstyled inline content.
   Loaded right after giftm.css (same cascade position as before). */

/* Warning-tinted variant of the sign-in hero - used by the step-up
   modal so the OTP-required state reads as a security cue, not just
   another login prompt. */
.gs-signin-hero--warn {
  background: linear-gradient(135deg, #b45309, #92400e);
}

/* ============================================================
   Sign-in callout (checkout etc.) + sign-in modal (.gs-signin-*)
   ============================================================ */
.gs-signin-callout {
  background: #ffffff;
  border: 1px solid #e4e7ec;
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}
.gs-signin-callout-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  display: grid;
  place-items: center;
  color: #b45309;
  margin-bottom: 6px;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.28);
}
.gs-signin-callout-icon svg { width: 28px; height: 28px; }
.gs-signin-callout h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #111827;
  margin: 0;
}
.gs-signin-callout p {
  color: #475467;
  margin: 0;
  font-size: 0.95rem;
  max-width: 520px;
  line-height: 1.55;
}
.gs-signin-callout .gs-cta {
  margin-top: 10px;
  padding: 13px 32px;
  background: linear-gradient(135deg, #0b1020, #1e293b);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.2);
}
.gs-signin-callout .gs-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.28);
  text-decoration: none;
  color: #ffffff;
}

/* Modal card replaces the legacy gs-modal-card look on the sign-in
   modal. Hero gradient picks the tenant's brand primary so the modal
   re-skins automatically when Branding changes. */
.gs-signin-modal-card {
  background: #ffffff;
  max-width: 460px;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.32);
}
.gs-signin-hero {
  position: relative;
  background: linear-gradient(135deg, var(--gm-primary, #6d3df5), color-mix(in srgb, var(--gm-primary, #6d3df5) 65%, #0b1020));
  color: #ffffff;
  padding: 32px 28px 28px;
  text-align: center;
}
.gs-signin-hero-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: none;
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 0.15s ease;
  padding: 0;
  line-height: 1;
}
.gs-signin-hero-close:hover { background: rgba(255, 255, 255, 0.3); }
.gs-signin-hero-logo {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  overflow: hidden;
}
.gs-signin-hero-logo img { max-width: 40px; max-height: 40px; object-fit: contain; }
.gs-signin-hero h2 {
  font-size: 1.35rem;
  margin: 0 0 6px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.gs-signin-hero p {
  font-size: 0.88rem;
  opacity: 0.92;
  margin: 0;
}
.gs-signin-body { padding: 26px 28px 30px; }
.gs-signin-label {
  display: block;
  font-size: 0.8rem;
  color: #475467;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.gs-signin-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  background: #fafbff;
  color: #111827;
}
.gs-signin-input:focus {
  border-color: var(--gm-primary, #6d3df5);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(109, 61, 245, 0.14);
}
.gs-signin-hint {
  font-size: 0.74rem;
  color: #667085;
  margin: 8px 0 0;
  line-height: 1.5;
}
.gs-signin-terms {
  font-size: 0.78rem;
  color: #667085;
  margin: 16px 0 18px;
  line-height: 1.5;
}
.gs-signin-terms a { color: var(--gm-primary, #6d3df5); text-decoration: underline; }
.gs-signin-submit {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #0b1020, #1e293b);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.2);
}
.gs-signin-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.28);
}
.gs-signin-otp-code {
  text-align: center;
  font-size: 1.55rem;
  letter-spacing: 0.55rem;
  font-family: ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
  font-weight: 700;
}
.gs-signin-row { display: flex; gap: 10px; margin-top: 14px; }
.gs-signin-back {
  flex: 1;
  padding: 12px;
  background: #fafbff;
  color: #111827;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.92rem;
}
.gs-signin-back:hover { background: #e4e7ec; }
.gs-signin-row .gs-signin-submit { flex: 2; margin-top: 0; }
.gs-signin-resend {
  margin-top: 14px;
  width: 100%;
  background: none;
  border: 0;
  color: var(--gm-primary, #6d3df5);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}
.gs-signin-msg {
  font-size: 0.9rem;
  color: #475467;
  margin: 0 0 16px;
  line-height: 1.55;
}
.gs-signin-msg strong { color: #111827; font-weight: 700; }
.gs-signin-error {
  display: none;
  color: #991b1b;
  font-size: 0.85rem;
  margin-top: 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 10px 12px;
}

