/* Custom Styles & Overrides for Dynamic QR Studio */
:root {
  --primary: #4f46e5;
  --primary-hover: #4338ca;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #0f172a;
  color: #f8fafc;
  min-height: 100vh;
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #1e293b;
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Glassmorphism card accents */
.glass-panel {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
  background: #1e293b;
  border: 1px solid #334155;
  transition: all 0.2s ease-in-out;
}

.glass-card:hover {
  border-color: #4f46e5;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
}

/* QR Code Preview Frame */
.qr-preview-box {
  background: radial-gradient(circle at center, #ffffff 0%, #f1f5f9 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 1px rgba(0, 0, 0, 0.1);
}

/* Toast Notification Animation */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  animation: slideIn 0.25s ease-out forwards;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
