/* Mobile Overrides for Gemma Translate */

@media (max-width: 768px) {
    body {
        padding: 1rem !important;
    }

    .glass-panel {
        padding: 1.5rem !important;
        border-radius: 2rem !important;
    }

    h1 {
        font-size: 1.875rem !important; /* text-3xl */
    }

    .min-h-\[500px\] {
        min-h-0 !important;
    }

    /* Adjust language bar for mobile */
    .flex.items-center.gap-3.mb-8 {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    #sourceInput, #targetOutput {
        font-size: 1.25rem !important; /* text-xl */
    }

    /* Stack grid elements that might be too tight */
    .grid-cols-2 {
        grid-template-columns: 1fr !important;
    }

    /* Hide some decorative elements on mobile if they crowd the deck */
    .shimmer-line {
        display: none;
    }

    /* Review cards stacking */
    .md\:grid-cols-3 {
        grid-template-columns: 1fr !important;
    }

    /* Industry solutions grid */
    .lg\:grid-cols-4 {
        grid-template-columns: 1fr !important;
    }

    /* Newsletter stacking */
    .md\:flex-row {
        flex-direction: column !important;
        text-align: center;
    }

    .translate-y-10 {
        transform: translateY(0) !important;
        bottom: 1rem !important;
        right: 1rem !important;
        left: 1rem !important;
    }
}
