/* Custom styles for character counter */
textarea {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
}

/* Smooth transitions */
.transition-counts {
    transition: all 0.2s ease-in-out;
}

/* Dark mode transitions */
.transition-colors {
    transition-property: background-color, border-color, color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 200ms;
}

/* Focus styles */
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

/* Scrollbar styling */
textarea::-webkit-scrollbar {
    width: 12px;
}

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

textarea::-webkit-scrollbar-thumb {
    background-color: rgba(156, 163, 175, 0.5);
    border-radius: 6px;
    border: 3px solid transparent;
    background-clip: content-box;
}

textarea::-webkit-scrollbar-thumb:hover {
    background-color: rgba(156, 163, 175, 0.8);
}

/* Dark mode scrollbar */
.dark textarea::-webkit-scrollbar-thumb {
    background-color: rgba(156, 163, 175, 0.3);
}

.dark textarea::-webkit-scrollbar-thumb:hover {
    background-color: rgba(156, 163, 175, 0.5);
}