.eiwb-overlay{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.62);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:999999;
  padding:20px;
}
.eiwb-overlay.open{display:flex}
.eiwb-modal{
  position:relative;
  width:min(520px, 92vw);
  background:#ffffff;
  border-radius:24px;
  padding:30px 28px;
  box-shadow:0 30px 80px rgba(0,0,0,.28);
  text-align:center;
  border:1px solid #e5e7eb;
}
.eiwb-badge{
  display:inline-block;
  background:#ecfdf5;
  color:#047857;
  border-radius:999px;
  padding:8px 14px;
  font-size:13px;
  font-weight:700;
  margin-bottom:14px;
}
.eiwb-modal h2{
  margin:0 0 12px;
  font-size:30px;
  line-height:1.2;
  color:#111827;
}
.eiwb-modal p{
  margin:0 0 22px;
  font-size:19px;
  line-height:1.5;
  color:#374151;
}
.eiwb-button{
  display:inline-block;
  background:#16a34a;
  color:#fff !important;
  text-decoration:none;
  padding:14px 22px;
  border-radius:14px;
  font-size:18px;
  font-weight:700;
  box-shadow:0 10px 24px rgba(22,163,74,.25);
}
.eiwb-button:hover{filter:brightness(.96)}
.eiwb-close{
  position:absolute;
  right:12px;
  top:10px;
  width:38px;
  height:38px;
  border:none;
  background:transparent;
  font-size:28px;
  cursor:pointer;
  color:#6b7280;
}
@media (max-width: 768px){
  .eiwb-modal{padding:24px 20px}
  .eiwb-modal h2{font-size:25px}
  .eiwb-modal p{font-size:17px}
  .eiwb-button{width:100%}
}

/* =========================================================
   Studio Saúde Odonto Suite PRO 1.0.2
   Identidade visual unificada: azul médio/claro + branco
   Aplicado a CRM, Analytics, Chatbot, Bridge e Exit Banner
   ========================================================= */
