/* QR Modal Styles */

.qr-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  animation: modalFadeIn 0.2s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.qr-modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  max-width: 350px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: modalSlideIn 0.2s ease-out;
}

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

.qr-modal-content h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--text);
}

.qr-code {
  margin: 1rem 0;
  display: flex;
  justify-content: center;
}

.qr-code img {
  border-radius: 0.5rem;
  background: white;
  padding: 0.75rem;
}

.qr-url {
  margin: 1rem 0;
}

.qr-url input {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background: var(--bg-input);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  text-align: center;
}

.qr-url input:focus {
  outline: none;
  border-color: var(--accent);
}

.qr-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.qr-actions button {
  flex: 1;
  min-width: 80px;
  font-size: 0.9rem;
}
