/**
 * BW Divi Luxury v2.16 — Neon Crown Login
 * Guest Account only. Designed to match the Neon Crown megamenu visual system.
 * UI-only: auth, nonce, redirects, passwords, member permissions remain unchanged.
 */
body.bw-v16.bw-view-member .bw-guest-account{
  --bw-login-cyan:#38e2ff;
  --bw-login-gold:#f4c674;
  --bw-login-ink:#eef8ff;
  position:relative;
  isolation:isolate;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  width:100%;
  min-width:0;
  min-height:calc(100svh - 174px);
  box-sizing:border-box;
  padding:clamp(96px,11vw,118px) 16px calc(112px + env(safe-area-inset-bottom));
  overflow:hidden;
  background:
    radial-gradient(ellipse 68% 42% at 50% 12%,rgba(0,175,255,.19),transparent 75%),
    radial-gradient(ellipse 38% 23% at 11% 58%,rgba(10,91,178,.26),transparent 81%),
    radial-gradient(ellipse 35% 24% at 88% 72%,rgba(197,139,54,.15),transparent 81%),
    linear-gradient(135deg,#031427 0%,#05213a 49%,#031322 100%);
}
body.bw-v16.bw-view-member .bw-guest-account::before{
  content:"";position:absolute;inset:0;z-index:-2;pointer-events:none;
  background:
    repeating-linear-gradient(90deg,transparent 0 91px,rgba(20,152,235,.045) 92px 94px),
    radial-gradient(circle at 2% 38%,rgba(19,182,255,.38) 0 3px,transparent 5px),
    radial-gradient(circle at 98% 60%,rgba(250,194,99,.28) 0 3px,transparent 5px),
    radial-gradient(circle at 8% 83%,rgba(38,195,247,.26) 0 2px,transparent 5px),
    radial-gradient(circle at 93% 20%,rgba(38,195,247,.21) 0 2px,transparent 4px);
  opacity:.72;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-guest-aura{
  z-index:-1;
  width:min(90vw,700px);
  height:60%;
  top:0;left:50%;
  transform:translateX(-50%);
  opacity:.85;
  filter:blur(25px);
  background:radial-gradient(ellipse,rgba(0,157,225,.18),transparent 68%);
}
body.bw-v16.bw-view-member .bw-guest-account .bw-login-panel{
  position:relative;
  isolation:isolate;
  width:min(100%,554px);
  max-width:554px;
  min-width:0;
  margin:0;
  box-sizing:border-box;
  padding:clamp(49px,7vw,70px) clamp(18px,5vw,44px) clamp(22px,4vw,32px)!important;
  background:
    radial-gradient(ellipse 80% 21% at 50% 0%,rgba(10,117,191,.25),transparent 100%),
    radial-gradient(ellipse 42% 35% at 100% 100%,rgba(2,113,179,.12),transparent),
    linear-gradient(151deg,rgba(6,36,67,.97),rgba(2,19,39,.985));
  color:var(--bw-login-ink)!important;
  border:1.5px solid rgba(52,220,255,.96)!important;
  border-radius:26px;
  box-shadow:
    0 0 0 3px rgba(5,143,212,.1),
    0 0 23px rgba(13,216,251,.26),
    0 22px 56px rgba(0,8,25,.63),
    inset 0 1px rgba(255,245,206,.18),
    inset 0 -1px 13px rgba(17,126,211,.15);
}
/* The inner frame starts BELOW the crest, so no horizontal border crosses the person icon. */
body.bw-v16.bw-view-member .bw-guest-account .bw-login-panel::before{
  content:"";
  position:absolute;z-index:0;pointer-events:none;
  inset:9px 9px 9px;
  border:1px solid rgba(221,173,82,.3);
  border-top:0;
  border-radius:20px;
  box-shadow:inset 0 0 20px rgba(8,102,191,.07);
}
body.bw-v16.bw-view-member .bw-guest-account .bw-login-panel::after{
  content:"";position:absolute;z-index:0;pointer-events:none;
  top:9px;left:9px;right:9px;height:1px;
  background:linear-gradient(90deg,#efc77e 0%,#e7b86b 25%,transparent 40%,transparent 60%,#e7b86b 75%,#efc77e 100%);
  opacity:.56;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-login-panel > *{
  position:relative;z-index:1;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-card-head{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:100%;
  max-width:100%;
  gap:0;
  margin:0 0 14px;
  padding:0;
  text-align:center;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-card-head > div{
  display:flex;flex-direction:column;gap:10px;
  align-items:center;max-width:100%;min-width:0;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-icon-tile{
  position:relative!important;
  z-index:5!important;
  display:grid;
  place-items:center;
  flex:none;
  width:92px!important;
  height:92px!important;
  padding:20px;
  margin:-113px auto 31px!important;
  border:2px solid #ffe0a1!important;
  border-radius:50%!important;
  color:#ffe39e!important;
  background:
    radial-gradient(circle at 40% 20%,#11638d 0%,#042743 52%,#02192f 100%)!important;
  box-shadow:
    0 0 0 8px #06253f,
    0 0 0 11px rgba(39,212,249,.85),
    0 0 0 13px rgba(239,191,107,.36),
    0 0 25px 14px rgba(5,205,251,.36),
    inset 0 2px 12px rgba(255,212,123,.22)!important;
  overflow:visible!important;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-icon-tile svg{
  width:46px!important;height:46px!important;stroke-width:1.6;
  filter:drop-shadow(0 0 7px rgba(255,205,112,.45));
}
body.bw-v16.bw-view-member .bw-guest-account .bw-eyebrow{
  display:block;
  margin:0;
  padding:0;
  font-size:clamp(10px,2.5vw,12px)!important;
  line-height:1.5;
  letter-spacing:.22em;
  font-weight:850;
  color:#55eaff!important;
  text-shadow:0 0 12px rgba(0,209,250,.19);
}
body.bw-v16.bw-view-member .bw-guest-account #bw-login-title{
  width:100%;
  margin:0!important;
  padding:0!important;
  font-size:clamp(26px,4.2vw,37px)!important;
  line-height:1.17!important;
  letter-spacing:-.045em;
  font-weight:900;
  color:#fff2d5!important;
  background:linear-gradient(100deg,#f6fbff 8%,#f0f7ff 31%,#f8d58a 70%,#ebba60 100%);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;
  text-wrap:balance;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-login-panel > p:not(.bw-notice):not(.bw-card-note){
  margin:0 auto 24px!important;
  max-width:39ch;
  color:#c3d5e7!important;
  font-size:clamp(12px,2.5vw,14px)!important;
  line-height:1.6!important;
  text-align:center;
  text-wrap:pretty;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-login-form{
  display:grid;gap:15px;min-width:0;margin:0;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-login-form > label{
  display:grid;gap:8px;
  min-width:0;
  font-size:13px!important;line-height:1.4!important;
  font-weight:760!important;color:#f4faff!important;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-login-form input:is([type=text],[type=password]){
  box-sizing:border-box;
  width:100%!important;
  max-width:100%;
  height:54px!important;
  min-height:54px!important;
  margin:0!important;
  padding:12px 53px!important;
  border:1.5px solid rgba(39,218,255,.97)!important;
  border-radius:15px!important;
  background-color:#031a32!important;
  color:#f7fcff!important;
  box-shadow:0 0 12px rgba(9,222,252,.19),inset 0 1px 9px rgba(1,5,18,.4)!important;
  font-size:16px!important;
  line-height:1.4!important;
  font-weight:500;
  outline-offset:2px;
  background-repeat:no-repeat!important;
  background-position:17px center!important;
  background-size:22px 22px!important;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-login-form input[name="bw_username"]{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338e2ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m3 6 9 7 9-7'/%3E%3C/svg%3E")!important;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-login-form input[name="bw_password"]{
  padding-right:54px!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338e2ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10' width='16' height='12' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E")!important;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-login-form input::placeholder{
  color:#9ebbd1!important;opacity:1;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-password-wrap{
  display:block;position:relative;min-width:0;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-show-password{
  position:absolute;
  top:5px;right:6px;bottom:5px;
  display:grid;place-items:center;
  width:44px;height:auto;
  color:#b7d9ef;
  background:transparent;
  border:0;border-radius:10px;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-show-password:hover{color:#65ecff;background:rgba(13,105,144,.24)}
body.bw-v16.bw-view-member .bw-guest-account .bw-show-password svg{width:23px;height:23px}
body.bw-v16.bw-view-member .bw-guest-account .bw-login-form input:is([type=text],[type=password]):focus-visible{
  border-color:#f3d28a!important;outline:2px solid #f6ca76!important;
  box-shadow:0 0 0 4px rgba(244,192,104,.12),0 0 18px rgba(38,218,249,.30)!important;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-login-options{
  display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;
  margin:0 0 0;
  font-size:12px!important;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-login-options .bw-check{
  display:inline-flex;flex-direction:row;
  align-items:center;gap:8px;
  color:#e6f3ff!important;font-size:12px!important;font-weight:680!important;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-login-options input[type=checkbox]{
  width:18px;height:18px;margin:0;
  accent-color:#14d8ff;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-login-options a{
  color:#45e8ff!important;
  font-size:12px!important;font-weight:790;
  text-decoration:none;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-login-form > .bw-button-gold{
  display:flex;align-items:center;justify-content:center;
  width:100%;min-height:56px;
  margin:4px 0 0;
  padding:13px 16px!important;
  border:1.5px solid #ffe5a1!important;
  border-radius:16px!important;
  background:linear-gradient(113deg,#f2be67,#fff0b0 52%,#e7ad50)!important;
  color:#061e34!important;
  font-size:clamp(15px,3.5vw,17px)!important;
  font-weight:900!important;
  line-height:1.25!important;
  box-shadow:0 0 0 2px rgba(251,208,133,.17),0 0 20px rgba(242,187,92,.35),inset 0 2px rgba(255,255,255,.45)!important;
  transition:transform .22s ease,box-shadow .22s ease,filter .22s ease;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-login-form > .bw-button-gold:hover{
  filter:brightness(1.06);
  transform:translateY(-2px);
  box-shadow:0 0 0 2px rgba(251,208,133,.24),0 0 26px rgba(242,187,92,.43)!important;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-divider{
  width:100%;gap:15px;
  margin:24px 0 19px;
  color:#c5d8e9!important;
  font-size:13px;font-weight:600;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-divider::before,
body.bw-v16.bw-view-member .bw-guest-account .bw-divider::after{
  flex:1;height:1px;
  background:linear-gradient(90deg,transparent,#edc571 70%,rgba(58,202,239,.55));
  box-shadow:0 0 6px rgba(255,212,124,.19);
}
body.bw-v16.bw-view-member .bw-guest-account .bw-button-register{
  display:flex;justify-content:center;align-items:center;gap:10px;
  width:100%;min-height:54px;
  padding:11px 13px;
  border:1.5px solid #23dfff!important;
  border-radius:16px!important;
  background:linear-gradient(130deg,#062f4c,#03182f)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.17),0 0 19px rgba(13,214,246,.30)!important;
  color:#4be8ff!important;
  font-size:clamp(11.5px,2.95vw,14px)!important;
  font-weight:840!important;
  line-height:1.3!important;
  transition:background .22s,transform .22s,box-shadow .22s;
  text-decoration:none;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-button-register svg{width:22px;height:22px;flex:none}
body.bw-v16.bw-view-member .bw-guest-account .bw-button-register:hover{
  transform:translateY(-2px);
  box-shadow:inset 0 1px rgba(255,255,255,.23),0 0 25px rgba(18,217,251,.45)!important;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-card-note{
  margin:14px 0 8px!important;
  color:#b5cddd!important;
  font-size:11.5px!important;line-height:1.52!important;
  text-align:center;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-login-mentor-link{
  display:flex;align-items:center;justify-content:center;
  min-height:42px;
  gap:8px;
  margin:0!important;
  padding:13px 0 0;
  color:#53e8ff!important;
  font-size:12.5px!important;
  font-weight:790!important;
  text-decoration:none!important;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-login-mentor-link svg{width:18px;height:18px;color:#37dff4!important}
body.bw-v16.bw-view-member .bw-guest-account .bw-guest-return{margin:23px 0 0;color:#a9c8dc!important;font-size:12px}
body.bw-v16.bw-view-member .bw-guest-account .bw-login-panel :is(a,button,input):focus-visible{outline:2px solid #ffe4a1!important;outline-offset:3px}
@media(max-width:600px){
 body.bw-v16.bw-view-member .bw-guest-account{padding:100px 14px calc(100px + env(safe-area-inset-bottom));min-height:calc(100svh - 130px)}
 body.bw-v16.bw-view-member .bw-guest-account .bw-login-panel{border-radius:23px;padding:44px 22px 23px!important}
 body.bw-v16.bw-view-member .bw-guest-account .bw-login-panel::before{inset:7px;border-radius:18px}
 body.bw-v16.bw-view-member .bw-guest-account .bw-login-panel::after{top:7px;left:7px;right:7px}
 body.bw-v16.bw-view-member .bw-guest-account .bw-icon-tile{width:78px!important;height:78px!important;padding:17px;margin:-92px auto 30px!important}
 body.bw-v16.bw-view-member .bw-guest-account .bw-icon-tile svg{width:39px!important;height:39px!important}
 body.bw-v16.bw-view-member .bw-guest-account .bw-eyebrow{font-size:10px!important}
 body.bw-v16.bw-view-member .bw-guest-account #bw-login-title{font-size:clamp(26px,6.65vw,33px)!important}
 body.bw-v16.bw-view-member .bw-guest-account .bw-login-panel>p:not(.bw-notice):not(.bw-card-note){margin-bottom:19px!important}
 body.bw-v16.bw-view-member .bw-guest-account .bw-login-form{gap:14px}
 body.bw-v16.bw-view-member .bw-guest-account .bw-login-form input:is([type=text],[type=password]){height:51px!important;min-height:51px!important}
 body.bw-v16.bw-view-member .bw-guest-account .bw-login-form > .bw-button-gold{min-height:52px}
 body.bw-v16.bw-view-member .bw-guest-account .bw-button-register{min-height:52px}
}
@media(max-width:375px){
 body.bw-v16.bw-view-member .bw-guest-account{padding-inline:10px}
 body.bw-v16.bw-view-member .bw-guest-account .bw-login-panel{padding:42px 16px 22px!important}
 body.bw-v16.bw-view-member .bw-guest-account .bw-icon-tile{width:72px!important;height:72px!important;margin:-85px auto 28px!important}
 body.bw-v16.bw-view-member .bw-guest-account .bw-icon-tile svg{width:36px!important;height:36px!important}
 body.bw-v16.bw-view-member .bw-guest-account #bw-login-title{font-size:clamp(24px,7vw,27px)!important}
 body.bw-v16.bw-view-member .bw-guest-account .bw-card-note{font-size:11px!important}
 body.bw-v16.bw-view-member .bw-guest-account .bw-login-options{gap:8px}
}
@media(prefers-reduced-motion:no-preference){
 body.bw-v16.bw-view-member .bw-guest-account:not(.bw-login-has-gsap) .bw-login-panel{animation:bw-login-v216-enter .64s cubic-bezier(.16,.77,.24,1) both}
 body.bw-v16.bw-view-member .bw-guest-account:not(.bw-login-has-gsap) .bw-icon-tile{animation:bw-login-v216-aura 5.2s ease-in-out infinite}
}
@keyframes bw-login-v216-enter{from{opacity:.72;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes bw-login-v216-aura{
  0%,100%{filter:brightness(1);box-shadow:0 0 0 8px #06253f,0 0 0 11px rgba(39,212,249,.73),0 0 0 13px rgba(239,191,107,.32),0 0 25px 14px rgba(5,205,251,.26)}
  50%{filter:brightness(1.045);box-shadow:0 0 0 8px #06253f,0 0 0 11px rgba(245,202,125,.86),0 0 0 13px rgba(39,212,249,.35),0 0 27px 15px rgba(5,205,251,.33)}
}
@media(prefers-reduced-motion:reduce){
 body.bw-v16.bw-view-member .bw-guest-account *,body.bw-v16.bw-view-member .bw-guest-account::before{animation:none!important;transition:none!important;transform:none!important;scroll-behavior:auto!important}
}
