/* WA Rotator Pro v4, fully scoped so site themes are minimally affected. */
.war-widget, .war-widget *, .war-shortcode-btn, .war-shortcode-btn * { box-sizing:border-box; }
.war-wa-icon { display:block; width:27px; height:27px; flex:none; }
.war-widget { --war-accent:#25d366; position:fixed; bottom:var(--war-bottom,24px); z-index:2147480000; display:flex; flex-direction:column; gap:11px; align-items:flex-end; width:max-content; max-width:min(90vw,360px); font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; font-size:14px; line-height:1.4; }
.war-widget--right { right:24px; }
.war-widget--left { left:24px; align-items:flex-start; }
.war-widget__link { display:flex!important; gap:12px; align-items:center; justify-content:center; text-decoration:none!important; cursor:pointer; border:0; box-sizing:border-box; transition:transform .18s ease, box-shadow .18s ease; }
.war-widget__link:hover, .war-widget__link:focus-visible { transform:translateY(-3px); }
.war-widget__link:focus-visible, .war-shortcode-btn:focus-visible { outline:3px solid #e9a841; outline-offset:4px; }
.war-widget__icon { display:flex; align-items:center; justify-content:center; flex:none; }
.war-widget__copy { display:flex; flex-direction:column; align-items:flex-start; line-height:1.22; }
.war-widget__copy small { font-size:11px; opacity:.83; color:inherit; line-height:1.2; letter-spacing:.01em; }
.war-widget__copy strong { font-size:14px; font-weight:750; color:inherit; line-height:1.35; }
.war-hook { position:relative; max-width:285px; background:#fff; border:1px solid #e4e9ea; color:#1d2c30; box-shadow:0 12px 42px rgba(14,36,35,.15); border-radius:16px 16px 4px 16px; padding:13px 35px 13px 15px; animation:war-fade-in .26s ease both; }
.war-widget--left .war-hook { border-radius:16px 16px 16px 4px; }
.war-hook a { color:#1d2c30!important; font-size:13px!important; font-weight:600!important; line-height:1.5!important; text-decoration:none!important; overflow-wrap:anywhere; }
.war-hook a:hover { color:#148b50!important; }
.war-hook__close { border:0!important; background:transparent!important; position:absolute!important; right:6px!important; top:4px!important; box-shadow:none!important; padding:2px 6px!important; font-weight:400!important; font-size:21px!important; line-height:1.2!important; color:#6f7882!important; cursor:pointer!important; }
.war-hook[hidden] { display:none!important; }
.war-is-loading { opacity:.68!important; pointer-events:none!important; }
@keyframes war-fade-in { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

/* 1 - Classic Pill */
.war-widget--pill .war-widget__link { color:#fff!important; background:var(--war-accent); border:2px solid rgba(255,255,255,.8); box-shadow:0 9px 28px rgba(15,115,67,.25); border-radius:999px; padding:10px 19px 10px 10px; }
.war-widget--pill .war-widget__icon { width:46px; height:46px; border-radius:50%; color:#fff; background:rgba(255,255,255,.18); }

/* 2 - Minimal Bubble */
.war-widget--bubble .war-widget__link { width:64px; height:64px; color:#fff!important; border-radius:50%; background:var(--war-accent); box-shadow:0 8px 32px rgba(14,149,79,.35); }
.war-widget--bubble .war-widget__icon { width:56px; height:56px; border-radius:50%; border:2px solid rgba(255,255,255,.35); }
.war-widget--bubble .war-wa-icon { width:32px; height:32px; }
.war-widget--bubble .war-widget__copy { display:none; }

/* 3 - Contact Card */
.war-widget--card .war-widget__link { min-width:245px; padding:14px 20px 14px 14px; border-radius:16px; color:#243831!important; background:#fff; border:1px solid #dcebe1; box-shadow:0 16px 46px rgba(21,45,35,.20); }
.war-widget--card .war-widget__icon { width:49px; height:49px; color:#fff; background:var(--war-accent); border-radius:14px; }
.war-widget--card .war-widget__copy small { color:#4a7961; }

/* 4 - Elegant Outline */
.war-widget--outline .war-widget__link { color:#145b3b!important; background:#fff; border:2px solid var(--war-accent); border-radius:12px; padding:12px 18px; box-shadow:0 8px 26px rgba(17,30,26,.11); }
.war-widget--outline .war-widget__icon { color:var(--war-accent); }
.war-widget--outline .war-widget__copy small { color:#587769; }

/* 5 - Premium Gradient */
.war-widget--gradient .war-widget__link { color:#fff!important; background:linear-gradient(125deg,#152e37,#144a4a 65%,#116e49); border:1px solid rgba(84,246,166,.4); border-radius:18px; padding:12px 19px 12px 12px; box-shadow:0 14px 35px rgba(1,22,27,.35); }
.war-widget--gradient .war-widget__icon { background:var(--war-accent); color:#fff; width:48px; height:48px; border-radius:14px; }
.war-widget--gradient .war-widget__copy small { color:#bafbd5; }

/* Shortcode is always visible in content regardless of the floating theme selection. */
.war-shortcode-btn { display:inline-flex!important; align-items:center; justify-content:center; gap:10px; padding:12px 18px; background:var(--war-accent,#25d366); color:#fff!important; border-radius:9px; font:700 14px/1.4 system-ui,sans-serif; text-decoration:none!important; box-shadow:0 5px 14px rgba(7,92,45,.2); transition:filter .2s ease, transform .2s ease; }
.war-shortcode-btn:hover { filter:brightness(.94); transform:translateY(-1px); color:#fff!important; }
.war-shortcode-btn .war-wa-icon { width:23px; height:23px; }

@media(max-width:767px) {
  .war-widget { bottom:var(--war-mobile-bottom,18px); }
  .war-widget--right { right:16px; }
  .war-widget--left { left:16px; }
  .war-widget__copy strong { font-size:13px; }
  .war-hook { max-width:230px; }
  .war-widget--card .war-widget__link { min-width:214px; }
  .war-widget--bubble .war-widget__link { width:60px; height:60px; }
  .war-widget--desktop { display:none!important; }
}
@media(min-width:768px) { .war-widget--mobile { display:none!important; } }
@media(prefers-reduced-motion:reduce) { .war-widget *, .war-shortcode-btn { animation:none!important; transition:none!important; } }
