/* assets/css/responsive.css */

/* Accessibility: Improved Focus Indicators */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

/* Base Mobile Adaptations */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }

    .input-controls {
        flex-direction: column;
    }

    /* Accessibility: Larger touch targets for mobile */
    .input-controls .btn, 
    input[type="text"] {
        width: 100%;
        min-height: 48px; 
    }

    section {
        padding: var(--spacing-lg) 0;
    }

    .theory-grid {
        grid-template-columns: 1fr;
    }

    /* Ensure DFA Table scrolls horizontally on very small screens */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}