/* =========================
   ScanWin — login.css
   -------------------------
   Page-specific styles for the Login page (index.html).
   Includes the showcase panel, form panel, and the page's
   responsive overrides. Shared globals live in style.css.
========================= */


/* =========================
   Login Page — Showcase Panel Start
   (left side, dark)
========================= */
.sw-showcase {
  background: var(--sw-bg-dark);
  color: #fff;
  padding: 64px;
  min-height: 100vh;
}

/* On lg+ pin the showcase to the viewport so the column doesn't
   stretch to match a tall form column (login is taller than
   forgot-password). Without this, the 3 showcase rows would
   redistribute via justify-content-between and appear to "jump"
   when switching between auth pages. Below 992px the showcase
   is hidden via d-none, so the rule is scoped to lg+. */
@media (min-width: 992px) {
  .sw-showcase {
    height: 100vh;
    min-height: 0;
    position: sticky;
    top: 0;
    align-self: flex-start;
  }
}

/* Live-now pill */
.sw-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
}

.sw-live-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--sw-lime);
  box-shadow: 0 0 0 4px rgba(212, 255, 63, 0.15);
}

/* Glass testimonial card */
.sw-testimonial {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 36px 40px;
  max-width: 592px;
}

.sw-testimonial__quote {
  font-size: 80px;
  line-height: 56px;
  font-weight: 700;
  color: var(--sw-lime);
  margin: 0 0 28px 0;
}

.sw-testimonial__text {
  font-size: 22px;
  line-height: 32px;
  font-weight: 500;
  letter-spacing: -0.11px;
  margin: 0 0 28px 0;
  color: #fff;
}

.sw-testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--sw-violet);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.sw-testimonial__name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.sw-testimonial__meta {
  font-size: 12px;
  opacity: 0.6;
  line-height: 1.2;
}

/* Proof-stat pills (bottom of showcase) */
.sw-proof-stat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 10px 16px 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 180px;
}

.sw-proof-stat__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex-shrink: 0;
}

.sw-proof-stat__dot--lime  { background: var(--sw-lime); }
.sw-proof-stat__dot--green { background: #34d399; }
.sw-proof-stat__dot--pink  { background: #f472b6; }

.sw-proof-stat__label {
  font-size: 12px;
  opacity: 0.7;
  font-weight: 500;
}

.sw-proof-stat__value {
  font-size: 13px;
  font-weight: 600;
}
/* =========================
   Login Page — Showcase Panel End
========================= */


/* =========================
   Login Page — Form Panel Start
   (right side, light)
========================= */
.sw-form-panel {
  background: var(--sw-bg-app);
  padding: 56px 96px;
  min-height: 100vh;
}

/* Constrains form column width — Bootstrap has no 528px utility */
.sw-form-narrow {
  max-width: 528px;
}

/* Brand mark + wordmark at top */
.sw-brand__mark {
  width: 29px;
  height: 29px;
}

.sw-brand__name {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.6px;
  color: #0f1020;
}

/* "Back" link top-right of the form panel's brand row (returns to
   Choose Profile). Shared by both the Influencer and Merchant logins. */
.sw-login-back {
  font-size: 12px;
  font-weight: 500;
  color: var(--sw-text-muted);
  text-decoration: none;
}

.sw-login-back:hover {
  color: var(--sw-violet);
}

/* Heading block */
.sw-form-heading h1 {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.88px;
  line-height: 48px;
  color: var(--sw-text);
  margin: 0 0 8px;
}

.sw-form-heading p {
  font-size: 14px;
  color: var(--sw-text-muted);
  margin: 0;
}

/* Inputs with leading icon (Figma design — icon inside the field) */
.sw-input-group {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--sw-border);
  border-radius: 10px;
  padding: 0 16px;
  height: 52px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

.sw-input-group:focus-within {
  border-color: var(--sw-violet);
  box-shadow: 0 0 0 3px rgba(110, 93, 248, 0.15);
}

.sw-input-group__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.6;
  margin-right: 12px;
}

.sw-input-group__icon--right {
  margin-left: 12px;
  margin-right: 0;
  cursor: pointer;
}

.sw-input-group input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
  color: var(--sw-text);
  height: 100%;
}

.sw-input-group input::placeholder {
  color: var(--sw-text-faint);
  font-size: 14px;
}

.sw-form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--sw-text);
  margin-bottom: 8px;
}

/* Custom violet checkbox (Figma square + check, not Bootstrap default) */
.sw-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  user-select: none;
  cursor: pointer;
}

.sw-check input { display: none; }

.sw-check__box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--sw-violet);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.sw-check__box svg {
  margin-top: 1px;
}

.sw-check input:not(:checked) + .sw-check__box {
  background: #fff;
  border: 1.5px solid var(--sw-border-strong);
  color: transparent;
}

.sw-check__label {
  font-size: 13px;
  color: var(--sw-text-muted);
  font-weight: 500;
}

/* Primary submit button — taller than Bootstrap default per Figma */
.sw-btn-submit {
  height: 56px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  width: 100%;
}

/* Divider with text in the middle */
.sw-divider {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sw-divider hr {
  flex: 1;
  border: 0;
  border-top: 1px solid var(--sw-border);
  margin: 0;
}

.sw-divider span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.88px;
  color: var(--sw-text-faint);
  text-transform: uppercase;
}

/* Social login buttons (3 across on every viewport per Figma) */
.sw-social-btn {
  height: 48px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--sw-border-strong);
  color: var(--sw-text);
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 0 8px;
  white-space: nowrap;
  transition:
    background 0.15s,
    border-color 0.15s;
}

.sw-social-btn:hover {
  background: #f5f5f7;
  border-color: #c9c4b6;
}

.sw-social-btn img {
  width: 20px;
  height: 20px;
}

/* Inline error message under the form */
.sw-form-error {
  color: #dc2626;
  font-size: 13px;
  font-weight: 500;
  margin: -8px 0 0;
}

/* Footer (legal links) */
.sw-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--sw-text-faint);
}

.sw-legal a {
  color: var(--sw-text-muted);
  text-decoration: none;
  font-weight: 500;
  margin-left: 24px;
}

.sw-legal a:hover {
  color: var(--sw-violet);
}
/* =========================
   Login Page — Form Panel End
========================= */


/* =========================
   Login Page Responsive Start
========================= */

/* Tablet & small desktop — stack the two-column layout */
@media (max-width: 991.98px) {
  .sw-showcase {
    padding: 40px 24px;
    min-height: auto;
  }

  .sw-form-panel {
    padding: 40px 24px;
    min-height: auto;
  }

  .sw-form-heading h1 {
    font-size: 32px;
    line-height: 1.15;
  }

  .sw-testimonial {
    padding: 24px;
  }

  .sw-testimonial__text {
    font-size: 18px;
    line-height: 26px;
  }
}

/* Phones — tighten paddings and stack legal footer */
@media (max-width: 575.98px) {
  .sw-showcase {
    padding: 32px 20px;
  }

  .sw-form-panel {
    padding: 32px 20px;
  }

  .sw-proof-stat {
    min-width: 100%;
  }

  .sw-social-btn {
    font-size: 13px;
    gap: 6px;
  }

  .sw-social-btn img {
    width: 18px;
    height: 18px;
  }

  .sw-legal {
    flex-direction: column;
    gap: 12px;
  }

  .sw-legal a {
    margin-left: 12px;
  }

  .sw-legal a:first-child {
    margin-left: 0;
  }
}
/* =========================
   Login Page Responsive End
========================= */
