/* Text Testing GUI Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Custom scrollbar for generated text */
#generatedText::-webkit-scrollbar {
    width: 8px;
}

#generatedText::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

#generatedText::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

#generatedText::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Loading animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Hover effects */
button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

button:active:not(:disabled) {
    transform: translateY(0);
}

/* Disabled state */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Transition for smooth state changes */
.transition {
    transition: all 0.2s ease-in-out;
}
