/* Custom styles for Solana Unsigned Web Wallet */

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0b0e14;
}
::-webkit-scrollbar-thumb {
  background: #1e2638;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2a354d;
}

/* Tab Active Styles */
.tab-btn.active {
  color: #c084fc !important;
  border-bottom-color: #a855f7 !important;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.25s ease-out forwards;
}

/* Toast Animation */
@keyframes slideInUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.toast {
  animation: slideInUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* QR Code styling */
#qrcodeCanvasContainer img,
#qrcodeCanvasContainer canvas {
  margin: 0 auto;
  border-radius: 8px;
}

/* Monospace text rendering */
.font-mono {
  font-feature-settings: "tnum";
}

/* Glass effect highlight */
.glass-panel {
  background: rgba(18, 22, 32, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
