/*
 * SaltiMarketing "Apple" theme for the auth pages (login, register, password, 2FA).
 * Restyles components/authentication-card.blade.php; loaded by layouts/guest.blade.php only when body has .sm-apple.
 */
body.sm-apple {
  --a-text: #1d1d1f;
  --a-text-2: #424245;
  --a-muted: #6e6e73;
  --a-line: #d2d2d7;
  --a-soft: #f5f5f7;
  --a-green: #00a884;
  --a-green-text: #0a7d56;
  --a-green-hover: #086646;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
body.sm-apple .sm-auth {
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--a-text);
  letter-spacing: -0.003em;
}

/* brand side: light gray panel, big calm headline */
body.sm-apple .sm-auth__brand {
  background: var(--a-soft);
  color: var(--a-text);
  border-inline-end: 1px solid rgba(0, 0, 0, 0.06);
}
body.sm-apple .sm-auth__grid { display: none; }
body.sm-apple .sm-auth__tree { color: rgba(0, 168, 132, 0.09); }
body.sm-apple .sm-auth__logo { color: var(--a-text) !important; font-weight: 700; letter-spacing: -0.02em; }
body.sm-apple .sm-auth__mark { background: #fff; color: var(--a-green); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.05); }
body.sm-apple .sm-auth__pitch h2 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 44px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--a-text);
}
body.sm-apple .sm-auth__pitch h2 span { color: var(--a-green); }
body.sm-apple .sm-auth__pitch li { color: var(--a-text-2); font-size: 16.5px; margin-bottom: 16px; }
body.sm-apple .sm-auth__pitch li b { color: var(--a-text); font-weight: 600; }
body.sm-apple .sm-auth__pitch li svg {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(0, 168, 132, 0.12);
  color: var(--a-green-text);
}
body.sm-apple .sm-auth__foot { color: var(--a-muted); }

/* form side: no card chrome, just content on white */
body.sm-apple .sm-auth__card { max-width: 400px; padding: 8px 0; background: transparent; box-shadow: none; border-radius: 0; }
body.sm-apple .sm-auth__heading h1 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--a-text);
  margin-bottom: 8px;
}
body.sm-apple .sm-auth__heading p { color: var(--a-muted); font-size: 16px; margin-bottom: 26px; }
body.sm-apple .sm-auth label { color: var(--a-text); font-weight: 600; font-size: 13.5px; }
body.sm-apple .sm-auth input[type="text"],
body.sm-apple .sm-auth input[type="email"],
body.sm-apple .sm-auth input[type="password"],
body.sm-apple .sm-auth input[type="tel"],
body.sm-apple .sm-auth input[type="number"] {
  height: 50px;
  padding: 0 16px;
  font-size: 16px;
  color: var(--a-text);
  background: #fff;
  border: 1px solid var(--a-line) !important;
  border-radius: 12px !important;
}
body.sm-apple .sm-auth input[type="text"]:focus,
body.sm-apple .sm-auth input[type="email"]:focus,
body.sm-apple .sm-auth input[type="password"]:focus,
body.sm-apple .sm-auth input[type="tel"]:focus {
  border-color: var(--a-green) !important;
  box-shadow: 0 0 0 4px rgba(0, 168, 132, 0.18) !important;
}
body.sm-apple .sm-auth input[type="checkbox"] { accent-color: var(--a-green-text); }
body.sm-apple .sm-auth .iti input[type="text"], body.sm-apple .sm-auth .iti input[type="tel"] { padding-left: 92px; }
body.sm-apple .sm-auth form button[type="submit"] {
  height: 50px;
  border-radius: 999px !important;
  background: var(--a-green-text) !important;
  font-size: 16px !important;
  font-weight: 600;
  box-shadow: none;
}
body.sm-apple .sm-auth form button[type="submit"]:hover { background: var(--a-green-hover) !important; transform: none; }
body.sm-apple .sm-auth form button[type="submit"]:active { transform: scale(0.98); }
body.sm-apple .sm-auth form > .flex.items-center.justify-end > a { color: var(--a-green-text); text-decoration: none !important; font-weight: 500; }
body.sm-apple .sm-auth__ghost {
  height: 50px;
  border-radius: 999px;
  border: 0;
  background: var(--a-soft);
  color: var(--a-text) !important;
  font-weight: 600;
}
body.sm-apple .sm-auth__ghost:hover { background: #ebebf0; border: 0; }
body.sm-apple .sm-auth__divider { color: var(--a-muted); }
body.sm-apple .sm-auth__divider::before, body.sm-apple .sm-auth__divider::after { background: #e8e8ed; }
body.sm-apple .sm-auth__links { color: var(--a-muted); font-size: 15px; }
body.sm-apple .sm-auth__links a { color: var(--a-muted); }
body.sm-apple .sm-auth__links a b, body.sm-apple .sm-auth__links a span { color: var(--a-green-text); font-weight: 600; }
body.sm-apple .sm-auth [data-yt] { border-radius: 16px !important; }
body.sm-apple .sm-auth .sm-video-note { color: var(--a-muted); }

@media (max-width: 960px) {
  body.sm-apple .sm-auth__brand { border-inline-end: 0; border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
  body.sm-apple .sm-auth__pitch h2 { font-size: 28px; }
  body.sm-apple .sm-auth__pitch li { font-size: 14.5px; margin-bottom: 10px; }
  body.sm-apple .sm-auth__main { padding: 26px 20px 40px; }
  body.sm-apple .sm-auth__card { padding: 0; }
  body.sm-apple .sm-auth__heading h1 { font-size: 28px; }
}
