
/* KADOSH WQA – Partilha WEB (escopo wqa-share) */
.wqa-share-trigger{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid rgba(246,196,69,.55);background:rgba(246,196,69,.12);color:#f6c445;border-radius:10px;cursor:pointer;font-weight:700;font-family:inherit;min-height:34px;padding:7px 10px;white-space:nowrap}
.wqa-share-trigger:hover,.wqa-share-trigger:focus-visible{background:rgba(246,196,69,.22);outline:2px solid transparent}
.wqa-share-login-entry{display:flex;justify-content:center;margin-top:11px}
.wqa-share-name-row{display:flex;align-items:center;gap:7px;min-width:0}
.wqa-share-name-row #userName{flex:1;min-width:0}
.wqa-share-user-icon{flex:0 0 42px;width:42px;height:42px;min-height:42px;padding:0;border-radius:11px;font-size:22px;line-height:1;color:#fff !important;background:rgba(255,255,255,.12) !important;border:1.5px solid rgba(255,255,255,.65) !important;box-shadow:0 0 0 1px rgba(255,255,255,.04);align-self:center;justify-self:center;transition:background .15s,border-color .15s,transform .15s}
.wqa-share-user-icon:hover,.wqa-share-user-icon:focus-visible{color:#fff !important;background:rgba(255,255,255,.23) !important;border-color:#fff !important;outline:2px solid rgba(246,196,69,.7);outline-offset:2px;transform:translateY(-1px)}
.wqa-share-user-icon .fa-qrcode{color:#fff !important;font-size:22px !important}
@media(max-width:600px){.wqa-share-user-icon{flex-basis:40px;width:40px;height:40px;min-height:40px}}
.wqa-share-overlay{position:fixed;inset:0;z-index:12000;background:rgba(3,5,17,.86);display:none;align-items:center;justify-content:center;padding:14px}
.wqa-share-overlay.wqa-share-show{display:flex}
.wqa-share-dialog{width:min(430px,100%);max-height:94dvh;overflow:auto;background:linear-gradient(145deg,#1c2137,#2b2146);border:1px solid rgba(246,196,69,.35);border-radius:20px;padding:22px;color:#fff;box-shadow:0 25px 70px rgba(0,0,0,.6);font-family:Inter,Arial,sans-serif}
.wqa-share-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:13px}
.wqa-share-top h2{font-size:1.23rem;color:#f6c445;margin:0}
.wqa-share-close{color:white;background:none;border:0;cursor:pointer;font-size:26px;padding:1px 9px}
.wqa-share-tabs{display:flex;gap:7px;margin-bottom:14px}
.wqa-share-tabs button{flex:1;border:1px solid rgba(255,255,255,.18);border-radius:9px;padding:10px 7px;background:rgba(255,255,255,.07);color:#fff;font:inherit;cursor:pointer}
.wqa-share-tabs button.wqa-share-active{background:#f6c445;color:#151728;font-weight:700}
.wqa-share-panel{display:none;text-align:center}
.wqa-share-panel.wqa-share-active{display:block}
.wqa-share-qr-img{display:block;width:220px;height:220px;max-width:100%;margin:8px auto;background:#fff;border:8px solid white;border-radius:11px;object-fit:contain}
.wqa-share-desc{color:#c4c5d1;font-size:13px;line-height:1.55;margin:11px 0}
.wqa-share-links{display:grid;gap:9px;margin-top:13px}
.wqa-share-links button,.wqa-share-links a{display:flex;justify-content:center;align-items:center;gap:9px;width:100%;padding:12px;border-radius:10px;border:1px solid rgba(246,196,69,.35);background:rgba(246,196,69,.1);color:white;text-decoration:none;font:inherit;font-size:14px;cursor:pointer}
.wqa-share-links button:hover,.wqa-share-links a:hover{background:rgba(246,196,69,.22)}
.wqa-share-feedback{min-height:19px;font-size:12px;color:#f6c445;margin-top:10px}
.wqa-share-small{color:#b6b2c7;font-size:11px;line-height:1.4;margin-top:9px}
@media(max-width:520px){.wqa-share-dialog{padding:16px}.wqa-share-qr-img{width:200px;height:200px}}

/* V3 - identidade visual consistente: QR branco no login e botão legível no cabeçalho. */
.wqa-share-login-entry .wqa-share-trigger .fa-qrcode { color:#fff !important; }
.header .user-info .wqa-share-user-icon {
    display:inline-flex !important; align-items:center; justify-content:center;
    gap:7px; width:auto !important; min-width:99px; height:40px; min-height:40px;
    padding:0 12px !important; flex:0 0 auto; white-space:nowrap;
    background:rgba(246,196,69,.12) !important;
    border:1px solid rgba(246,196,69,.65) !important;
    color:#f6c445 !important; border-radius:10px; font-size:13px !important;
    font-weight:700; box-shadow:none; transform:none;
}
.header .user-info .wqa-share-user-icon .fa-qrcode { color:#fff !important; font-size:17px !important; }
.header .user-info .wqa-share-user-icon .wqa-share-header-label { color:#f6c445; font-size:12px; line-height:1; }
.header .user-info .wqa-share-user-icon:hover,
.header .user-info .wqa-share-user-icon:focus-visible {
    background:rgba(246,196,69,.24) !important;
    border-color:#f6c445 !important; transform:none;
}
/* Evita que o texto do botão seja truncado por estilos do cabeçalho compacto. */
.header .user-info .wqa-share-user-icon .wqa-share-header-label { display:inline !important; }
@media(max-width:600px) {
    .header .user-info .wqa-share-user-icon { min-width:93px; height:38px; min-height:38px; padding:0 9px !important; }
}
