@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Poppins:wght@400;500;600;700;800&display=swap');
.auth-page{
  min-height:calc(100vh - 180px);
  padding:88px 24px 96px;
  display:grid;
  place-items:start center;
  background:
    radial-gradient(circle at 12% 24%, rgba(238,224,255,.62), transparent 30%),
    radial-gradient(circle at 84% 68%, rgba(255,233,242,.58), transparent 34%),
    linear-gradient(135deg,#fff,#faf7ff 52%,#fff8f4);
  font-family:Poppins,Arial,sans-serif;
}
.auth-card{
  width:min(760px,100%);
  background:rgba(255,255,255,.96);
  border:1px solid #eadff4;
  border-radius:34px;
  padding:54px 58px 52px;
  box-shadow:0 42px 110px rgba(48,28,71,.12);
  position:relative;
  overflow:hidden;
}
.auth-card:after{
  content:"";
  position:absolute;
  right:-18px;
  bottom:-28px;
  width:180px;
  height:180px;
  background:url('../../img/card-loop-accent.svg') center/contain no-repeat;
  opacity:.45;
  pointer-events:none;
}
.auth-card .eyebrow,
.auth-card .auth-kicker{
  margin:0 0 12px;
  text-transform:uppercase;
  letter-spacing:.16em;
  color:#7c4dff;
  font-weight:900;
  font-size:13px;
}
.auth-card h1{
  font-family:Poppins,Arial,sans-serif;
  font-weight:900;
  color:#302047;
  margin:0 0 22px;
  font-size:clamp(46px,5vw,72px);
  line-height:1.05;
  letter-spacing:-.04em;
}
.auth-card form{position:relative;z-index:1;}
.auth-card label{display:block;margin:18px 0 8px;color:#302047;font-weight:800;font-size:15px;}
.auth-card input[type="text"],
.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input:not([type]){
  width:100%;
  min-height:56px;
  border:1px solid #e0d3ef;
  border-radius:18px;
  padding:0 18px;
  font:600 15px/1.2 Poppins,Arial,sans-serif;
  color:#302047;
  background:#fff;
  outline:none;
  transition:.18s ease;
}
.auth-card input:focus{border-color:#8c63ff;box-shadow:0 0 0 4px rgba(124,77,255,.11);}
.form-grid.two{display:grid;grid-template-columns:1fr 1fr;gap:18px;}
.form-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px;flex-wrap:wrap;}
.btn,.auth-card button[type="submit"],.auth-card .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:999px;
  background:#7547ef;
  color:#fff!important;
  padding:14px 24px;
  font-weight:900;
  text-decoration:none;
  cursor:pointer;
  box-shadow:0 16px 32px rgba(111,66,233,.20);
}
.btn:hover,.auth-card button[type="submit"]:hover{background:#5930d7;color:#fff!important;}
.btn-soft{background:#f0e8ff!important;color:#7047ef!important;box-shadow:none!important;}
.btn-soft:hover{background:#7047ef!important;color:#fff!important;}
.auth-small{margin:22px 0 0;color:#5f536e;font-size:16px;}
.auth-small a{color:#302047;text-decoration:underline;text-underline-offset:4px;}
.check-row{display:flex!important;align-items:flex-start;gap:12px;margin-top:24px!important;line-height:1.45;}
.check-row input{width:18px;height:18px;margin-top:2px;accent-color:#7547ef;}
@media(max-width:720px){.auth-page{padding:54px 16px}.auth-card{padding:36px 24px;border-radius:26px}.form-grid.two{grid-template-columns:1fr}.auth-card h1{font-size:42px}}


/* v2.13.3 - wider public auth pages matching public header width */
.auth-page{
  min-height:calc(100vh - 220px) !important;
  padding:70px max(24px,calc((100vw - 1180px)/2)) 84px !important;
  place-items:start stretch !important;
}
.auth-card{
  width:100% !important;
  max-width:1180px !important;
  margin:0 auto !important;
  padding:56px clamp(34px,5vw,76px) !important;
  border-radius:34px !important;
  display:block !important;
}
.auth-card h1{max-width:760px !important;}
.auth-card .auth-intro{max-width:820px !important;color:#655b72;font-size:17px;line-height:1.75;margin:-8px 0 26px;}
.auth-card form{max-width:860px !important;}
.auth-card .form-actions{justify-content:flex-start !important;}
.auth-card .btn-soft{margin-left:auto;}
@media(max-width:760px){
  .auth-page{padding:38px 18px 54px !important;}
  .auth-card{padding:34px 22px !important;border-radius:26px !important;}
  .auth-card .btn-soft{margin-left:0;}
}

/* v2.13.5 auth flower background + clearer explanations */
.auth-page:before{content:"";position:fixed;right:max(-140px,calc((100vw - 1280px)/2 - 220px));top:110px;width:min(620px,48vw);height:min(620px,48vw);background:url('../../img/home-hero-flower.webp') center/contain no-repeat;opacity:.34;pointer-events:none;z-index:0}.auth-card{z-index:1}.auth-explain-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:26px 0 24px;max-width:980px}.auth-explain-grid div{background:linear-gradient(135deg,#fff,#fbf8ff);border:1px solid #eadff4;border-radius:22px;padding:18px;box-shadow:0 16px 36px rgba(55,34,83,.07)}.auth-explain-grid strong{display:block;color:#302047;font-size:15px;margin-bottom:7px}.auth-explain-grid span{display:block;color:#6f647c;font-size:13px;line-height:1.55}.auth-card h1{max-width:980px!important;font-size:clamp(38px,4.1vw,60px)!important;letter-spacing:-.035em!important}.auth-card .auth-intro{max-width:940px!important}@media(max-width:860px){.auth-explain-grid{grid-template-columns:1fr}.auth-page:before{opacity:.18;width:72vw;height:72vw;right:-28vw;top:80px}}


/* update_3.0.27 - styled auth utility pages + password visibility buttons */
.auth-help-panel{
  max-width:980px;
  margin:24px 0 26px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.auth-help-panel .auth-help-item{
  background:linear-gradient(135deg,#fff,#fbf8ff);
  border:1px solid #eadff4;
  border-radius:22px;
  padding:18px;
  box-shadow:0 16px 36px rgba(55,34,83,.07);
}
.auth-help-panel strong{
  display:block;
  color:#302047;
  font-size:15px;
  margin-bottom:7px;
}
.auth-help-panel span{
  display:block;
  color:#6f647c;
  font-size:13px;
  line-height:1.55;
}
.password-field{
  position:relative;
  display:block;
}
.auth-card .password-field input[type="password"],
.auth-card .password-field input[type="text"]{
  padding-right:62px !important;
}
.password-toggle{
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  width:42px;
  height:42px;
  border:1px solid #e3d6f3;
  border-radius:999px;
  background:#f8f3ff;
  color:#7047ef;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:none;
  padding:0;
  z-index:2;
}
.password-toggle svg{
  width:20px;
  height:20px;
  display:block;
  pointer-events:none;
}
.password-toggle:hover,
.password-toggle.is-visible{
  background:#7047ef;
  color:#fff;
  border-color:#7047ef;
}
.auth-card .auth-secondary-actions{
  margin-top:18px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
}
.auth-card .auth-secondary-actions .btn-soft{
  margin-left:0 !important;
}
@media(max-width:760px){
  .auth-help-panel{grid-template-columns:1fr;margin:18px 0 22px;gap:10px;}
  .auth-help-panel .auth-help-item{padding:15px;border-radius:18px;}
  .password-toggle{right:8px;width:40px;height:40px;}
  .auth-card .password-field input[type="password"],
  .auth-card .password-field input[type="text"]{padding-right:58px !important;}
}

/* update_3.0.28 - auth utility page styling reinforcement + better field/button spacing */
.auth-page .auth-card{
  isolation:isolate;
}
.auth-page .auth-card form{
  display:block !important;
  margin-top:30px !important;
}
.auth-page .auth-card form label{
  margin-top:22px !important;
  margin-bottom:10px !important;
}
.auth-page .auth-card form > input,
.auth-page .auth-card form > .password-field{
  margin-bottom:18px !important;
}
.auth-page .auth-card form > button[type="submit"],
.auth-page .auth-card form > .btn{
  margin-top:18px !important;
}
.auth-page .password-field{
  margin-top:0 !important;
}
.auth-page .auth-help-panel + .flash,
.auth-page .auth-help-panel + .alert{
  margin-top:22px !important;
}
.auth-page .auth-secondary-actions{
  margin-top:28px !important;
  padding-top:8px !important;
}
.auth-page .auth-card button[type="submit"]{
  min-height:52px !important;
}
@media(max-width:760px){
  .auth-page .auth-card form{margin-top:24px !important;}
  .auth-page .auth-card form label{margin-top:20px !important;margin-bottom:9px !important;}
  .auth-page .auth-card form > input,
  .auth-page .auth-card form > .password-field{margin-bottom:16px !important;}
  .auth-page .auth-card form > button[type="submit"],
  .auth-page .auth-card form > .btn{width:100%;margin-top:18px !important;}
}
