.vvsa[hidden] { display: none; }
.vvsa { margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid #e5eaf0; text-align: center; }
.vvsa .vvsa__title { margin: 0 0 16px; color: #56657a; font-size: 15px; font-weight: 500; line-height: 1.5; letter-spacing: 0; }
.vvsa__form, .login .vvsa__form { margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.vvsa__icons { display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 14px; }
.vvsa__button { box-sizing: border-box; appearance: none; display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; min-width: 54px; padding: 12px; border: 1px solid #dce3ec; border-radius: 15px; background: #fff; box-shadow: 0 2px 5px rgb(36 52 75 / 4%); cursor: pointer; transition: background-color .15s, border-color .15s, box-shadow .15s; }
/* Scope the compact social controls above the theme's full-width blue buttons. */
#login .vvsa__button { flex: 0 0 54px; width: 54px; min-width: 54px; padding: 0; border: 1px solid #dce3ec; background: #fff; box-shadow: 0 2px 5px rgb(36 52 75 / 4%); }
#login .vvsa__button:hover, #login .vvsa__button:focus { background: #f7faff; border-color: #a9bfdc; box-shadow: 0 3px 8px rgb(36 52 75 / 9%); }
.vvsa--intro { margin: 0 0 24px; padding: 0; border: 0; }
.vvsa--intro .vvsa__title { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* Approved email alternative: plain prominent text, without separator lines. */
.vvsa__email-divider { display: block; margin: 0 0 16px; color: var(--vocavera-auth-heading, #10172f); font-size: 18px; font-weight: 700; line-height: 1.4; text-align: center; }
/* WordPress clips the theme button shadow with .login form { overflow: hidden }. */
#login.vvsa-login-layout #loginform { overflow: visible; }
.vvsa__button img { display: block; width: 28px; height: 28px; max-width: none; }
.vvsa__button:hover { background: #f7faff; border-color: #a9bfdc; box-shadow: 0 3px 8px rgb(36 52 75 / 9%); }
.vvsa__button:focus-visible, .vvsa-primary:focus-visible, .vvsa-secondary:focus-visible { outline: 3px solid #356ee3; outline-offset: 3px; }
.vvsa-page { margin: 0; padding: 56px 20px; box-sizing: border-box; min-height: 100vh; background: #f5f8fc; color: #24344b; font: 16px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.vvsa-card { box-sizing: border-box; width: min(100%,560px); margin: 0 auto; padding: 32px; background: #fff; border: 1px solid #e3eaf4; border-radius: 22px; box-shadow: 0 16px 45px rgb(38 65 102 / 7%); overflow-wrap: anywhere; }
.vvsa-card h1 { margin: 20px 0 16px; font-size: 25px; line-height: 1.25; }
.vvsa-card h2 { font-size: 19px; margin: 24px 0 16px; }
.vvsa-card a { color: #2563c8; }
.vvsa-card .vvsa-brand { font-size: 24px; font-weight: 750; text-decoration: none; }
.vvsa-primary, .vvsa-secondary { display: inline-block; box-sizing: border-box; max-width: 100%; padding: 12px 18px; border: 1px solid #cdd7e5; border-radius: 12px; background: #fff; color: #24344b; cursor: pointer; font: inherit; line-height: 1.4; text-align: center; text-decoration: none; }
.vvsa-card .vvsa-primary { background: #3579df; border-color: #3579df; color: #fff; }
.vvsa-secondary { margin-top: 10px; }
.vvsa-consents { text-align: left; margin: 16px 0 24px; }
.vvsa-consents label { display: flex; align-items: flex-start; gap: 9px; margin: 14px 0; font-size: 14px; }
.vvsa-consents input { flex-shrink: 0; width: 18px; height: 18px; margin: 3px 0 0; accent-color: #3579df; }
.vvsa-back { color: #62748a; font-size: 14px; }
.vvsa-back { margin-top: 28px; }
.vvsa-noscript { text-align: center; font: 14px/1.5 sans-serif; }
@media (max-width: 420px) { .vvsa-page { padding: 24px 12px; } .vvsa-card { padding: 24px 20px; } }
@media (prefers-reduced-motion: reduce) { .vvsa__button { transition: none; } }


/* Approved consent dialog; login-only pages do not render it. */
html.vvsa-consent-open { overflow: hidden; }
#vvsa-consent-dialog {
  box-sizing: border-box; width: 440px; max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px); margin: auto; padding: 28px;
  border: 1px solid rgba(11,16,32,.06); border-radius: 24px;
  background: #fff; color: var(--vocavera-auth-text, #0b1020);
  box-shadow: 0 24px 80px rgba(11,16,32,.18);
  font-family: var(--vocavera-auth-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif); overflow: auto;
}
#vvsa-consent-dialog::backdrop { background: rgba(16,23,47,.38); backdrop-filter: blur(3px); }
#vvsa-consent-dialog *, #vvsa-consent-dialog *::before, #vvsa-consent-dialog *::after { box-sizing: border-box; }
#vvsa-consent-dialog .vvsa-modal__close {
  position: absolute; top: 12px; right: 12px; display: grid; place-items: center;
  width: 40px; height: 40px; margin: 0; padding: 0; border: 0; border-radius: 12px;
  background: transparent; color: #66738b; cursor: pointer;
}
#vvsa-consent-dialog .vvsa-modal__close:hover { background: #f1f5fb; color: #10172f; }
#vvsa-consent-dialog .vvsa-modal__mark {
  display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 18px;
  border: 1px solid #e5eaf2; border-radius: 16px; background: #f8faff;
}
#vvsa-consent-dialog .vvsa-modal__mark img { display: block; width: 30px; height: 30px; }
#vvsa-consent-dialog h2 { margin: 0 0 8px; color: #10172f; font-size: 24px; line-height: 1.25; font-weight: 700; letter-spacing: -.5px; text-align: center; }
#vvsa-consent-dialog .vvsa-modal__intro { margin: 0 0 22px; color: #4d5a74; font-size: 14px; line-height: 1.55; }
#vvsa-consent-dialog form { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; overflow: visible; }
#vvsa-consent-dialog .vvsa-consents { display: grid; gap: 16px; margin: 0; text-align: left; }
#vvsa-consent-dialog .vvsa-consents label { display: flex; align-items: flex-start; gap: 12px; margin: 0; color: #354158; font-size: 14px; font-weight: 400; line-height: 1.55; cursor: pointer; }
#vvsa-consent-dialog .vvsa-consents label input {
  flex: 0 0 20px; width: 20px; height: 20px; min-width: 20px;
  margin: 2px 0 0; cursor: pointer; accent-color: #467fea;
}
#vvsa-consent-dialog .vvsa-consents label a { color: #3169c5; text-decoration: underline; text-decoration-color: #b0c7eb; text-underline-offset: 3px; }
#vvsa-consent-dialog .vvsa-consents label a:hover { text-decoration-color: currentColor; }
#vvsa-consent-dialog .vvsa-modal__continue {
  display: block; width: 100%; min-height: 52px; margin: 24px 0 0; padding: 13px 12px;
  border: 0; border-radius: 14px; background: var(--vocavera-auth-button-background, linear-gradient(135deg,#4678f2,#45bed5));
  color: #fff; font: 600 15px/1.45 var(--vocavera-auth-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif); text-align: center;
  box-shadow: 0 8px 18px rgba(77,140,239,.2); cursor: pointer;
}
#vvsa-consent-dialog .vvsa-modal__continue:hover:not(:disabled) { background: var(--vocavera-auth-button-background-hover, linear-gradient(135deg,#3c6ee8,#3bb4cc)); }
#vvsa-consent-dialog .vvsa-modal__continue:disabled { background: #e9eef6; color: #68778d; box-shadow: none; cursor: not-allowed; }
#vvsa-consent-dialog .vvsa-modal__hint { min-height: 20px; margin: 12px 0 0; color: #68778d; font-size: 12px; line-height: 1.6; text-align: center; }
#vvsa-consent-dialog :is(button,input,a):focus-visible { outline: 3px solid #356ee3 !important; outline-offset: 3px !important; }
@media(max-width: 420px) {
  #vvsa-consent-dialog { padding: 24px 20px; border-radius: 20px; }
  #vvsa-consent-dialog h2 { font-size: 22px; }
}

#vvsa-consent-dialog:not([open]) { display: none; }
#login.vvsa-login-layout .vocavera-login-intro > h2 { text-align: center; }
