/* Utility Classes */
.flex { display: flex; }
.flex-1 { flex: 1; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.w-64 { width: 16rem; }
.w-full { width: 100%; }
.w-10 { width: 2.5rem; }
.h-screen { height: 100vh; }
.h-12 { height: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-md { border-radius: 0.375rem; }
.text-sm { font-size: 0.875rem; }
.font-semibold { font-weight: 600; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.overflow-y-auto { overflow-y: auto; }
.overflow-hidden { overflow: hidden; }

/* Hover Effects */
.hover\:bg-gray-100:hover {
    background-color: #f3f4f6;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animate__fadeIn {
    animation-name: fadeIn;
}

.animate__slideIn {
    animation-name: slideIn;
}

/* Responsive Design Utilities */
@media (max-width: 768px) {
    .md\:hidden {
        display: none;
    }
}

/* Highlighted Code Block */
.hljs {
    display: block;
    overflow-x: auto;
    padding: 0.5em;
    background: #f0f0f0;
}

/* Model Selector Option Icons */
#model-selector option[value="gpt-4o-mini"]::before {
    content: '\f lightning-bolt';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 0.5rem;
}

#model-selector option[value="gpt-4o"]::before {
    content: '\f0c1';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 0.5rem;
}

/* Additional Utility Classes */
.border-b { border-bottom: 1px solid var(--border-color); }
.bg-white { background-color: #ffffff; }
.text-white { color: #ffffff; }
.cursor-pointer { cursor: pointer; }
.resize-none { resize: none; }
.outline-none:focus { outline: none; }
.transition { transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform; }
.transition-colors { transition-property: background-color, border-color, color, fill, stroke; }
.duration-200 { transition-duration: 200ms; }
.ease-in-out { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }

/* Any remaining styles from the original CSS */
/* If there are any styles left that don't fit into the categories above, they would be placed here. */
/* However, it appears we've covered all the styles from the original CSS in our categorized files. */