.qr-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.65);
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
}

.qr-popup-content {
  background: #ffffff;
  padding: 25px;
  border-radius: 18px;
  width: 350px;
  text-align: center;
  position: relative;
  box-shadow: 0px 12px 40px rgba(0,0,0,0.3);
  animation: popup-zoom 0.25s ease;
}

.qr-close {
  position: absolute;
  top: 8px;
  right: 14px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #444;
}

.popup-header-logo {
  width: 110px;
  margin-bottom: 10px;
}

.phone-container {
  position: relative;
  width: 240px;
  margin: 0 auto;
}

.phone-frame {
  width: 100%;
  z-index: 2;
  position: relative;
}

.qr-inside-screen {
  position: absolute;
  top: 35%;                /* adjust this */
  left: 50%;
  transform: translateX(-50%);
  width: 100px;            /* adjust width */
  height: 110px;
  z-index: 3;
}


.crop-bg {
  position: absolute;
  width: 180px;
  height: 180px;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.15;
  z-index: 1;
}

.popup-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

@keyframes popup-zoom {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
