/* ============================================
   Modern Mobile-First Makaton App Styles
   ============================================ */

/* CSS Variables for easy theming */
:root {
    --primary-color: #4A90E2;
    --primary-dark: #357ABD;
    --primary-light: #6BA3E8;
    --secondary-color: #50C878;
    --accent-color: #FF6B6B;
    --text-primary: #2C3E50;
    --text-secondary: #7F8C8D;
    --text-light: #BDC3C7;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-tertiary: #ECF0F1;
    --border-color: #E1E8ED;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--spacing-md) var(--spacing-sm);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

header h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.5px;
}

.header-subtitle {
    font-size: clamp(0.875rem, 3vw, 1rem);
    opacity: 0.95;
    font-weight: 400;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-sm);
}

.section-container {
    width: 100%;
}

section {
    margin-bottom: var(--spacing-xl);
}

h2 {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

/* Input Section */
.input-section {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.input-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.input-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.input-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

@media (min-width: 640px) {
    .input-wrapper {
        flex-direction: row;
        gap: var(--spacing-sm);
    }
}

input[type="text"] {
    flex: 1;
    padding: var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-primary);
    min-height: 52px;
}

input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

input[type="text"]::placeholder {
    color: var(--text-light);
}

.submit-button {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #45B869 100%);
    color: white;
    padding: var(--spacing-md) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    min-height: 52px;
    box-shadow: var(--shadow-sm);
    touch-action: manipulation;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.submit-button:active {
    transform: translateY(0);
}

.button-icon {
    font-size: 1.25rem;
}

/* Quick Access Buttons */
.quick-access {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--border-color);
}

.quick-access h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    font-weight: 600;
}

.quick-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: var(--spacing-sm);
}

@media (max-width: 480px) {
    .quick-buttons {
        grid-template-columns: repeat(3, 1fr);
    }
}

.quick-btn {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    touch-action: manipulation;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.quick-btn:hover,
.quick-btn:focus {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.quick-btn:active {
    transform: translateY(0);
}

/* Symbol Display Section */
.display-section {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.symbol-display {
    min-height: 200px;
    padding: var(--spacing-md);
}

.empty-state {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--text-secondary);
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.5;
}

.empty-state p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Loading Indicator Styles */
.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
    gap: var(--spacing-md);
    color: var(--text-secondary);
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-indicator p {
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Error Message Styles */
.error-message {
    background: #FFF3CD;
    border: 2px solid #FFC107;
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    color: #856404;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    animation: slideDown 0.3s ease-out;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.error-message .error-close {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: opacity 0.2s;
}

.error-message .error-close:hover {
    opacity: 1;
}

.error-message .error-close:focus {
    outline: 2px solid currentColor;
    outline-offset: 2px;
    border-radius: 4px;
}

.error-message::before {
    content: "⚠️";
    font-size: 1.5rem;
    flex-shrink: 0;
}

.error-message.error-critical {
    background: #F8D7DA;
    border-color: #DC3545;
    color: #721C24;
}

.error-message.error-critical::before {
    content: "❌";
}

.error-message.error-info {
    background: #D1ECF1;
    border-color: #17A2B8;
    color: #0C5460;
}

.error-message.error-info::before {
    content: "ℹ️";
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Symbol Cards */
.symbols-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: center;
    align-items: flex-start;
}

.symbol-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    max-width: 100%;
    width: 100%;
}

@media (min-width: 640px) {
    .symbol-card {
        max-width: calc(50% - var(--spacing-md));
    }
}

@media (min-width: 1024px) {
    .symbol-card {
        max-width: calc(33.333% - var(--spacing-md));
    }
}

.symbol-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.symbol-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-sm);
}

