/* Mobile-first responsive styles for SaaS Character Counter */

/* Tailwind CSS is used for most styling, but we add custom rules here */

@layer components {
    .shadow-glow {
        box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.25), 0 0 40px rgba(249, 115, 22, 0.18);
    }
}

/* Base styles */
body {
    -webkit-tap-highlight-color: transparent;
}

/* Custom scrollbar for textarea */
textarea::-webkit-scrollbar {
    width: 8px;
}

textarea::-webkit-scrollbar-track {
    background: transparent;
}

textarea::-webkit-scrollbar-thumb {
    background: rgba(249, 115, 22, 0.2);
    border-radius: 4px;
}

textarea::-webkit-scrollbar-thumb:hover {
    background: rgba(249, 115, 22, 0.3);
}

/* Grid layout adjustments for mobile */
@media (max-width: 640px) {
    #alphabetGrid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Transition for stats boxes */
.stats-box {
    transition: all 0.3s ease;
}

.stats-box:hover {
    transform: translateY(-2px);
    border-color: rgba(249, 115, 22, 0.5);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.1);
}
