body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 10px;
    border: 2px solid #f1f5f9;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

.comment-card {
    transition: background-color 0.5s ease-in-out, transform 0.3s ease-in-out;
}

.comment-card-replied {
    background-color: #f8fafc; /* bg-slate-50 */
}

.reply-container {
    opacity: 0;
    max-height: 0;
    transition: opacity 0.5s ease-in-out, max-height 0.5s ease-in-out, margin-top 0.5s ease-in-out;
}

.reply-container-visible {
    opacity: 1;
    max-height: 500px; /* Large enough for replies */
}


#log-section.expanded {
    max-height: 50vh; /* or a specific px value */
    opacity: 1;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}


/* Toast Notification */
.toast {
    opacity: 0;
    transform: translateY(20px);
    animation: toast-in 0.5s forwards;
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes toast-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}
