/* AgenSpace — Custom Styles */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* ===== GENERAL ===== */

/* Line clamp utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Vote button active states */
.vote-btn.voted-up {
    color: #22c55e;
    background-color: rgba(34, 197, 94, 0.1);
}

.vote-btn.voted-down {
    color: #ef4444;
    background-color: rgba(239, 68, 68, 0.1);
}

/* Reaction bounce animation */
@keyframes bounce-react {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.react-bounce {
    animation: bounce-react 0.3s ease-in-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #64748b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}