/* SalesHustle shell and login chrome.
   Served by this app at /brand/chrome.css so staging does not wait on
   a separate static host. Tokens sampled from saleshustle.com and the
   primary wordmark: #3880F8, #184898, #3c86fe, #0693e3, #005a87. */

:root {
  --sh-blue: #3880F8;
  --sh-blue-deep: #184898;
  --sh-blue-bright: #3c86fe;
  --sh-sky: #0693e3;
  --sh-navy: #005a87;
  --sh-ink: #313131;
  --sh-muted: #4B4F58;
  --sh-bg: #f4f7fb;
  --sh-line: #d5e3f7;
  --sh-card: #ffffff;
}

body {
  background: var(--sh-bg) !important;
  color: var(--sh-ink);
}

a:link {
  color: var(--sh-blue-deep);
}

a:hover,
a:focus {
  color: var(--sh-blue);
}

.container {
  border-top: 4px solid var(--sh-blue);
}

.sh-brand {
  padding: 12px 0 4px;
}

img.tinylogo {
  width: auto !important;
  height: 36px !important;
  max-width: 180px;
  vertical-align: middle;
}

ul.menu {
  list-style: none;
  margin: 8px 0 16px;
  padding: 0;
  background-color: var(--sh-card) !important;
  background-image: none !important;
  border: 0 !important;
  border-bottom: 3px solid var(--sh-blue) !important;
}

ul.menu > li {
  display: inline-block;
  position: relative;
  vertical-align: middle;
}

ul.menu > li > a,
ul.menu > li > a.drop {
  display: inline-block;
  padding: 10px 14px;
  color: var(--sh-blue-deep) !important;
  background-color: transparent !important;
  background-image: none !important;
  text-decoration: none;
  font-weight: 600;
}

ul.menu > li > a:hover,
ul.menu > li > a:focus,
ul.menu > li > a.drop:hover {
  color: var(--sh-card) !important;
  background-color: var(--sh-blue) !important;
}

.sh-footer {
  clear: both;
  border-top: 1px solid var(--sh-line);
  margin-top: 28px;
  padding-top: 10px;
}

.sh-legal {
  color: var(--sh-muted);
  font-size: 13px;
  line-height: 1.5;
}

.sh-legal-links,
.sh-legal-links a {
  color: var(--sh-blue-deep);
}

/* Logged-out auth stage. Field names and button classes stay put. */
body.sh-login {
  margin: 0;
  background: #f5f7fb !important;
  background-image: none !important;
  color: var(--sh-ink);
  font-family: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
}

body.sh-login .sh-brand,
body.sh-login ul.menu,
body.sh-login .container > .align_right,
body.sh-login .container > .span-24.last:not(#main) {
  display: none !important;
}

body.sh-login .container {
  display: flex !important;
  flex-direction: column !important;
  max-width: none !important;
  width: 100% !important;
  min-height: 100vh;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: #f5f7fb !important;
  background-image: none !important;
  box-shadow: none !important;
}

body.sh-login #main,
body.sh-login #main.span-24 {
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column;
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.sh-login .sh-stage {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(440px, 1.08fr);
  min-height: calc(100vh - 58px);
}

body.sh-login .sh-aside {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 56px 52px;
  color: #fff;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(60, 134, 254, 0.5), transparent 56%),
    radial-gradient(80% 60% at 100% 100%, rgba(6, 147, 227, 0.28), transparent 52%),
    linear-gradient(168deg, #3c86fe 0%, #184898 46%, #0c2a5c 100%);
}

body.sh-login .sh-aside::after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  right: -140px;
  top: -120px;
  pointer-events: none;
}

body.sh-login .sh-aside-inner {
  position: relative;
  z-index: 1;
}

body.sh-login .sh-wordmark {
  margin: 0;
}

body.sh-login .sh-wordmark img {
  display: block;
  width: min(280px, 100%);
  height: auto;
  filter: brightness(0) invert(1);
}

