/* Wallet Adapter Custom Styles */ /* Override wallet adapter button styles to use our design system */ .wallet-adapter-button-trigger .wallet-adapter-button { /* Remove all default styles */ all: unset; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; white-space: nowrap; border-radius: var(--radius); font-size: 0.875rem; font-weight: 500; transition: var(--transition-smooth); cursor: pointer; min-height: 2.5rem; padding: 0.5rem 1rem; /* Focus styles */ outline: none; ring-offset-color: hsl(var(--background)); } .wallet-adapter-button-trigger .wallet-adapter-button:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; } .wallet-adapter-button-trigger .wallet-adapter-button:disabled { pointer-events: none; opacity: 0.5; } /* Ensure wallet modal styles work with our theme */ .wallet-adapter-modal-wrapper { background-color: hsl(var(--background)); color: hsl(var(--foreground)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); } .wallet-adapter-modal-title { color: hsl(var(--foreground)); } .wallet-adapter-modal-list .wallet-adapter-modal-list-item { background-color: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); transition: var(--transition-smooth); } .wallet-adapter-modal-list .wallet-adapter-modal-list-item:hover { background-color: hsl(var(--accent)); border-color: hsl(var(--ring)); } .wallet-adapter-modal-list .wallet-adapter-modal-list-item .wallet-adapter-modal-list-item-name { color: hsl(var(--foreground)); } /* Force proper wallet detection to prioritize installed app over web */ .wallet-adapter-modal-list .wallet-adapter-modal-list-item[data-wallet-name="Phantom"] { order: -1; /* Place Phantom first if detected */ }