:root{
  --sso-blue-dark:#0b3a70;
  --sso-blue:#1677c8;
  --sso-blue-mid:#2398e8;
  --sso-blue-light:#eaf7ff;
  --sso-blue-soft:#f6fbff;
  --sso-white:#ffffff;
  --sso-text:#0f2742;
  --sso-muted:#5e7188;
  --sso-border:#d8ecff;
  --sso-shadow:0 18px 44px rgba(22,119,200,.12);
  --sso-gradient:linear-gradient(135deg,#1677c8 0%,#2398e8 56%,#72caff 100%);
  --sso-gradient-soft:linear-gradient(180deg,#ffffff 0%,#f0f9ff 100%);
}
body.wp-admin[class*="studio"],
body.wp-admin[class*="imob"],
body.wp-admin.toplevel_page_studio-saude-odonto-analytics,
body.wp-admin.toplevel_page_icrm-dashboard,
body.wp-admin.toplevel_page_eiwb-banner{
  background:linear-gradient(180deg,#eaf7ff 0%,#f6fbff 38%,#ffffff 100%) fixed!important;
}
.jta-hero,.icrm-topbar,.sso-admin-hero,.sip-admin-hero,.wrap > h1:first-child{
  background:var(--sso-gradient)!important;
  border:1px solid rgba(255,255,255,.45)!important;
  color:#fff!important;
  box-shadow:0 22px 54px rgba(22,119,200,.22)!important;
}
.jta-hero h1,.icrm-topbar h1,.sso-admin-hero h1,.sip-admin-hero h1,.wrap > h1:first-child{color:#fff!important;}
.icrm-topbar:before,.wrap > h1:first-child:before{
  background:rgba(255,255,255,.22)!important;
  color:#ffffff!important;
  border:1px solid rgba(255,255,255,.42)!important;
  box-shadow:0 12px 28px rgba(11,58,112,.15)!important;
}
.wrap > h1:first-child:after,.icrm-current-panel{
  color:#eaf7ff!important;
}
.jta-stat-card,.jta-panel,.jta-table-card,.icrm-card,.icrm-panel,.icrm-form,.icrm-wrap .postbox,.dashboard-card,.stat-card,.card,.eiwb-modal,.sso-card,.sip-card{
  background:var(--sso-gradient-soft)!important;
  border:1px solid var(--sso-border)!important;
  border-radius:24px!important;
  box-shadow:var(--sso-shadow)!important;
}
.jta-filter-pill.is-active,.jta-filter-pill:hover,.button-primary,.wrap .button-primary,.wrap input.button-primary,.wrap button.button-primary,.wrap .page-title-action,
.eiwb-button,.ciaiv619-send,.ciaiv619-option,.ciaiv619-toggle,.icrm-badge,.jta-badge,.badge{
  background:var(--sso-gradient)!important;
  border-color:#1677c8!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  text-shadow:none!important;
  box-shadow:0 12px 28px rgba(22,119,200,.20)!important;
}
.wrap .button:not(.button-primary),.jta-filter-pill{
  background:#fff!important;
  border-color:var(--sso-border)!important;
  color:var(--sso-blue-dark)!important;
  box-shadow:0 8px 20px rgba(22,119,200,.06)!important;
}
.wrap h2,.wrap h3,.jta-panel-head h2,.jta-table-head h3,.icrm-card h2,.icrm-card h3,.icrm-card.stat strong,
.jta-stat-card strong,.eiwb-modal h2,.ciaiv619-title{
  color:var(--sso-text)!important;
}
.wrap p,.jta-panel-head p,.icrm-card.stat span,.eiwb-modal p,.ciaiv619-subtitle{color:var(--sso-muted)!important;}
.wrap input[type=text],.wrap input[type=url],.wrap input[type=number],.wrap input[type=email],.wrap input[type=password],.wrap select,.wrap textarea,
.icrm-form input[type=text],.icrm-form input[type=number],.icrm-form input[type=datetime-local],.icrm-form input[type=email],.icrm-form select,.icrm-form textarea{
  background:#ffffff!important;
  border:1px solid var(--sso-border)!important;
  border-radius:14px!important;
  box-shadow:none!important;
}
.wrap input:focus,.wrap select:focus,.wrap textarea:focus{
  border-color:#2398e8!important;
  box-shadow:0 0 0 3px rgba(35,152,232,.16)!important;
  outline:none!important;
}
.wrap table.widefat thead th,.wrap .wp-list-table thead th,.wrap table thead th,.jta-table th,.icrm-wrap table thead th{
  background:linear-gradient(135deg,#1677c8,#2398e8)!important;
  color:#ffffff!important;
  border-bottom:0!important;
}
.wrap a,.jta-table a{color:#1677c8!important;}
.wrap a:hover,.jta-table a:hover{color:#0b3a70!important;}
.jta-trend-bar,.jta-hour-bar-fill,.jta-dot-visits,.jta-dot-period-visits{
  background:linear-gradient(180deg,#72caff,#1677c8)!important;
}
.jta-hour-visits-line{stroke:#1677c8!important;}
.jta-hour-clicks-line{stroke:#2398e8!important;}
.jta-dot-clicks,.jta-dot-period-clicks{background:#2398e8!important;}
.icrm-column[data-stage]{
  background:linear-gradient(180deg,#ffffff 0%,#eef9ff 100%)!important;
  border-color:var(--sso-border)!important;
}
.icrm-column h3 span{background:#d8ecff!important;color:#0b3a70!important;}
.icrm-lead-card{border-color:var(--sso-border)!important;box-shadow:0 8px 22px rgba(22,119,200,.08)!important;}
.ciaiv619-widget,.ciaiv619-window,.ciaiv619-card,.ciaiv619-box{
  border-color:var(--sso-border)!important;
  box-shadow:0 22px 54px rgba(22,119,200,.18)!important;
}
.ciaiv619-header,.ciaiv619-top,.ciaiv619-toggle{
  background:var(--sso-gradient)!important;
  color:#fff!important;
}
.ciaiv619-messages{background:#f0f9ff!important;}
.ciaiv619-msg.bot .ciaiv619-bubble,.ciaiv619-bot,.ciaiv619-bubble-bot{background:#ffffff!important;border:1px solid var(--sso-border)!important;color:var(--sso-text)!important;}
.ciaiv619-msg.user .ciaiv619-bubble,.ciaiv619-user,.ciaiv619-bubble-user{background:linear-gradient(135deg,#1677c8,#2398e8)!important;color:#fff!important;}
.eiwb-badge{background:#eaf7ff!important;color:#0b3a70!important;border:1px solid var(--sso-border)!important;}


/* Studio Saúde Odonto Suite PRO 1.0.8 - padronização visual final azul médio/claro + branco */
:root{--sso-blue-dark:#0b3a70!important;--sso-blue:#1677c8!important;--sso-blue-mid:#2398e8!important;--sso-blue-light:#72caff!important;--sso-bg:#eef9ff!important;--sso-white:#ffffff!important;--sso-text:#0f2742!important;--sso-muted:#5e7188!important;--sso-border:#d8ecff!important;--sso-gradient:linear-gradient(135deg,#1677c8 0%,#2398e8 58%,#72caff 100%)!important;--sso-gradient-soft:linear-gradient(180deg,#ffffff 0%,#f0f9ff 100%)!important;}
body.wp-admin.toplevel_page_studio-saude-odonto-suite-pro-installer,body.wp-admin.toplevel_page_studio-saude-odonto-suite-pro,body.wp-admin.toplevel_page_studio-saude-odonto-analytics,body.wp-admin.toplevel_page_ciaicrm619,body.wp-admin.toplevel_page_iccb-bridge,body.wp-admin.toplevel_page_icrm-dashboard,body.wp-admin.crm-saude-odonto_page_icrm-leads,body.wp-admin.crm-saude-odonto_page_icrm-pipeline,body.wp-admin.crm-saude-odonto_page_icrm-properties,body.wp-admin.crm-saude-odonto_page_icrm-tasks,body.wp-admin.crm-saude-odonto_page_icrm-reports,body.wp-admin.crm-saude-odonto_page_icrm-settings,body.wp-admin.toplevel_page_eiwb-banner{background:linear-gradient(180deg,#eaf7ff 0%,#f6fbff 38%,#ffffff 100%) fixed!important;}
.sip-hero,.sip-admin-hero,.jta-hero,.jta-header,.jta-topbar,.icrm-topbar,.icb-hero,.eiwb-hero,.ciaiv619-admin-hero,.wrap > h1:first-child{background:var(--sso-gradient)!important;color:#ffffff!important;border:1px solid rgba(255,255,255,.55)!important;box-shadow:0 22px 54px rgba(22,119,200,.22)!important;text-shadow:none!important;}
.sip-hero *,.sip-admin-hero *,.jta-hero *,.jta-header *,.jta-topbar *,.icrm-topbar *,.icb-hero *,.eiwb-hero *,.ciaiv619-admin-hero *,.wrap > h1:first-child{color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;}
.sip-admin-hero:before,.wrap > h1:first-child:before,.icrm-logo,.sip-logo,.jta-logo,.icb-logo{background:rgba(255,255,255,.20)!important;border:1px solid rgba(255,255,255,.55)!important;color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;box-shadow:0 12px 28px rgba(11,58,112,.18)!important;}
.sip-card,.jta-card,.jta-panel,.jta-table-card,.jta-stat-card,.icrm-card,.icrm-panel,.icrm-form,.icrm-wrap .postbox,.card,.postbox,.dashboard-card,.stat-card,.eiwb-card,.icb-card{background:var(--sso-gradient-soft)!important;border:1px solid var(--sso-border)!important;border-radius:24px!important;box-shadow:0 18px 44px rgba(22,119,200,.12)!important;}
.button-primary,.wrap .button-primary,.wrap input.button-primary,.wrap button.button-primary,.wrap .page-title-action,.icrm-badge,.jta-badge,.badge{background:var(--sso-gradient)!important;border-color:#1677c8!important;color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;text-shadow:none!important;box-shadow:0 12px 28px rgba(22,119,200,.20)!important;}
.wrap table.widefat thead th,.wrap .wp-list-table thead th,.wrap table thead th,.jta-table th,.icrm-wrap table thead th{background:linear-gradient(135deg,#1677c8,#2398e8)!important;color:#ffffff!important;border-bottom:0!important;}
.wrap a{color:#1677c8!important}.wrap a:hover{color:#0b3a70!important}

/* SSO 1.0.8 final button contrast */
.wrap .button:disabled,.wrap .button.disabled,.wrap .button[disabled],.wrap .button-primary:disabled,.wrap .button-primary.disabled{background:#e7f3ff!important;border-color:#9cd6ff!important;color:#0b3a70!important;-webkit-text-fill-color:#0b3a70!important;opacity:1!important;text-shadow:none!important;}
.wrap .button:not(.button-primary){background:#fff!important;color:#0b3a70!important;-webkit-text-fill-color:#0b3a70!important;border-color:#1677c8!important;}
.wrap .button-primary{background:linear-gradient(135deg,#1677c8,#2398e8)!important;border-color:#1677c8!important;color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:none!important;}
