.qrmodal .content {
  padding: 20px;
  text-align: center;
}

.qroverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 9999;
}

.qrmodal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 530px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  overflow: hidden;
  display: none;
  z-index: 99999;
}

.qrmodal .modal-header {
  background-color: #fff;
  color: #000;
  padding: 30px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  justify-content: center;
}

.qrmodal .modal-header h1 {
  font-size: 22px;
  margin: 0;
  font-weight: 700;
}

.qrmodal .close-btn {
  font-size: 24px;
  cursor: pointer;
  position: absolute;
  right: 16px;
  top: 22px;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: #f0f0f0;
  color: #101820;
  border: 1px solid #ccc;
  position: absolute;
  transition: all 0.3s ease;
}

.qrmodal .close-btn:hover {
  background-color: #d00000;
  color: white;
}


.qrmodal .red-banner {
  background-color: #d00000;
  color: white;
  font-weight: bold;
  font-size: 16px;
  overflow: hidden;
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
}

.qrmodal .marquee {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-text 10s linear infinite;
  font-size: 18px;
}

@keyframes scroll-text {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

.qrmodal .content {
  padding: 20px;
}

.qrmodal .content h2 {
  margin: 10px 0;
  font-size: 18px;
  color: #101820;
  font-weight: 600;
  line-height: 22px;
}

.qrmodal .content p {
  margin: 5px 0;
  margin-bottom: 20px;
  color: #555;
}

.qrmodal .qr-code {
  width: 150px;
  height: 150px;
  margin: 10px 0;
}

.qrmodal .instructions {
  font-weight: bold;
  font-size: 17px;
}

.qrmodal .features {
  margin-top: 15px;
  display: flex;
  justify-content: space-around;
  font-size: 14.5px;
  color: #555;
}

@media (max-width: 600px) {

  .qrmodal .modal-header{
    padding: 20px 20px;
  }

  .qrmodal .close-btn {
    font-size: 20px;
    right: 16px;
    top: 18px;
    width: 20px;
    height: 20px;
  }

  .qrmodal .content {
    padding: 10px 15px;
  }

  .qrmodal .content h2 {
    font-size: 17px;
  }

  .qrmodal .features {
    flex-direction: column;
    font-size: 16px;  
  }

  .qrmodal .features span {
      margin-bottom: 12px;
      font-size: 13.5px;
  }
}