:root{
  --rw-blue:#0059d6;
  --rw-blue-dark:#071a44;
  --rw-blue-soft:#eaf3ff;
  --rw-text:#1c2b4f;
  --rw-muted:#67738c;
  --rw-border:#dbe4f0;
  --rw-white:#fff;
  --rw-shadow:0 18px 50px rgba(22,52,91,.10);
  --rw-radius:22px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--rw-text);background:#fff;font-size:16px}
a{color:inherit;text-decoration:none}
.rw-page{position:relative;min-height:100vh;overflow:hidden;background:radial-gradient(circle at 8% 34%,rgba(0,89,214,.07),transparent 25%),radial-gradient(circle at 92% 36%,rgba(0,89,214,.07),transparent 25%),linear-gradient(180deg,#fff 0%,#fbfdff 100%)}
.rw-page:before,.rw-page:after{content:"";position:absolute;width:82px;height:128px;background-image:radial-gradient(rgba(0,89,214,.18) 2px,transparent 2px);background-size:15px 15px;opacity:.35;pointer-events:none}
.rw-page:before{left:28px;top:245px}.rw-page:after{right:48px;bottom:88px}
.rw-shell{width:min(1280px,calc(100% - 56px));margin:0 auto;position:relative;z-index:2}

/* Header - aligned with the left access card */
.rw-header.rw-shell{
  height:96px;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:30px!important;
  padding:0!important;
  text-align:left!important;
}
.rw-brand{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex:0 1 500px!important;
  min-width:0!important;
  width:auto!important;
  max-width:500px!important;
  margin:0 auto 0 0!important;
  text-align:left!important;
}
.rw-logo{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  min-width:0!important;
  width:auto!important;
  max-width:100%!important;
  margin:0!important;
  text-align:left!important;
  overflow:visible!important;
}
.rw-logo .custom-logo-link{display:flex!important;align-items:center!important;justify-content:flex-start!important;margin:0!important;text-align:left!important;width:auto!important;max-width:100%!important}
.rw-logo img,.custom-logo{
  max-width:320px!important;
  max-height:58px!important;
  width:auto!important;
  height:auto!important;
  display:block!important;
  object-fit:contain!important;
  object-position:left center!important;
  margin:0!important;
}
.rw-fallback-brand{display:flex;align-items:center;justify-content:flex-start;gap:12px;color:var(--rw-blue);font-weight:800;font-size:18px;letter-spacing:.1px;line-height:1.15;text-align:left}
.rw-fallback-mark{width:72px;height:48px;border:3px solid var(--rw-blue);border-radius:14px 14px 6px 6px;position:relative;flex:0 0 auto}.rw-fallback-mark:after{content:"";position:absolute;right:10px;bottom:7px;width:24px;height:13px;border-radius:999px;background:#f6c84b}
.rw-top-btn{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:11px;border:2px solid var(--rw-blue);color:var(--rw-blue);font-size:16px;font-weight:700;border-radius:999px;padding:13px 24px;background:rgba(255,255,255,.82);box-shadow:0 8px 26px rgba(0,89,214,.07);transition:.2s ease;white-space:nowrap;margin-left:auto!important}
.rw-top-btn:hover{background:var(--rw-blue);color:#fff;transform:translateY(-1px)}.rw-top-btn svg{width:21px;height:21px;flex:0 0 auto}

/* Main layout */
.rw-main{display:grid;grid-template-columns:minmax(380px,500px) minmax(0,1fr);align-items:center;gap:30px;padding:28px 0 44px;min-height:calc(100vh - 160px)}
.rw-card{background:rgba(255,255,255,.94);backdrop-filter:blur(8px);border:1px solid rgba(219,228,240,.72);border-radius:var(--rw-radius);box-shadow:var(--rw-shadow);padding:46px 42px 34px;max-width:500px;width:100%}
.rw-title{margin:0 0 18px;color:var(--rw-blue-dark);font-size:clamp(38px,3.2vw,52px);line-height:1.12;letter-spacing:.02em;font-weight:800}
.rw-subtitle{margin:0 0 30px;color:#283a62;font-size:17px;line-height:1.6;max-width:390px}
.rw-shortcode-wrap{width:100%;margin:0 0 24px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;position:relative!important}
.rw-shortcode-empty{border:1px dashed #cfd9e8;border-radius:14px;padding:18px 20px;margin:0 0 24px;color:var(--rw-muted);font-size:14px;line-height:1.5;background:#fbfdff}
.rw-support{display:flex;align-items:center;gap:12px;color:#283a62;font-size:15px;margin:10px 0 24px}.rw-support-icon,.rw-note-icon{display:inline-flex;align-items:center;justify-content:center;width:29px;height:29px;border:2px solid var(--rw-blue);border-radius:999px;color:var(--rw-blue);font-weight:700;flex:0 0 auto}.rw-support a{color:var(--rw-blue);font-weight:700}
.rw-note{border-top:1px solid var(--rw-border);display:flex;align-items:center;gap:15px;padding-top:22px;color:#2c3c61;font-size:15px;line-height:1.5}.rw-note-icon{width:40px;height:40px;border:0;background:var(--rw-blue-soft)}.rw-note-icon svg{width:22px;height:22px;color:var(--rw-blue)}

/* Images */
.rw-collage{display:grid;grid-template-columns:1.32fr .92fr;gap:16px;align-items:stretch;min-width:0}.rw-photo{border-radius:20px;overflow:hidden;background:#edf3fb;box-shadow:0 14px 40px rgba(33,54,86,.09);margin:0}.rw-photo img{display:block;width:100%;height:100%;object-fit:cover}.rw-photo-main{height:560px}.rw-side-photos{display:grid;grid-template-rows:1fr 1fr;gap:16px}.rw-side-photos .rw-photo{height:272px}.rw-footer{text-align:center;color:#51617f;font-size:14px;padding:0 0 22px;position:relative;z-index:2}

/* Subtle image motion */
@keyframes rwFloatSoft{
  0%,100%{transform:translate3d(0,0,0) scale(1)}
  50%{transform:translate3d(0,-8px,0) scale(1.012)}
}
@keyframes rwKenBurnsSoft{
  0%,100%{transform:scale(1.02)}
  50%{transform:scale(1.055) translate3d(-4px,-3px,0)}
}
.rw-photo{animation:rwFloatSoft 7.5s ease-in-out infinite;will-change:transform}
.rw-photo-main{animation-duration:8.5s}
.rw-side-photos .rw-photo:first-child{animation-delay:.9s;animation-duration:7.2s}
.rw-side-photos .rw-photo:last-child{animation-delay:1.8s;animation-duration:7.8s}
.rw-photo img{transform:scale(1.02);animation:rwKenBurnsSoft 12s ease-in-out infinite;will-change:transform}
.rw-photo:hover{animation-play-state:paused;transform:translateY(-4px)}
.rw-photo:hover img{animation-play-state:paused}
@media (prefers-reduced-motion:reduce){.rw-photo,.rw-photo img{animation:none!important;transform:none!important}}

/* Shortcode form cleanup: remove plugin outer boxes and match portal design */
.rw-shortcode-wrap,.rw-shortcode-wrap *{box-sizing:border-box}
.rw-shortcode-wrap form,
.rw-shortcode-wrap > div,
.rw-shortcode-wrap > section,
.rw-shortcode-wrap .form,
.rw-shortcode-wrap .form-wrapper,
.rw-shortcode-wrap .access-code-form,
.rw-shortcode-wrap .invitation-code-form,
.rw-shortcode-wrap [class*="form"],
.rw-shortcode-wrap [class*="wrapper"],
.rw-shortcode-wrap [class*="container"]{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}
.rw-shortcode-wrap p{margin:0 0 16px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.rw-shortcode-wrap input[type="text"],
.rw-shortcode-wrap input[type="password"],
.rw-shortcode-wrap input[type="email"],
.rw-shortcode-wrap input:not([type]){display:block!important;width:100%!important;max-width:100%!important;height:54px!important;min-height:54px!important;margin:0 0 18px!important;padding:0 52px 0 46px!important;border:1px solid #cfd9e8!important;border-radius:12px!important;background:#fff!important;color:var(--rw-text)!important;font-size:16px!important;line-height:54px!important;outline:0!important;box-shadow:none!important}
.rw-shortcode-wrap input[type="text"]:focus,
.rw-shortcode-wrap input[type="password"]:focus,
.rw-shortcode-wrap input[type="email"]:focus,
.rw-shortcode-wrap input:not([type]):focus{border-color:var(--rw-blue)!important;box-shadow:0 0 0 4px rgba(0,89,214,.08)!important}
.rw-shortcode-wrap button:not([type="button"]):not(.show-password-input):not(.toggle-password):not(.password-toggle),
.rw-shortcode-wrap button[type="submit"],
.rw-shortcode-wrap input[type="submit"],
.rw-shortcode-wrap .button:not(.show-password-input):not(.toggle-password):not(.password-toggle),
.rw-shortcode-wrap .btn:not(.show-password-input):not(.toggle-password):not(.password-toggle){display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;max-width:100%!important;height:58px!important;min-height:58px!important;margin:0!important;border:0!important;border-radius:12px!important;background:var(--rw-blue-dark)!important;color:#fff!important;font-size:18px!important;font-weight:800!important;letter-spacing:.01em!important;box-shadow:0 12px 26px rgba(7,26,68,.18)!important;cursor:pointer!important}
.rw-shortcode-wrap button:not([type="button"]):hover,.rw-shortcode-wrap input[type="submit"]:hover,.rw-shortcode-wrap .button:hover,.rw-shortcode-wrap .btn:hover{filter:brightness(.96)!important;transform:translateY(-1px)}

/* Password/eye icon exact placement */
.rw-shortcode-wrap .password-input,
.rw-shortcode-wrap .wp-pwd,
.rw-shortcode-wrap .input-wrapper,
.rw-shortcode-wrap .input-group,
.rw-shortcode-wrap .form-field,
.rw-shortcode-wrap .field,
.rw-shortcode-wrap p:has(input),
.rw-shortcode-wrap div:has(> input),
.rw-shortcode-wrap label:has(input){position:relative!important}
.rw-shortcode-wrap .show-password-input,
.rw-shortcode-wrap .toggle-password,
.rw-shortcode-wrap .password-toggle,
.rw-shortcode-wrap .eye-icon,
.rw-shortcode-wrap [class*="eye"],
.rw-shortcode-wrap [aria-label*="password"],
.rw-shortcode-wrap button[type="button"],
.rw-shortcode-wrap input + svg,
.rw-shortcode-wrap input ~ svg,
.rw-shortcode-wrap input + i,
.rw-shortcode-wrap input ~ i,
.rw-shortcode-wrap input + .dashicons,
.rw-shortcode-wrap input ~ .dashicons{
  position:absolute!important;
  right:18px!important;
  top:27px!important;
  left:auto!important;
  bottom:auto!important;
  transform:translateY(-50%)!important;
  width:20px!important;
  height:20px!important;
  min-width:20px!important;
  min-height:20px!important;
  max-width:20px!important;
  max-height:20px!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  color:var(--rw-blue-dark)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
  z-index:20!important;
  font-size:18px!important;
  border-radius:0!important;
  cursor:pointer!important;
}
.rw-shortcode-wrap button[type="button"] svg,
.rw-shortcode-wrap .show-password-input svg,
.rw-shortcode-wrap .toggle-password svg,
.rw-shortcode-wrap .password-toggle svg{width:20px!important;height:20px!important;display:block!important;margin:0!important}
.rw-shortcode-wrap .show-password-input:before,
.rw-shortcode-wrap .toggle-password:before,
.rw-shortcode-wrap .password-toggle:before{margin:0!important;line-height:1!important}

@media (max-width:1200px){
  .rw-shell{width:min(1120px,calc(100% - 48px))}
  .rw-header.rw-shell{gap:24px!important}
  .rw-logo img,.custom-logo{max-width:300px!important;max-height:54px!important}
  .rw-main{grid-template-columns:minmax(360px,470px) 1fr;gap:24px}
  .rw-card{padding:40px 36px 30px}.rw-title{font-size:clamp(34px,3.6vw,46px)}.rw-photo-main{height:500px}.rw-side-photos .rw-photo{height:242px}
}
@media (max-width:1024px){
  .rw-header.rw-shell{height:auto;padding:20px 0 10px!important}.rw-brand{max-width:100%;flex:1 1 auto!important}.rw-top-btn{flex:0 0 auto}.rw-main{grid-template-columns:1fr;gap:28px;padding:22px 0 36px;min-height:auto}.rw-card{max-width:620px;margin:0 auto}.rw-collage{max-width:760px;margin:0 auto}.rw-photo-main{height:400px}.rw-side-photos .rw-photo{height:192px}
}
@media (max-width:760px){
  .rw-shell{width:min(100% - 28px,680px)}.rw-header.rw-shell{padding:18px 0 6px;align-items:flex-start}.rw-logo img,.custom-logo{max-width:230px!important;max-height:52px!important}.rw-fallback-brand{font-size:16px}.rw-fallback-mark{width:62px;height:42px}.rw-top-btn{padding:10px 15px;font-size:14px;gap:8px}.rw-top-btn svg{width:18px;height:18px}.rw-card{padding:30px 22px 24px;border-radius:19px}.rw-title{font-size:31px;line-height:1.12;letter-spacing:.01em}.rw-subtitle{font-size:15px;margin-bottom:24px}.rw-support{font-size:14px}.rw-note{font-size:14px}.rw-shortcode-wrap input[type="text"],.rw-shortcode-wrap input[type="password"],.rw-shortcode-wrap input[type="email"],.rw-shortcode-wrap input:not([type]){height:50px!important;min-height:50px!important;font-size:15px!important;line-height:50px!important;padding-left:42px!important}.rw-shortcode-wrap button:not([type="button"]):not(.show-password-input):not(.toggle-password):not(.password-toggle),.rw-shortcode-wrap button[type="submit"],.rw-shortcode-wrap input[type="submit"],.rw-shortcode-wrap .button:not(.show-password-input):not(.toggle-password):not(.password-toggle),.rw-shortcode-wrap .btn:not(.show-password-input):not(.toggle-password):not(.password-toggle){height:52px!important;min-height:52px!important;font-size:16px!important}.rw-shortcode-wrap .show-password-input,.rw-shortcode-wrap .toggle-password,.rw-shortcode-wrap .password-toggle,.rw-shortcode-wrap .eye-icon,.rw-shortcode-wrap button[type="button"],.rw-shortcode-wrap input + svg,.rw-shortcode-wrap input ~ svg,.rw-shortcode-wrap input + i,.rw-shortcode-wrap input ~ i,.rw-shortcode-wrap input + .dashicons,.rw-shortcode-wrap input ~ .dashicons{top:25px!important}.rw-collage{grid-template-columns:1fr}.rw-photo-main{height:280px}.rw-side-photos{grid-template-columns:1fr 1fr;grid-template-rows:auto}.rw-side-photos .rw-photo{height:170px}.rw-footer{font-size:12px;padding-bottom:16px}
}
@media (max-width:480px){
  .rw-header.rw-shell{gap:12px}.rw-top-btn span{display:none}.rw-top-btn{border-radius:50%;width:44px;height:44px;padding:0;justify-content:center}.rw-title{font-size:28px}.rw-card{padding:26px 18px 22px}.rw-side-photos{grid-template-columns:1fr}.rw-side-photos .rw-photo{height:190px}
}

/* ===== v1.0.7 HARD FIXES ===== */
/* Force header/logo to the left side of the page, independent from older cached layout rules */
body.rw-body .rw-page > .rw-header.rw-shell{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:26px clamp(24px,7.8vw,160px) 0 clamp(24px,7.8vw,160px) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  text-align:left !important;
  left:auto !important;
  right:auto !important;
  transform:none !important;
}
body.rw-body .rw-header .rw-brand,
body.rw-body .rw-header .rw-logo,
body.rw-body .rw-header .custom-logo-link{
  margin:0 !important;
  padding:0 !important;
  text-align:left !important;
  justify-content:flex-start !important;
  align-items:center !important;
  display:flex !important;
  width:auto !important;
  max-width:420px !important;
  flex:0 0 auto !important;
  position:relative !important;
  left:0 !important;
  right:auto !important;
  transform:none !important;
}
body.rw-body .rw-header .rw-logo img,
body.rw-body .rw-header .custom-logo{
  display:block !important;
  width:auto !important;
  max-width:360px !important;
  max-height:70px !important;
  height:auto !important;
  margin:0 !important;
  object-fit:contain !important;
  object-position:left center !important;
  transform:none !important;
}
body.rw-body .rw-header .rw-top-btn{
  margin-left:auto !important;
  margin-right:0 !important;
}

/* Hide the shortcode password eye/toggle: activation code field should stay clean */
body.rw-body .rw-shortcode-wrap .show-password-input,
body.rw-body .rw-shortcode-wrap .toggle-password,
body.rw-body .rw-shortcode-wrap .password-toggle,
body.rw-body .rw-shortcode-wrap .eye-icon,
body.rw-body .rw-shortcode-wrap [class*="eye"],
body.rw-body .rw-shortcode-wrap [aria-label*="password"],
body.rw-body .rw-shortcode-wrap [aria-label*="Password"],
body.rw-body .rw-shortcode-wrap button[type="button"],
body.rw-body .rw-shortcode-wrap input + svg,
body.rw-body .rw-shortcode-wrap input ~ svg,
body.rw-body .rw-shortcode-wrap input + i,
body.rw-body .rw-shortcode-wrap input ~ i,
body.rw-body .rw-shortcode-wrap input + .dashicons,
body.rw-body .rw-shortcode-wrap input ~ .dashicons{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  width:0 !important;
  height:0 !important;
  min-width:0 !important;
  min-height:0 !important;
  pointer-events:none !important;
}
body.rw-body .rw-shortcode-wrap input[type="text"],
body.rw-body .rw-shortcode-wrap input[type="password"],
body.rw-body .rw-shortcode-wrap input[type="email"],
body.rw-body .rw-shortcode-wrap input:not([type]){
  padding-left:46px !important;
  padding-right:22px !important;
}

@media (max-width:760px){
  body.rw-body .rw-page > .rw-header.rw-shell{
    padding:18px 18px 8px 18px !important;
  }
  body.rw-body .rw-header .rw-logo img,
  body.rw-body .rw-header .custom-logo{
    max-width:230px !important;
    max-height:56px !important;
  }
}


/* ===== v1.0.8 activation-code eye removal ===== */
body.rw-body .rw-shortcode-wrap input[type="password"]::-ms-reveal,
body.rw-body .rw-shortcode-wrap input[type="password"]::-ms-clear,
body.rw-body .rw-shortcode-wrap input::-webkit-credentials-auto-fill-button,
body.rw-body .rw-shortcode-wrap input::-webkit-caps-lock-indicator,
body.rw-body .rw-shortcode-wrap input::-webkit-contacts-auto-fill-button{display:none!important;visibility:hidden!important;pointer-events:none!important;opacity:0!important}
body.rw-body .rw-shortcode-wrap .dashicons-visibility,
body.rw-body .rw-shortcode-wrap .dashicons-hidden,
body.rw-body .rw-shortcode-wrap [class*="visibility"],
body.rw-body .rw-shortcode-wrap [class*="hidden"],
body.rw-body .rw-shortcode-wrap [class*="password"] button,
body.rw-body .rw-shortcode-wrap [class*="toggle"]{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
body.rw-body .rw-shortcode-wrap input[type="text"],
body.rw-body .rw-shortcode-wrap input[type="password"]{padding-right:22px!important}

/* ===== v1.0.9 Submit loading state + small performance refinements ===== */
.rw-shortcode-wrap button.rw-is-loading,
.rw-shortcode-wrap input.rw-is-loading,
.rw-shortcode-wrap .button.rw-is-loading,
.rw-shortcode-wrap .btn.rw-is-loading{
  cursor:wait!important;
  opacity:.92!important;
  pointer-events:none!important;
}
.rw-loading-spinner{
  width:18px;
  height:18px;
  border:2px solid rgba(255,255,255,.45);
  border-top-color:#fff;
  border-radius:50%;
  display:inline-block;
  margin-right:10px;
  vertical-align:-3px;
  animation:rwSpin .75s linear infinite;
}
@keyframes rwSpin{to{transform:rotate(360deg)}}
.rw-submit-overlay{
  position:fixed;
  inset:0;
  z-index:999999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(247,251,255,.72);
  backdrop-filter:blur(6px);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .22s ease, visibility .22s ease;
}
.rw-submit-overlay.is-visible{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.rw-submit-overlay-card{
  width:min(420px,100%);
  background:#fff;
  border:1px solid rgba(0,91,234,.14);
  border-radius:24px;
  box-shadow:0 28px 80px rgba(7,24,61,.14);
  padding:30px 28px;
  text-align:center;
  color:#07183d;
}
.rw-submit-overlay-spinner{
  width:42px;
  height:42px;
  display:block;
  margin:0 auto 16px;
  border-radius:50%;
  border:4px solid #e6eefb;
  border-top-color:#005bea;
  animation:rwSpin .8s linear infinite;
}
.rw-submit-overlay-card strong{
  display:block;
  font-size:20px;
  line-height:1.3;
  font-weight:900;
  margin-bottom:8px;
}
.rw-submit-overlay-card p{
  margin:0;
  color:#4c5c78;
  font-size:15px;
  line-height:1.6;
}
.rw-photo img{
  content-visibility:auto;
}
.rw-card,
.rw-collage{
  contain:layout paint;
}
@media (prefers-reduced-motion: reduce){
  .rw-loading-spinner,
  .rw-submit-overlay-spinner,
  .rw-photo{
    animation:none!important;
  }
  .rw-submit-overlay{
    transition:none!important;
  }
}
@media (max-width:760px){
  .rw-submit-overlay-card{padding:24px 20px;border-radius:20px}
  .rw-submit-overlay-card strong{font-size:18px}
}


/* v1.0.11 performance helpers */
.rw-photo img{aspect-ratio:attr(width) / attr(height)}
.rw-collage,.rw-card{content-visibility:auto;contain-intrinsic-size:620px 520px}
.rw-footer{content-visibility:auto;contain-intrinsic-size:40px}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