body.sh-login .sh-aside-rule {
  width: 48px;
  height: 2px;
  margin: 22px 0 0;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
}

body.sh-login .sh-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  background: #f5f7fb;
  overflow: auto;
}

body.sh-login .sh-panel-inner {
  width: min(420px, 100%);
  margin: auto;
  padding: 48px 28px 36px;
  box-sizing: border-box;
}

body.sh-login .sign-in-main {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.sh-login .sh-title,
body.sh-login .heading {
  margin: 0 0 8px;
  color: #14233b;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-align: left;
}

body.sh-login .sh-lede {
  margin: 0 0 28px;
  color: #5c6b80;
  font-size: 16px;
  line-height: 1.5;
}

body.sh-login .sh-lede p {
  margin: 0;
}

body.sh-login .sign-in-form,
body.sh-login .form-control,
body.sh-login .sh-field {
  float: none !important;
  width: 100% !important;
  box-sizing: border-box;
}

body.sh-login .form-control,
body.sh-login .sh-field {
  margin: 0 0 16px !important;
}

body.sh-login .sh-label {
  display: block;
  margin: 0 0 6px;
  color: #314056;
  font-size: 13px;
  font-weight: 600;
}

body.sh-login .sh-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

body.sh-login .sh-label-row .sh-label {
  margin-bottom: 6px;
}

body.sh-login .sh-forgot {
  color: var(--sh-blue-deep);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

body.sh-login .sh-forgot:hover {
  color: var(--sh-blue);
  text-decoration: underline;
}

body.sh-login .input-lg,
body.sh-login input.input-lg,
body.sh-login .sh-panel input.text {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid #d5deea !important;
  border-radius: 10px !important;
  background: #fff !important;
  background-image: none !important;
  color: #14233b !important;
  font-family: inherit !important;
  font-size: 16px !important;
  float: none !important;
  box-shadow: none !important;
}

body.sh-login .input-lg::placeholder,
body.sh-login input.input-lg::placeholder,
body.sh-login .sh-panel input.text::placeholder {
  color: #8b97a8;
}

body.sh-login .input-lg:focus,
body.sh-login input.input-lg:focus,
body.sh-login .sh-panel input.text:focus {
  outline: none !important;
  border-color: var(--sh-blue) !important;
  box-shadow: 0 0 0 4px rgba(56, 128, 248, 0.16) !important;
}

body.sh-login .btn.btn-red,
body.sh-login button.btn-red,
body.sh-login a.btn-red,
body.sh-login .submit_button,
body.sh-login .btn-lost {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  height: 48px;
  margin: 8px 0 0;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid var(--sh-blue) !important;
  background: var(--sh-blue) !important;
  background-image: none !important;
  color: #fff !important;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
}

body.sh-login .btn.btn-red:hover,
body.sh-login button.btn-red:hover,
body.sh-login a.btn-red:hover,
body.sh-login .submit_button:hover,
body.sh-login .submit_button:focus,
body.sh-login .btn-lost:hover {
  background: var(--sh-blue-deep) !important;
  border-color: var(--sh-blue-deep) !important;
  color: #fff !important;
}

body.sh-login button.btn-red:disabled {
  opacity: 0.72;
  cursor: progress;
}

body.sh-login .waitlogin {
  display: none;
  flex: 0 0 auto;
}

body.sh-login .btn.btn-green,
body.sh-login a.btn-green {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  min-height: 46px;
  margin: 0;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #c5d4ee !important;
  background: #fff !important;
  background-image: none !important;
  color: var(--sh-blue-deep) !important;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

body.sh-login .btn.btn-green:hover,
body.sh-login a.btn-green:hover {
  background: #f3f7ff !important;
  border-color: var(--sh-blue) !important;
  color: var(--sh-blue-deep) !important;
}

body.sh-login .sh-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

body.sh-login .sh-actions .btn {
  flex: 1 1 0;
  margin-top: 0;
}

body.sh-login .btn-bck {
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 16px;
  background: #fff !important;
  color: var(--sh-blue-deep) !important;
  border: 1px solid #c5d4ee !important;
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

body.sh-login .btn-bck:hover,
body.sh-login .btn-bck:focus {
  background: #f3f7ff !important;
  color: var(--sh-blue-deep) !important;
  border-color: var(--sh-blue) !important;
}

body.sh-login .sh-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0 16px;
  color: #7b8798;
  font-size: 13px;
}

body.sh-login .sh-divider::before,
body.sh-login .sh-divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: #e1e8f2;
}

body.sh-login .sh-sso {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.sh-login .social-btn-main .btn,
body.sh-login a.btn-social {
  display: flex !important;
  align-items: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid #e1e8f2 !important;
  border-radius: 10px !important;
  background: #fff !important;
  background-image: none !important;
  color: #1c2b3a !important;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
}

body.sh-login .social-btn-main .btn:hover,
body.sh-login a.btn-social:hover {
  border-color: var(--sh-blue) !important;
  background: #f7faff !important;
}

body.sh-login .sh-sso-icon {
  display: inline-flex;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

body.sh-login .sh-sso-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

body.sh-login .sh-create {
  margin-top: 28px;
}

body.sh-login .sh-create p,
body.sh-login h4 {
  margin: 0 0 10px;
  color: #5c6b80;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-align: left;
}

body.sh-login .error,
body.sh-login .recaptcha_error {
  background: #fff1ef;
  border: 1px solid #f0b4ae;
  border-radius: 8px;
  color: #8d2b22;
  padding: 8px 10px;
  margin: 0 0 12px;
}

body.sh-login .recaptcha_error:empty {
  display: none;
}

body.sh-login .g-recaptcha {
  margin: 0 0 12px;
}

body.sh-login .sh-otp {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 8px 0 18px;
}

body.sh-login .sh-otp input,
body.sh-login input.otp-input {
  width: 48px !important;
  height: 54px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #d5deea !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #14233b !important;
  font-size: 22px !important;
  text-align: center;
  box-sizing: border-box;
}

body.sh-login .sh-otp input:focus,
body.sh-login input.otp-input:focus {
  outline: none;
  border-color: var(--sh-blue) !important;
  box-shadow: 0 0 0 4px rgba(56, 128, 248, 0.16);
}

body.sh-login .sh-resend {
  margin: 16px 0 0;
  color: #5c6b80;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

body.sh-login .sh-resend a {
  color: var(--sh-blue-deep);
  font-weight: 600;
}

body.sh-login .sh-footer {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  margin: 0;
  padding: 14px 28px 16px;
  border-top: 1px solid #e6edf5;
  background: #fff;
  text-align: center;
}

body.sh-login .sh-footer .align_left,
body.sh-login .sh-footer .align_right,
body.sh-login .sh-legal,
body.sh-login .sh-legal-links {
  float: none !important;
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
  margin: 0;
  text-align: center;
}

body.sh-login .sh-footer .phone_call,
body.sh-login .sh-footer .phone_lookup,
body.sh-login .sh-footer .user_call_list_bg,
body.sh-login #show_phone_call,
body.sh-login #missed_call_log,
body.sh-login #show_phone_lookup {
  display: none !important;
}

@media (max-width: 860px) {
  body.sh-login .sh-stage {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  body.sh-login .sh-aside {
    align-items: center;
    min-height: 168px;
    padding: 28px 24px 26px;
  }

  body.sh-login .sh-wordmark img {
    width: min(200px, 70%);
  }

  body.sh-login .sh-aside::after {
    width: 220px;
    height: 220px;
    right: -70px;
    top: -80px;
  }

  body.sh-login .sh-panel-inner {
    padding: 32px 20px 28px;
  }

  body.sh-login .sh-title,
  body.sh-login .heading {
    font-size: 28px;
  }
}
