/* Glassmorphism theme scoped to the first-stage Google sign-in page. */
.staff-login-page{
 min-height:100svh;padding:clamp(22px,4vw,58px);display:grid;place-items:center;
 background:linear-gradient(115deg,rgba(2,27,14,.55),rgba(4,47,24,.22) 48%,rgba(2,27,14,.45)),url('/assets/pin-estate-bg.webp') center / cover no-repeat;
 color:#fff;
}
.staff-login-card{
 width:min(1050px,100%);border-radius:34px;overflow:hidden;
 border:1px solid rgba(255,255,255,.50);
 background:linear-gradient(140deg,rgba(233,255,238,.24),rgba(14,79,44,.31) 55%,rgba(5,42,25,.48));
 box-shadow:0 28px 85px rgba(0,24,12,.42),inset 0 1px rgba(255,255,255,.35);
 -webkit-backdrop-filter:blur(25px) saturate(145%);backdrop-filter:blur(25px) saturate(145%);
 grid-template-columns:1fr 1fr;
}
.staff-login-brand{min-height:530px;padding:clamp(26px,4vw,48px);background:linear-gradient(155deg,rgba(7,76,39,.54),rgba(6,41,25,.39));color:#fff;border-right:1px solid rgba(255,255,255,.23)}
.staff-login-brand img{background:rgba(255,255,255,.88);border:1px solid rgba(255,255,255,.5);box-shadow:0 8px 24px rgba(0,0,0,.17)}
.staff-login-brand h1{color:#fff;text-shadow:0 3px 20px rgba(0,23,11,.35)}
.staff-login-brand p,.staff-login-note{color:rgba(255,255,255,.91)}
.staff-login-form{padding:clamp(26px,4vw,48px);background:rgba(255,255,255,.04)}
.staff-login-form h2,.staff-login-form .eyebrow{color:#fff}
.staff-login-form>p{color:rgba(255,255,255,.88)}
.staff-auth-box{border:1px solid rgba(255,255,255,.48);border-radius:24px;background:rgba(255,255,255,.14);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:inset 0 1px rgba(255,255,255,.23)}
.staff-auth-box strong{color:#fff}
.staff-auth-box p{color:rgba(255,255,255,.86)}
.staff-login-links a{color:#fff;text-decoration:underline;text-underline-offset:4px}
.staff-login-page .form-status.success{color:#0b5030;background:#e0fae9}
.staff-login-page .form-status.error{color:#8a2222;background:#fff0f0}
@media(max-width:850px){
 .staff-login-card{grid-template-columns:1fr;max-width:570px}
 .staff-login-brand{min-height:auto;padding:30px;border-right:0;border-bottom:1px solid rgba(255,255,255,.23);gap:18px}
 .staff-login-brand h1{font-size:clamp(32px,7vw,42px);margin:18px 0 10px}
 .staff-login-brand img{width:68px;height:68px;border-radius:17px}
 .staff-login-form{padding:30px}
}
@media(max-width:600px){
 .staff-login-page{padding:14px;background-position:55% center}
 .staff-login-card{border-radius:27px}
 .staff-login-brand,.staff-login-form{padding:25px}
 .staff-auth-box{padding:17px}
 #googleSignIn{max-width:100%;overflow:hidden}
}
@media(prefers-reduced-motion:reduce){.staff-login-page *{transition:none!important}}
/* ===== Mobile refinement + lighter glass : login ===== */

.staff-login-card{
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.14),
    rgba(255,255,255,0.08) 56%,
    rgba(255,255,255,0.05)
  ) !important;
  border: 1px solid rgba(255,255,255,0.30) !important;
  box-shadow:
    0 18px 42px rgba(7,31,18,0.22),
    inset 0 1px 0 rgba(255,255,255,0.34) !important;
  backdrop-filter: blur(24px) saturate(145%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(145%) !important;
}

.staff-auth-box{
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.12),
    rgba(255,255,255,0.07)
  ) !important;
  border: 1px solid rgba(255,255,255,0.24) !important;
  backdrop-filter: blur(18px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(140%) !important;
}

@media (max-width: 768px){
  html, body{
    overflow-x: hidden !important;
  }

  .staff-login-page{
    padding: 18px 12px 28px !important;
    min-height: 100svh !important;
    align-items: flex-start !important;
  }

  .staff-login-card{
    width: min(100%, 420px) !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    border-radius: 28px !important;
    padding: 18px !important;
  }

  .staff-login-brand,
  .staff-login-form{
    padding: 10px !important;
  }

  .staff-login-brand img{
    width: 72px !important;
    height: 72px !important;
    border-radius: 20px !important;
  }

  .staff-login-brand h1{
    font-size: clamp(2.05rem, 8vw, 3rem) !important;
    line-height: 1.02 !important;
    margin: 10px 0 12px !important;
  }

  .staff-login-brand p{
    font-size: 1rem !important;
    line-height: 1.55 !important;
    margin: 0 0 14px !important;
  }

  .staff-login-note{
    font-size: 0.98rem !important;
    line-height: 1.55 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    margin-top: 12px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(255,255,255,0.16) !important;
  }

  .staff-login-form .eyebrow{
    font-size: 0.82rem !important;
    letter-spacing: 0.18em !important;
  }

  .staff-login-form h2{
    font-size: clamp(2.1rem, 9vw, 2.9rem) !important;
    line-height: 1.02 !important;
    margin: 8px 0 12px !important;
  }

  .staff-login-form p{
    font-size: 1rem !important;
    line-height: 1.58 !important;
  }

  .staff-auth-box{
    padding: 16px !important;
    border-radius: 22px !important;
  }

  #googleSignIn{
    display: flex !important;
    justify-content: center !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .staff-login-links{
    margin-top: 8px !important;
  }

  .staff-login-links a{
    font-size: 0.95rem !important;
  }
}


/* Mobile glass v3: scoped, compact, and genuinely translucent. */
@media (max-width: 768px) {
  html, body { max-width:100%; overflow-x:clip; }
  .staff-login-page { display:flex!important; align-items:flex-start!important; justify-content:center!important; padding:14px 12px 24px!important; min-height:100svh!important; }
  .staff-login-page .staff-login-card {
    display:flex!important; flex-direction:column!important; gap:0!important;
    width:min(100%,420px)!important; min-width:0!important; margin:0 auto!important; padding:0!important;
    border-radius:24px!important; overflow:hidden!important;
    background:linear-gradient(130deg,rgba(222,249,225,.12),rgba(17,73,46,.13))!important;
    backdrop-filter:blur(17px) saturate(125%)!important;
    -webkit-backdrop-filter:blur(17px) saturate(125%)!important;
  }
  .staff-login-page .staff-login-brand {
    min-width:0!important; min-height:0!important; padding:22px 20px 12px!important;
    gap:8px!important; border-right:0!important; border-bottom:1px solid rgba(255,255,255,.26)!important;
    background:linear-gradient(130deg,rgba(10,62,38,.16),rgba(15,61,38,.08))!important;
  }
  .staff-login-page .staff-login-brand img { width:54px!important; height:54px!important; border-radius:13px!important; padding:6px!important; }
  .staff-login-page .staff-login-brand h1 { font-size:clamp(26px,7.3vw,34px)!important; line-height:1.1!important; margin:12px 0 7px!important; }
  .staff-login-page .staff-login-brand p { font-size:13px!important; line-height:1.45!important; margin:0 0 7px!important; overflow-wrap:anywhere!important; }
  .staff-login-page .staff-login-note { font-size:11px!important; line-height:1.4!important; margin:4px 0 0!important; padding:6px 0 0!important; overflow-wrap:anywhere!important; white-space:normal!important; }
  .staff-login-page .staff-login-form { min-width:0!important; padding:17px 20px 22px!important; background:transparent!important; }
  .staff-login-page .staff-login-form .eyebrow {font-size:10px!important; letter-spacing:.12em!important;}
  .staff-login-page .staff-login-form h2 { font-size:26px!important; line-height:1.15!important; margin:6px 0 8px!important; }
  .staff-login-page .staff-login-form > p { font-size:13px!important; line-height:1.45!important; margin:0 0 13px!important; overflow-wrap:anywhere!important; }
  .staff-login-page .staff-auth-box { min-width:0!important; padding:14px!important; border-radius:17px!important; background:rgba(238,255,240,.10)!important; }
  .staff-login-page .staff-auth-box strong { font-size:13px!important; }
  .staff-login-page .staff-auth-box p { font-size:12px!important; line-height:1.45!important; }
  .staff-login-page #googleSignIn { width:100%!important; max-width:100%!important; min-width:0!important; margin-top:12px!important; overflow:hidden!important; justify-content:center!important; }
  .staff-login-page #googleSignIn iframe { max-width:100%!important; }
  .staff-login-page .staff-login-links {margin-top:13px!important;}
  .staff-login-page .staff-login-links a {font-size:12px!important;}
}
