/* Rulezz Social Auth v1.0.3 — own source stylesheet (no dependency on icon fonts). */
/* Wider pages: override the old !important 500px cap in site-shell.css only for auth pages. */
body.rz-public.rz-auth-page.rz-register-page > main.authShell,
body.rz-public.rz-auth-page.rz-login-page > main.authShell {
  width: min(50vw, 920px) !important;
  max-width: 920px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}
body.rz-public.rz-auth-page.rz-register-page > main.authShell > section.authCard,
body.rz-public.rz-auth-page.rz-login-page > main.authShell > section.authCard {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  box-sizing: border-box;
}

.rz-oauth-panel {
  box-sizing: border-box;
  min-width: 0;
  margin: 24px 0 0;
  padding: 22px;
  border: 1px solid #e3e0f3;
  border-radius: 22px;
  background: linear-gradient(145deg,#f6f4ff 0%,#fff 66%,#faf8ff 100%);
  box-shadow: 0 10px 28px rgba(28,23,85,.045);
}
.rz-oauth-head {margin-bottom: 17px; min-width: 0;}
.rz-oauth-panel .rz-oauth-title {
  margin: 0 0 5px !important;
  color: #23213d !important;
  font-size: clamp(17px,2vw,20px) !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
  letter-spacing: -.02em;
}
.rz-oauth-panel .rz-oauth-intro {
  margin: 0 !important;
  color: #656982 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}
.rz-oauth-list {display: grid !important; grid-template-columns: minmax(0,1fr) !important; gap: 10px !important; min-width: 0;}
.rz-oauth-list .rz-oauth-provider {
  box-sizing: border-box;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 15px !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 66px;
  margin: 0 !important;
  padding: 11px 15px !important;
  border: 1px solid #e2e2ed !important;
  border-radius: 15px !important;
  background: #fff !important;
  color: #24243f !important;
  font-family: inherit;
  font-size: 14px !important;
  font-weight: 650 !important;
  line-height: 1.4 !important;
  text-align: left !important;
  text-decoration: none !important;
  box-shadow: 0 3px 10px rgba(31,27,70,.035);
  cursor: pointer;
  transition: transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
.rz-oauth-list a.rz-oauth-provider:hover {transform: translateY(-1px);border-color: #9286ed !important;box-shadow: 0 7px 22px rgba(52,38,147,.11);}
.rz-oauth-list a.rz-oauth-provider:focus-visible {outline: 3px solid #6d5aeb;outline-offset: 3px;}
.rz-oauth-logo {
  display: grid !important; place-items: center !important;
  flex: 0 0 43px;
  width: 43px !important; height: 43px !important;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid #e9e9f1;
  background: #fff;
}
.rz-oauth-logo svg {display: block; width: 25px !important; height: 25px !important; max-width: none !important;}
.rz-oauth-namewrap {display: flex !important;flex: 1 1 auto;flex-direction: column !important;align-items: flex-start !important;min-width: 0;}
.rz-oauth-list .rz-oauth-name {
  display: block !important;
  color: #252541 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}
.rz-oauth-arrow {flex: 0 0 auto;margin-left: auto;color: #6b58d8;font-size: 20px;font-weight: 700;line-height: 1;}
.rz-oauth-list .rz-oauth-inactive {
  cursor: default;
  background: #fcfcfe !important;
  border: 1px solid #e4e5ee !important;
  box-shadow: none !important;
  transform: none !important;
}
.rz-oauth-list .rz-oauth-inactive .rz-oauth-name {color: #5b6073 !important;}
.rz-oauth-list .rz-oauth-inactive .rz-oauth-logo {opacity: .9;}
.rz-oauth-list .rz-oauth-status {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 6px 9px;
  border: 1px solid #e6e6ef;
  border-radius: 999px;
  background: #f3f3f8;
  color: #656b80 !important;
  white-space: nowrap;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}
.rz-oauth-divider {
  display: flex !important; align-items: center !important; justify-content: center !important;
  gap: 14px;
  margin: 24px 0 20px;
  color: #676c80;
  text-align: center;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}
.rz-oauth-divider::before,.rz-oauth-divider::after {content:"";height: 1px;background: #dddfeb;flex: 1 1 auto;min-width: 10px;}
.rz-oauth-divider span {flex: 0 1 auto;min-width: 0;white-space: normal;}

/* OAuth completion and account-linking pages retain their existing styles. */
.rz-social-page .authCard{max-width:580px}
.rz-social-page .rz-social-consent{display:grid;gap:15px;margin-top:18px}
.rz-social-page .rz-social-consent label{display:flex;align-items:flex-start;gap:10px;line-height:1.5;font-size:14px}
.rz-social-page .rz-social-consent input[type="checkbox"]{flex:none;width:18px;height:18px;margin-top:3px}
.rz-social-page .rz-social-success{color:#1b6532;font-weight:700}
.rz-social-page .rz-social-foot{margin-top:20px}
.rz-social-page .rz-social-linked{display:flex;align-items:center;justify-content:center;min-height:48px;border:1px solid #b7d7be;border-radius:12px;background:#effaf2;color:#1b6532;font-weight:600}
.rz-social-page .rz-social-actions a{display:inline-block;padding:11px 16px;border-radius:11px;background:#5948d3;color:#fff;text-decoration:none}

@media(max-width:1000px){
  body.rz-public.rz-auth-page.rz-register-page > main.authShell,
  body.rz-public.rz-auth-page.rz-login-page > main.authShell {
    width: min(700px,calc(100% - 32px)) !important;
    max-width: 700px !important;
  }
}
@media(max-width:540px){
  body.rz-public.rz-auth-page.rz-register-page > main.authShell,
  body.rz-public.rz-auth-page.rz-login-page > main.authShell {
    width: calc(100% - 20px) !important;
    max-width: 100% !important;
  }
  .rz-oauth-panel{padding:14px;border-radius:18px;margin-top:19px;}
  .rz-oauth-head {margin-bottom: 14px;}
  .rz-oauth-list .rz-oauth-provider{display:grid !important;grid-template-columns: 39px minmax(0,1fr) !important;column-gap:11px !important;row-gap:3px !important;padding:11px 12px !important;min-height:64px;}
  .rz-oauth-logo {grid-column:1;grid-row:1 / span 2;flex-basis:39px;width:39px !important;height:39px !important;border-radius:10px;}
  .rz-oauth-logo svg{width:23px !important;height:23px !important;}
  .rz-oauth-namewrap{grid-column:2;grid-row:1;}
  .rz-oauth-list .rz-oauth-name{font-size:13px !important;}
  .rz-oauth-arrow,.rz-oauth-list .rz-oauth-status{grid-column:2;grid-row:2;margin-left:0;justify-self:start;}
  .rz-oauth-list .rz-oauth-status{padding:4px 7px;font-size:10px !important;}
  .rz-oauth-arrow{font-size:16px;}
  .rz-oauth-divider{gap:8px;margin:19px 0 17px;font-size:11px;}
  .rz-social-page .rz-social-consent label{font-size:13px}
}
@media(prefers-reduced-motion:reduce){.rz-oauth-list .rz-oauth-provider{transition:none}}
