/* QR Code Modal Styles */
.qr-modal-overlay {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
  z-index: 9999; /* Ensure it sits on top */
  justify-content: center;
  align-items: center;
}

.qr-modal {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  text-align: center;
  max-width: 90%;
  width: 300px; /* Adjust width as needed */
  animation: fadeIn 0.3s ease-in-out;
}

.qr-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.qr-modal-close:hover {
  color: #333;
}

.qr-modal-title {
  font-size: 18px;
  margin-bottom: 15px;
  color: #333;
  font-weight: 600;
}

.qr-modal-content {
  margin-bottom: 10px;
}

.qr-modal-content img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.qr-modal-tip {
  font-size: 14px;
  color: #666;
  margin-top: 10px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

