/* Lock the auth page to no-scroll fullscreen */
.rigr-auth-page body{
  margin:0 !important;
  font-family: 'Manrope', sans-serif;
  background:#fff;
  color:#111;
  overflow:hidden !important;
}

.rigr-auth-page{
  height:100%;
}

.rigr-auth-page body{
  height:100%;
}

/* Hide common theme header/footer that may cause scroll */
.rigr-auth-page header,
.rigr-auth-page footer,
.rigr-auth-page #masthead,
.rigr-auth-page #colophon{
  display:none !important;
}

/* Fullscreen centering */
.rigr-auth-wrap{
  position:fixed;
  inset:0;
  height:100dvh;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.rigr-auth-card{
  width:min(90vw, 420px);
  text-align:center;
}

/* Title */
.rigr-title{
  margin:0 0 22px;
  font-size:18px;
  letter-spacing:.18em;
  font-weight:700;
}

/* Notices (hidden by default unless error/ok) */
.rigr-notice{
  margin:0 0 14px;
  font-size:13px;
}
.rigr-notice--error{ color:#b42318; }
.rigr-notice--ok{ color:#067647; }

/* WP login form reset */
#rigr-loginform{
  margin:0;
}

#rigr-loginform p{
  margin:0;
}

/* Hide labels (we want clean placeholder look) */
#rigr-loginform label{
  position:absolute;
  left:-9999px;
}

/* Row containers */
#rigr-loginform .login-username,
#rigr-loginform .login-password{
  position:relative;
  margin:16px 0;
}

/* Underline inputs + icons spacing */
#rigr-loginform input[type="text"],
#rigr-loginform input[type="password"]{
  width:100%;
  box-sizing:border-box;
  border:none;
  border-bottom:1px solid #cfcfcf;
  border-radius:0;
  padding:12px 12px 12px 34px;
  font-size:14px;
  outline:none;
  background:transparent;
  color:#111;
}

#rigr-loginform input[type="text"]:focus,
#rigr-loginform input[type="password"]:focus{
  border-bottom-color:#111;
}

/* Icons via mask SVG */
#rigr-loginform .login-username::before,
#rigr-loginform .login-password::before{
  content:"";
  position:absolute;
  left:6px;
  top:50%;
  width:16px;
  height:16px;
  transform:translateY(-50%);
  background:#111;
  opacity:.65;
  -webkit-mask-repeat:no-repeat;
  -webkit-mask-position:center;
  -webkit-mask-size:contain;
  mask-repeat:no-repeat;
  mask-position:center;
  mask-size:contain;
}

/* user icon */
#rigr-loginform .login-username::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a5 5 0 1 0-5-5a5 5 0 0 0 5 5Zm0 2c-4.42 0-8 2.24-8 5v1h16v-1c0-2.76-3.58-5-8-5Z'/%3E%3C/svg%3E");
          mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a5 5 0 1 0-5-5a5 5 0 0 0 5 5Zm0 2c-4.42 0-8 2.24-8 5v1h16v-1c0-2.76-3.58-5-8-5Z'/%3E%3C/svg%3E");
}

/* lock icon */
#rigr-loginform .login-password::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M17 9h-1V7a4 4 0 0 0-8 0v2H7a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2Zm-7-2a2 2 0 0 1 4 0v2h-4Z'/%3E%3C/svg%3E");
          mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M17 9h-1V7a4 4 0 0 0-8 0v2H7a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2Zm-7-2a2 2 0 0 1 4 0v2h-4Z'/%3E%3C/svg%3E");
}

/* Submit button */
#rigr-loginform .login-submit{
  margin-top:26px;
}

#rigr-loginform input[type="submit"]{
  width:160px;
  height:44px;
  border:none;
  background:#111;
  color:#fff;
  font-size:13px;
  letter-spacing:.1em;
  cursor:pointer;
}

#rigr-loginform input[type="submit"]:hover{
  opacity:.92;
}

/* Register line */
.rigr-register{
  margin-top:18px;
  font-size:13px;
  color:#111;
}

.rigr-register a{
  color:#6d28d9; /* purple-ish like reference */
  text-decoration:none;
  font-weight:600;
  margin-left:6px;
}

.rigr-register a:hover{
  text-decoration:underline;
}

/* Hide page title on auth page */
.rigr-auth-page .entry-title,
.rigr-auth-page .page-title,
.rigr-auth-page h1:first-of-type:not(.rigr-title){
  display:none !important;
}

.rigr-logo-text{
  font-size:28px;
  font-weight:800;
  letter-spacing:.35em;
  margin-bottom:26px;
}

