/* Custom styles that Tailwind doesn't cover */

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #C9962B;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #1E3A5F;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid #C9962B;
    outline-offset: 2px;
}

/* Prevent horizontal scroll on mobile */
body {
    overflow-x: hidden;
}
/* Line clamp - truncate text after N lines */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* HTMX loading indicator */
.htmx-indicator {
    opacity: 0;
    transition: opacity 200ms;
}
.htmx-request .htmx-indicator {
    opacity: 1;
}
.htmx-request.htmx-indicator {
    opacity: 1;
}