/* VOTACIÓN TRANSPARENTE · PWA SIMÓN BOLÍVAR · versión 1.2.0
   Ajustes: icono dorado correcto + tarjeta de instalación móvil alineada. */
#pwa-install-root{width:100%;}
.vs-pwa-card[hidden],.vs-pwa-overlay[hidden]{display:none!important;}

.vs-pwa-card{
  position:relative;
  display:grid;
  grid-template-columns:48px minmax(0,1fr) auto;
  grid-template-areas:"icon copy action";
  align-items:center;
  column-gap:11px;
  row-gap:10px;
  width:100%;
  margin:14px 0 0;
  padding:11px 38px 11px 11px;
  border:1px solid rgba(15,118,110,.22);
  border-radius:14px;
  background:#fff;
  box-shadow:0 10px 28px rgba(7,59,56,.10);
  overflow:hidden;
}

.vs-pwa-icon-wrap{
  grid-area:icon;
  width:48px;
  height:48px;
  border-radius:10px;
  overflow:hidden;
  background:#0b3f3b;
  box-shadow:0 4px 14px rgba(7,59,56,.18);
}
.vs-pwa-icon{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.vs-pwa-copy{
  grid-area:copy;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:2px;
  text-align:left;
}
.vs-pwa-copy strong{color:#172033;font-size:12.5px;line-height:1.25;}
.vs-pwa-copy span{color:#697975;font-size:10.5px;line-height:1.35;}

.vs-pwa-install{
  grid-area:action;
  min-width:92px;
  border:0;
  border-radius:8px;
  padding:9px 14px;
  background:linear-gradient(135deg,#0f766e,#084f4a);
  color:#fff;
  font-size:10.5px;
  font-weight:800;
  line-height:1.2;
  cursor:pointer;
  box-shadow:0 5px 14px rgba(15,118,110,.20);
  transition:transform .18s ease,filter .18s ease;
}
.vs-pwa-install:hover{transform:translateY(-1px);filter:brightness(1.05);}
.vs-pwa-install:focus{outline:2px solid rgba(15,118,110,.25);outline-offset:2px;}

.vs-pwa-close{
  position:absolute;
  right:8px;
  top:6px;
  width:24px;
  height:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  border:0;
  border-radius:7px;
  background:transparent;
  color:#72807c;
  font-size:20px;
  line-height:1;
  cursor:pointer;
}
.vs-pwa-close:hover{background:#f2f6f5;}

.vs-pwa-overlay{
  position:fixed;
  inset:0;
  z-index:99999;
  display:grid;
  place-items:center;
  padding:20px;
  background:rgba(4,42,39,.76);
  backdrop-filter:blur(5px);
}
.vs-pwa-guide{
  position:relative;
  width:min(430px,100%);
  padding:27px 24px 22px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:20px;
  background:#fff;
  box-shadow:0 26px 70px rgba(7,59,56,.28);
  text-align:center;
}
.vs-pwa-guide::before{
  content:"";
  position:absolute;
  left:0;right:0;top:0;
  height:5px;
  border-radius:20px 20px 0 0;
  background:linear-gradient(90deg,#0f766e,#14b8a6,#f59e0b);
}
.vs-pwa-guide-close{
  position:absolute;
  right:12px;
  top:9px;
  border:0;
  background:transparent;
  color:#72807c;
  font-size:27px;
  cursor:pointer;
}
.vs-pwa-guide-icon{
  width:78px;
  height:78px;
  border-radius:16px;
  object-fit:cover;
  background:#0b3f3b;
}
.vs-pwa-guide h3{margin:13px 0 14px;color:#172033;font-size:19px;}
.vs-pwa-guide ol{margin:0;padding-left:23px;text-align:left;color:#40534f;font-size:13px;line-height:1.7;}
.vs-pwa-guide p{margin:14px 0 0;color:#697975;font-size:11.5px;line-height:1.55;}
.vs-pwa-guide-ok{
  width:100%;
  margin-top:18px;
  border:0;
  border-radius:8px;
  padding:11px 14px;
  background:linear-gradient(135deg,#0f766e,#084f4a);
  color:#fff;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}

@media(max-width:560px){
  .vs-pwa-card{
    grid-template-columns:48px minmax(0,1fr);
    grid-template-areas:
      "icon copy"
      "action action";
    align-items:center;
    padding:11px 34px 11px 11px;
  }
  .vs-pwa-install{
    width:100%;
    min-width:0;
    margin:0;
    border-radius:7px;
    padding:10px 12px;
  }
  .vs-pwa-guide{padding:25px 20px 20px;}
}

@media(display-mode:standalone){#pwa-install-root{display:none!important;}}
