/* SGAS Estimate — dedicated premium sign-in experience.
   Scoped to the login page to leave the billing workspace untouched. */
body.page-login {
  margin: 0;
  min-width: 320px;
  background: #eaf0ee;
  color: #12251e;
}
.page-login .wrap {
  display: block;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  /* Override the global sidebar .wrap !important offsets on sign-in. */
  margin: 0 !important;
  padding: 0 !important;
}
.page-login .notice {
  position: fixed;
  z-index: 30;
  top: 20px;
  left: 50%;
  width: min(450px, calc(100% - 32px));
  transform: translateX(-50%);
  box-shadow: 0 14px 38px rgba(31, 54, 47, .2);
}
.page-login .auth-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(18px, 3.5vw, 44px);
  overflow: hidden;
  background:
    radial-gradient(circle at 6% 8%, rgba(53, 152, 117, .14), transparent 27%),
    radial-gradient(circle at 93% 95%, rgba(29, 94, 82, .13), transparent 30%),
    #eef3f1;
}
.page-login .auth-shell::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 550px;
  height: 550px;
  left: -320px;
  bottom: -280px;
  border: 1px solid rgba(30, 104, 81, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(30, 104, 81, .025), 0 0 0 180px rgba(30, 104, 81, .018);
}
.page-login .auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  width: min(1150px, 100%);
  min-height: 664px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 25px 60px rgba(6, 43, 32, .12), 0 65px 140px rgba(6, 43, 32, .12);
}
.page-login .auth-story {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  min-width: 0;
  padding: clamp(38px, 4vw, 58px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 92% 10%, rgba(73, 216, 157, .23), transparent 32%),
    radial-gradient(circle at -10% 96%, rgba(22, 159, 112, .22), transparent 42%),
    linear-gradient(151deg, #0d3531 0%, #082b2d 46%, #062327 100%);
}
.page-login .auth-story::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 490px;
  height: 490px;
  top: -278px;
  right: -238px;
  border: 1px solid rgba(173, 255, 214, .2);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(173, 255, 214, .035), 0 0 0 145px rgba(173, 255, 214, .026);
}
.page-login .auth-story::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .27;
  background-image: linear-gradient(rgba(180, 250, 212, .11) 1px, transparent 1px), linear-gradient(90deg, rgba(180, 250, 212, .11) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(130deg, transparent 35%, #000 100%);
}
.page-login .auth-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}
.page-login .auth-logo {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  border: 1px solid rgba(223, 255, 236, .28);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(75, 193, 135, .3), rgba(30, 122, 100, .2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .13);
}
.page-login .auth-logo svg { width: 25px; height: 25px; color: #d5ffe4; }
.page-login .auth-brand-name {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.page-login .auth-brand-name strong { color: #fff; font-size: 21px; font-weight: 800; letter-spacing: .3px; line-height: 1; }
.page-login .auth-brand-name small { color: #a5c7b9; font-size: 9px; font-weight: 800; letter-spacing: 2px; }
.page-login .auth-story-body { position: relative; }
.page-login .auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #b4ebcd;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.page-login .auth-eyebrow::before { content: ""; width: 21px; height: 2px; background: #55d89b; border-radius: 9px; }
.page-login .auth-story h1 {
  max-width: 550px;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(42px, 4.1vw, 58px);
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 1.08;
}
.page-login .auth-story h1 span { display: block; color: #71dfaa; }
.page-login .auth-story-description {
  max-width: 430px;
  margin: 0;
  color: #b8d1c9;
  font-size: 14px;
  line-height: 1.8;
}
.page-login .auth-story-description strong { color: #e3fff0; font-weight: 700; }
.page-login .auth-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 32px;
}
.page-login .auth-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid rgba(192, 255, 221, .15);
  border-radius: 10px;
  background: rgba(210, 255, 236, .065);
  color: #e4fff0;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}
.page-login .auth-benefits i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: rgba(110, 229, 163, .17);
  color: #82eeb3;
  font-size: 13px;
  font-style: normal;
}
.page-login .auth-story-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #95b9af;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2px;
}
.page-login .auth-story-footer::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #59d49a;
  box-shadow: 0 0 0 5px rgba(89, 212, 154, .1);
}
.page-login .auth-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 40px clamp(35px, 4.5vw, 66px) 27px;
  background: linear-gradient(157deg, #fff 15%, #fcfefc 70%, #f8fbf9 100%);
}
.page-login .auth-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 24px;
}
.page-login .auth-panel-wordmark {
  color: #365d4b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1px;
}
.page-login .auth-private {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #54806b;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.page-login .auth-private svg { width: 15px; height: 15px; }
.page-login .auth-card {
  width: 100%;
  max-width: 388px;
  margin: 62px auto 56px;
}
.page-login .auth-card-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #148356;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}
.page-login .auth-card h2 {
  margin: 0 0 10px;
  color: #102d24;
  font-size: clamp(30px, 2.8vw, 38px);
  font-weight: 800;
  letter-spacing: -1.45px;
  line-height: 1.17;
}
.page-login .auth-card-intro {
  margin: 0 0 36px;
  color: #71867b;
  font-size: 13px;
  line-height: 1.65;
}
.page-login .auth-form { display: grid; gap: 22px; }
.page-login .auth-field { display: grid; gap: 9px; margin: 0; }
.page-login .auth-field > label {
  color: #30483b;
  font-size: 12px;
  font-weight: 750;
}
.page-login .auth-input {
  position: relative;
  display: flex;
  align-items: center;
}
.page-login .auth-input-icon {
  position: absolute;
  left: 16px;
  display: grid;
  place-items: center;
  pointer-events: none;
  color: #739685;
}
.page-login .auth-input-icon svg { width: 19px; height: 19px; }
.page-login .auth-input input {
  width: 100%;
  height: 55px;
  min-width: 0;
  padding: 0 17px 0 50px;
  border: 1px solid #d8e3dd;
  border-radius: 12px;
  outline: none;
  background: #fbfdfb;
  box-shadow: 0 2px 3px rgba(9, 49, 31, .012);
  color: #19382b;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.page-login .auth-input input::placeholder { color: #a2b2a9; font-weight: 400; }
.page-login .auth-input:focus-within .auth-input-icon { color: #178c5b; }
.page-login .auth-input input:focus {
  border-color: #2d9d6b;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(24, 147, 93, .11);
}
.page-login .auth-input input[type=password],
.page-login .auth-input input[type=text].auth-password {
  padding-right: 74px;
}
.page-login .auth-password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  min-width: 54px;
  min-height: 36px;
  padding: 4px 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #47775f;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
}
.page-login .auth-password-toggle:hover { background: #eaf5ee; }
.page-login .auth-password-toggle:focus-visible { outline: 2px solid #269e6e; outline-offset: 2px; }
.page-login .auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: 100%;
  height: 55px;
  margin-top: 5px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(120deg, #138550, #08734b);
  box-shadow: 0 12px 28px rgba(8, 115, 75, .22);
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.page-login .auth-submit svg { width: 18px; height: 18px; }
.page-login .auth-submit:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 16px 32px rgba(8, 115, 75, .27); }
.page-login .auth-submit:active { transform: translateY(0); }
.page-login .auth-submit:focus-visible { outline: 3px solid #52b989; outline-offset: 3px; }
.page-login .auth-secure-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 22px 0 0;
  color: #8a9c90;
  font-size: 11px;
  text-align: center;
}
.page-login .auth-secure-hint svg { width: 14px; height: 14px; }
.page-login .auth-panel-foot {
  margin: 0;
  color: #9dada3;
  font-size: 10px;
  text-align: center;
}
@media (max-width: 940px) {
  .page-login .auth-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 630px; }
  .page-login .auth-story { padding: 35px; }
  .page-login .auth-story h1 { font-size: 42px; }
  .page-login .auth-panel { padding: 35px 32px 26px; }
}
@media (max-width: 760px) {
  .page-login .auth-shell { padding: 16px; }
  .page-login .auth-layout { width: min(480px, 100%); min-height: 0; grid-template-columns: 1fr; border-radius: 22px; }
  .page-login .auth-story { display: none; }
  .page-login .auth-panel { min-height: 610px; padding: 30px 30px 24px; }
  .page-login .auth-panel-top { margin-bottom: 48px; }
  .page-login .auth-panel-wordmark { font-size: 15px; color: #145737; }
  .page-login .auth-card { max-width: none; margin: 0 auto 55px; }
  .page-login .auth-card h2 { font-size: 34px; }
}
@media (max-width: 440px) {
  .page-login .auth-shell { padding: 12px; }
  .page-login .auth-layout { border-radius: 18px; }
  .page-login .auth-panel { min-height: 565px; padding: 25px 22px 21px; }
  .page-login .auth-panel-top { margin-bottom: 45px; }
  .page-login .auth-card h2 { font-size: 31px; }
  .page-login .auth-card-intro { margin-bottom: 30px; }
  .page-login .auth-form { gap: 19px; }
  .page-login .auth-input input, .page-login .auth-submit { height: 52px; }
  .page-login .auth-panel-foot { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-login .auth-submit, .page-login .auth-input input { transition: none; }
}