/** * Numpad Component Styles * Additional styles not covered by TailwindCSS utility classes */ /* Touch optimization - prevent text selection and improve tap responsiveness */ .numpad-container button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; } /* Ensure touch-manipulation class works */ .touch-manipulation { touch-action: manipulation; } /* Prevent tap highlight on mobile devices */ .numpad-container button:active { -webkit-tap-highlight-color: transparent; } /* Improve button focus for accessibility */ .numpad-container button:focus-visible { outline: 2px solid var(--color-primary, #0D47A1); outline-offset: 2px; } /* Ensure consistent sizing on all devices */ .numpad-container { -webkit-tap-highlight-color: transparent; } /* Value display - ensure proper spacing and alignment */ .value-display { min-height: 60px; display: flex; align-items: center; justify-content: center; } /* Prevent zoom on double-tap for iOS Safari */ @media (max-width: 768px) { .numpad-container button { touch-action: manipulation; } } /* Dark mode adjustments for better contrast */ .dark .value-display { background-color: var(--bg-card, rgb(51, 65, 85)); border-color: var(--border-color, rgb(71, 85, 105)); }