.symbol-image,
.gesture-image {
    width: 100%;
    max-width: 150px;
    height: auto;
    aspect-ratio: 1;
    margin: 0 auto;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: var(--spacing-sm);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* When both symbol and gesture images are present */
.symbol-card.has-gesture {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.symbol-card.has-gesture .symbol-image,
.symbol-card.has-gesture .gesture-image {
    max-width: 120px;
    flex: 0 0 auto;
}

.symbol-card.has-gesture .symbol-info {
    flex: 1 1 100%;
    text-align: center;
}

.symbol-image svg,
.gesture-image svg {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.symbol-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
}

.symbol-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

/* TTS Button */
.tts-button {
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    touch-action: manipulation;
}

.tts-button:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.tts-button:active {
    transform: scale(0.95);
}

.tts-button.speaking {
    background: var(--secondary-color);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.tts-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.sign-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.5;
    margin-top: var(--spacing-xs);
}

.single-symbol .symbol-card {
    max-width: 500px;
    margin: 0 auto;
}

.single-symbol .symbol-image,
.single-symbol .gesture-image {
    max-width: 180px;
}

.single-symbol .symbol-card.has-gesture {
    flex-direction: row;
    justify-content: center;
    gap: var(--spacing-md);
}

.single-symbol .symbol-card.has-gesture .symbol-image,
.single-symbol .symbol-card.has-gesture .gesture-image {
    max-width: 150px;
}

.translated-text {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
}

.no-symbols {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    padding: var(--spacing-xl);
    font-size: 1rem;
}

/* Categories Section */
.categories-section {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.categories-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.category-section {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    border: 2px solid transparent;
}

.category-section:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.category-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--spacing-md) var(--spacing-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    transition: var(--transition);
    user-select: none;
    touch-action: manipulation;
    font-weight: 600;
    font-size: 1.125rem;
}

.category-header:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateX(4px);
}

.category-header:active {
    transform: translateX(2px);
}

.category-header .category-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.category-header .category-title {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.category-header .category-count {
    background: rgba(255, 255, 255, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
}

.category-header .category-toggle {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.category-section.expanded .category-toggle {
    transform: rotate(180deg);
}

.category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 var(--spacing-lg);
}

.category-section.expanded .category-content {
    max-height: 2000px;
    padding: var(--spacing-lg);
}

.category-section h3 {
    display: none; /* Hidden, using header instead */
}

.category-symbols {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: var(--spacing-sm);
}

@media (max-width: 480px) {
    .category-symbols {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
}

.mini-symbol-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: var(--spacing-sm);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    touch-action: manipulation;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
}

.mini-symbol-card:hover,
.mini-symbol-card:focus {
    background: var(--primary-light);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.mini-symbol-card:active {
    transform: translateY(0);
}

.mini-symbol {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: white;
    padding: var(--spacing-xs);
}

.mini-symbol svg {
    width: 100%;
    height: 100%;
}

.mini-symbol-card span {
    font-size: 0.75rem;
    color: var(--text-primary);
    font-weight: 500;
    word-break: break-word;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    color: white;
    padding: var(--spacing-lg) var(--spacing-sm);
    margin-top: var(--spacing-xl);
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

footer p {
    margin-bottom: var(--spacing-sm);
    font-size: 0.875rem;
    line-height: 1.6;
}

footer a {
    color: #81D4FA;
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    text-decoration: underline;
    color: #B3E5FC;
}

.footer-heart {
    margin-top: var(--spacing-md);
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Gesture Interpreter Section */
.gesture-section {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-xl);
    position: sticky;
    top: 80px;
    z-index: 50;
    margin-top: var(--spacing-lg);
}

.gesture-interpreter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
}

.gesture-avatar-container {
    width: 100%;
    max-width: 300px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.gesture-avatar {
    width: 100%;
    height: auto;
    max-width: 200px;
    max-height: 300px;
}

.avatar-part {
    transition: transform 0.3s ease, x 0.3s ease, y 0.3s ease;
    transform-origin: center;
}

.gesture-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    width: 100%;
}

.gesture-word-display {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    min-height: 2rem;
    padding: var(--spacing-sm);
}

.gesture-play-btn,
.gesture-stop-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    touch-action: manipulation;
    min-width: 180px;
    justify-content: center;
}

.gesture-play-btn:hover,
.gesture-stop-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.gesture-play-btn:active,
.gesture-stop-btn:active {
    transform: translateY(0);
}

.gesture-play-btn.playing {
    background: var(--secondary-color);
}

.gesture-stop-btn {
    background: var(--accent-color);
}

.gesture-stop-btn:hover {
    background: #FF5252;
}

.play-icon,
.stop-icon {
    font-size: 1.25rem;
}

/* Gesture Animation Keyframes */
@keyframes wave {
    0%, 100% { 
        transform: rotate(0deg) translateX(0);
        transform-origin: 60px 130px;
    }
    25% { 
        transform: rotate(-25deg) translateX(-5px);
        transform-origin: 60px 130px;
    }
    75% { 
        transform: rotate(25deg) translateX(5px);
        transform-origin: 60px 130px;
    }
}

@keyframes nod {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
        transform-origin: center;
    }
    50% { 
        transform: translateY(15px) rotate(5deg);
        transform-origin: center;
    }
}

@keyframes circular {
    0% { 
        transform: rotate(0deg);
        transform-origin: 100px 150px;
    }
    100% { 
        transform: rotate(360deg);
        transform-origin: 100px 150px;
    }
}

@keyframes tap {
    0%, 100% { 
        transform: translateY(0) scale(1);
    }
    50% { 
        transform: translateY(-8px) scale(1.1);
    }
}

@keyframes forward {
    0% { 
        transform: translateX(0) translateY(0) rotate(0deg);
        transform-origin: 140px 130px;
    }
    50% { 
        transform: translateX(15px) translateY(15px) rotate(10deg);
        transform-origin: 140px 130px;
    }
    100% { 
        transform: translateX(0) translateY(0) rotate(0deg);
        transform-origin: 140px 130px;
    }
}

@keyframes lift {
    0% { 
        transform: translateY(0) rotate(0deg);
        transform-origin: 60px 130px;
    }
    100% { 
        transform: translateY(-25px) rotate(-10deg);
        transform-origin: 60px 130px;
    }
}

@keyframes shake {
    0%, 100% { 
        transform: translateX(0);
    }
    25% { 
        transform: translateX(-15px);
    }
    75% { 
        transform: translateX(15px);
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.back-to-top:active {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .gesture-avatar-container {
        min-height: 300px;
        padding: var(--spacing-md);
    }
    
    .gesture-avatar {
        max-width: 150px;
        max-height: 225px;
    }
    
    .gesture-word-display {
        font-size: 1.25rem;
    }
    
    .gesture-section {
        position: relative;
        top: 0;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 640px) {
    main {
        padding: var(--spacing-md) var(--spacing-sm);
    }
    
    .input-section,
    .display-section,
    .categories-section {
        padding: var(--spacing-md);
    }
    
    header {
        padding: var(--spacing-sm);
    }
    
    section {
        margin-bottom: var(--spacing-lg);
    }
    
    .symbol-card {
        padding: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
    }
    
    input[type="text"],
    .submit-button {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .symbol-image,
    .gesture-image {
        max-width: 120px;
    }
    
    /* Stack gesture images vertically on very small screens */
    .symbol-card.has-gesture {
        flex-direction: column;
    }
    
    .symbol-card.has-gesture .symbol-image,
    .symbol-card.has-gesture .gesture-image {
        max-width: 140px;
    }
    
    .single-symbol .symbol-card.has-gesture {
        flex-direction: column;
    }
    
    .tts-button {
        width: 44px;
        height: 44px;
    }
    
    .tts-icon {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .quick-access,
    .input-section {
        display: none;
    }
    
    .symbol-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    body {
        background: white;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

button:focus-visible,
.quick-btn:focus-visible,
.mini-symbol-card:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}
