/* ================================
   VDAPP INSTALL MODAL LAYOUT FIX
   ================================ */

#vdapp-install-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vdapp-modal__scrim {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(3px);
}

.vdapp-modal__card {
  position: relative;
  z-index: 1;
  background: #fff;
  color: #000;
  border-radius: 16px;
  max-width: 340px;
  width: 90%;
  padding: 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.vdapp-modal__close {
  position: absolute;
  top: 10px; right: 10px;
  border: none;
  background: none;
  font-size: 22px;
  color: #333;
  cursor: pointer;
}

.vdapp-modal__steps,
.vdapp-steps {
  list-style: decimal;
  margin: 16px 0;
  padding-left: 20px;
  line-height: 1.4;
}

.vdapp-note {
  font-size: 13px;
  opacity: 0.6;
  text-align: center;
  margin-top: 12px;
}

/* Lock body scroll while modal open */
body.vdapp-modal-open { overflow: hidden; }

/* Make sure [hidden] always hides the modal */
#vdapp-install-modal[hidden] { display: none !important; }

/* Keep the card on top of scrim, and scrim clickable to close */
#vdapp-install-modal { position: fixed; top:0; left:0; width:100%; height:100%; z-index: 99999; display: flex; align-items: center; justify-content: center; }
.vdapp-modal__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(3px); }
.vdapp-modal__card  { position: relative; z-index: 1; }